Skip to content

Commit

Permalink
feat(gkehub): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Jan 24, 2023
1 parent cd27a7f commit 05271e0
Show file tree
Hide file tree
Showing 8 changed files with 246 additions and 16 deletions.
72 changes: 68 additions & 4 deletions docs/dyn/gkehub_v1alpha.projects.locations.features.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,16 @@ <h3>Method Details</h3>
],
},
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
&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.
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
&quot;A String&quot;,
],
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
},
},
},
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
Expand Down Expand Up @@ -442,7 +452,13 @@ <h3>Method Details</h3>
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
},
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
&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;
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
},
},
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
Expand Down Expand Up @@ -786,6 +802,16 @@ <h3>Method Details</h3>
],
},
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
&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.
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
&quot;A String&quot;,
],
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
},
},
},
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
Expand Down Expand Up @@ -986,7 +1012,13 @@ <h3>Method Details</h3>
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
},
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
&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;
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
},
},
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
Expand Down Expand Up @@ -1318,6 +1350,16 @@ <h3>Method Details</h3>
],
},
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
&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.
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
&quot;A String&quot;,
],
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
},
},
},
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
Expand Down Expand Up @@ -1518,7 +1560,13 @@ <h3>Method Details</h3>
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
},
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
&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;
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
},
},
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
Expand Down Expand Up @@ -1806,6 +1854,16 @@ <h3>Method Details</h3>
],
},
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
&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.
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
&quot;A String&quot;,
],
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
},
},
},
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
Expand Down Expand Up @@ -2006,7 +2064,13 @@ <h3>Method Details</h3>
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
},
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
&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;
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
},
},
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
Expand Down

0 comments on commit 05271e0

Please sign in to comment.