Skip to content

Commit 05271e0

Browse files
feat(gkehub): update the api
#### gkehub:v1alpha The following keys were added: - schemas.PolicyControllerBundleInstallSpec (Total Keys: 5) - schemas.PolicyControllerHubConfig.properties.policyContent.$ref (Total Keys: 1) - schemas.PolicyControllerMembershipState.properties.contentStates (Total Keys: 2) - schemas.PolicyControllerPolicyContentSpec (Total Keys: 4) #### gkehub:v1beta The following keys were added: - schemas.PolicyControllerBundleInstallSpec (Total Keys: 5) - schemas.PolicyControllerHubConfig.properties.policyContent.$ref (Total Keys: 1) - schemas.PolicyControllerMembershipState.properties.contentStates (Total Keys: 2) - schemas.PolicyControllerPolicyContentSpec (Total Keys: 4)
1 parent cd27a7f commit 05271e0

File tree

8 files changed

+246
-16
lines changed

8 files changed

+246
-16
lines changed

docs/dyn/gkehub_v1alpha.projects.locations.features.html

Lines changed: 68 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,16 @@ <h3>Method Details</h3>
242242
],
243243
},
244244
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
245+
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
246+
&quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
247+
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
248+
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
249+
&quot;A String&quot;,
250+
],
251+
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
252+
},
253+
},
254+
},
245255
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
246256
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
247257
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
@@ -442,7 +452,13 @@ <h3>Method Details</h3>
442452
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
443453
},
444454
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
445-
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot; 4. &quot;constraint template library&quot;
455+
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
456+
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
457+
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
458+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
459+
},
460+
},
461+
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
446462
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
447463
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
448464
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
@@ -786,6 +802,16 @@ <h3>Method Details</h3>
786802
],
787803
},
788804
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
805+
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
806+
&quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
807+
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
808+
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
809+
&quot;A String&quot;,
810+
],
811+
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
812+
},
813+
},
814+
},
789815
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
790816
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
791817
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
@@ -986,7 +1012,13 @@ <h3>Method Details</h3>
9861012
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
9871013
},
9881014
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
989-
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot; 4. &quot;constraint template library&quot;
1015+
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
1016+
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
1017+
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
1018+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
1019+
},
1020+
},
1021+
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
9901022
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
9911023
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
9921024
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
@@ -1318,6 +1350,16 @@ <h3>Method Details</h3>
13181350
],
13191351
},
13201352
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
1353+
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
1354+
&quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
1355+
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
1356+
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
1357+
&quot;A String&quot;,
1358+
],
1359+
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
1360+
},
1361+
},
1362+
},
13211363
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
13221364
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
13231365
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
@@ -1518,7 +1560,13 @@ <h3>Method Details</h3>
15181560
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
15191561
},
15201562
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
1521-
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot; 4. &quot;constraint template library&quot;
1563+
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
1564+
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
1565+
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
1566+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
1567+
},
1568+
},
1569+
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
15221570
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
15231571
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
15241572
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
@@ -1806,6 +1854,16 @@ <h3>Method Details</h3>
18061854
],
18071855
},
18081856
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
1857+
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
1858+
&quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
1859+
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
1860+
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
1861+
&quot;A String&quot;,
1862+
],
1863+
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
1864+
},
1865+
},
1866+
},
18091867
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
18101868
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
18111869
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
@@ -2006,7 +2064,13 @@ <h3>Method Details</h3>
20062064
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
20072065
},
20082066
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
2009-
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot; 4. &quot;constraint template library&quot;
2067+
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
2068+
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
2069+
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
2070+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
2071+
},
2072+
},
2073+
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
20102074
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
20112075
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
20122076
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.

0 commit comments

Comments
 (0)