Skip to content

Commit 043ccf1

Browse files
authored
Merge pull request #107 from vmware/feature/image-policy
Image Policy Resource Implementation
2 parents 9d9d2df + 53d4e12 commit 043ccf1

File tree

74 files changed

+4125
-378
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+4125
-378
lines changed

docs/resources/custom_policy.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ For more information, see [Creating Customized Policies][create-customized-polic
1616

1717
In the Tanzu Mission Control custom policy resource, there are six system defined types of custom templates that you can use:
1818
- **tmc-block-nodeport-service**
19-
- **tmc_block_resources**
20-
- **tmc_block_rolebinding_subjects**
21-
- **tmc_external_ips**
22-
- **tmc_https_ingress**
23-
- **tmc_require_labels**
19+
- **tmc-block-resources**
20+
- **tmc-block-rolebinding-subjects**
21+
- **tmc-external-ips**
22+
- **tmc-https-ingress**
23+
- **tmc-require-labels**
2424

2525
## Policy Scope and Inheritance
2626

@@ -760,7 +760,7 @@ resource "tanzu-mission-control_custom_policy" "organization_scoped_tmc-block-no
760760
761761
scope {
762762
organization {
763-
organization = "tf-create-test"
763+
organization = "dummy-id"
764764
}
765765
}
766766
@@ -813,7 +813,7 @@ resource "tanzu-mission-control_custom_policy" "organization_scoped_tmc-block-re
813813
814814
scope {
815815
organization {
816-
organization = "tf-create-test"
816+
organization = "dummy-id"
817817
}
818818
}
819819
@@ -866,7 +866,7 @@ resource "tanzu-mission-control_custom_policy" "organization_scoped_tmc-block-ro
866866
867867
scope {
868868
organization {
869-
organization = "tf-create-test"
869+
organization = "dummy-id"
870870
}
871871
}
872872
@@ -925,7 +925,7 @@ resource "tanzu-mission-control_custom_policy" "organization_scoped_tmc-external
925925
926926
scope {
927927
organization {
928-
organization = "tf-create-test"
928+
organization = "dummy-id"
929929
}
930930
}
931931
@@ -983,7 +983,7 @@ resource "tanzu-mission-control_custom_policy" "organization_scoped_tmc-https-in
983983
984984
scope {
985985
organization {
986-
organization = "tf-create-test"
986+
organization = "dummy-id"
987987
}
988988
}
989989
@@ -1036,7 +1036,7 @@ resource "tanzu-mission-control_custom_policy" "organization_scoped_tmc-require-
10361036
10371037
scope {
10381038
organization {
1039-
organization = "tf-create-test"
1039+
organization = "dummy-id"
10401040
}
10411041
}
10421042
@@ -1086,7 +1086,7 @@ resource "tanzu-mission-control_custom_policy" "organization_scoped_tmc-require-
10861086
### Required
10871087

10881088
- `name` (String) Name of the custom policy
1089-
- `scope` (Block List, Min: 1, Max: 1) Scope for the security and custom policy, having one of the valid scopes: cluster, cluster_group or organization. (see [below for nested schema](#nestedblock--scope))
1089+
- `scope` (Block List, Min: 1, Max: 1) Scope for the custom, security and image policy, having one of the valid scopes for custom and security policy: cluster, cluster_group or organization and valid scopes for image policy: workspace or organization. (see [below for nested schema](#nestedblock--scope))
10901090
- `spec` (Block List, Min: 1, Max: 1) Spec for the custom policy (see [below for nested schema](#nestedblock--spec))
10911091

10921092
### Optional

0 commit comments

Comments
 (0)