Skip to content

Commit 7f9103e

Browse files
feat(gkehub): update the api
#### gkehub:v1 The following keys were added: - schemas.EdgeCluster (Total Keys: 3) - schemas.MembershipEndpoint.properties.edgeCluster.$ref (Total Keys: 1) - schemas.MembershipFeatureState.properties.policycontroller.$ref (Total Keys: 1) - schemas.PolicyControllerMembershipSpec (Total Keys: 4) - schemas.PolicyControllerMembershipState (Total Keys: 6) - schemas.PolicyControllerPolicyControllerHubConfig (Total Keys: 10) - schemas.PolicyControllerPolicyControllerHubState (Total Keys: 5) - schemas.PolicyControllerPolicyControllerHubVersion (Total Keys: 3) - schemas.PolicyControllerTemplateLibraryConfig (Total Keys: 3) #### gkehub:v1alpha The following keys were added: - schemas.CloudBuildMembershipSpec (Total Keys: 4) - schemas.CommonFeatureSpec.properties.workloadcertificate.$ref (Total Keys: 1) - schemas.EdgeCluster (Total Keys: 3) - schemas.FeatureSpec (Total Keys: 4) - schemas.MembershipEndpoint.properties.edgeCluster.$ref (Total Keys: 1) - schemas.MembershipFeatureSpec.properties.cloudbuild.$ref (Total Keys: 1) - schemas.MembershipFeatureSpec.properties.policycontroller.$ref (Total Keys: 1) - schemas.MembershipFeatureSpec.properties.workloadcertificate.$ref (Total Keys: 1) - schemas.MembershipFeatureState.properties.policycontroller.$ref (Total Keys: 1) - schemas.MembershipSpec (Total Keys: 3) - schemas.PolicycontrollerMembershipSpec (Total Keys: 4) - schemas.PolicycontrollerMembershipState (Total Keys: 6) - schemas.PolicycontrollerPolicyControllerHubConfig (Total Keys: 11) - schemas.PolicycontrollerPolicyControllerHubState (Total Keys: 5) - schemas.PolicycontrollerPolicyControllerHubVersion (Total Keys: 3) - schemas.PolicycontrollerTemplateLibraryConfig (Total Keys: 3) - schemas.ServiceMeshControlPlaneManagement (Total Keys: 5) - schemas.ServiceMeshMembershipSpec.properties.controlPlane.type (Total Keys: 1) - schemas.ServiceMeshMembershipState.properties.controlPlaneManagement (Total Keys: 2) - schemas.ServiceMeshStatusDetails (Total Keys: 4) #### gkehub:v1alpha2 The following keys were added: - schemas.EdgeCluster (Total Keys: 3) - schemas.MembershipEndpoint.properties.edgeCluster.$ref (Total Keys: 1) #### gkehub:v1beta The following keys were added: - schemas.AnthosObservabilityMembershipSpec (Total Keys: 4) - schemas.MembershipFeatureSpec.properties.anthosobservability.$ref (Total Keys: 1) - schemas.MembershipFeatureSpec.properties.cloudbuild.$ref (Total Keys: 1) - schemas.MembershipFeatureState.properties.policycontroller.$ref (Total Keys: 1) - schemas.MembershipSpec (Total Keys: 4) - schemas.PolicyControllerMembershipSpec (Total Keys: 4) - schemas.PolicyControllerMembershipState (Total Keys: 6) - schemas.PolicyControllerPolicyControllerHubConfig (Total Keys: 10) - schemas.PolicyControllerPolicyControllerHubState (Total Keys: 5) - schemas.PolicyControllerPolicyControllerHubVersion (Total Keys: 3) - schemas.PolicyControllerTemplateLibraryConfig (Total Keys: 3) #### gkehub:v1beta1 The following keys were added: - schemas.EdgeCluster (Total Keys: 3) - schemas.MembershipEndpoint.properties.edgeCluster.$ref (Total Keys: 1)
1 parent 1dbe4d1 commit 7f9103e

12 files changed

+1326
-6
lines changed

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

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,33 @@ <h3>Method Details</h3>
280280
},
281281
},
282282
},
283+
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
284+
&quot;clusterName&quot;: &quot;A String&quot;, # The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership&#x27;s membership_name, unless the user installed PC on the cluster manually prior to enabling the PC hub feature. Unique within a Policy Controller installation.
285+
&quot;membershipSpec&quot;: { # **Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR. # Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
286+
&quot;policyControllerHubConfig&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
287+
&quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
288+
&quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
289+
&quot;A String&quot;,
290+
],
291+
&quot;installSpec&quot;: &quot;A String&quot;, # The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
292+
&quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
293+
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
294+
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
295+
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
296+
},
297+
},
298+
&quot;version&quot;: &quot;A String&quot;, # Version of Policy Controller installed.
299+
},
300+
&quot;policyControllerHubState&quot;: { # State of the Policy Controller. # Policy Controller state observed by the Policy Controller Hub
301+
&quot;deploymentStates&quot;: { # Map from deployment name to deployment state. Example deployments are gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-mutation.
302+
&quot;a_key&quot;: &quot;A String&quot;,
303+
},
304+
&quot;version&quot;: { # The build version of Gatekeeper that Policy Controller is using. # The version of Gatekeeper Policy Controller deployed.
305+
&quot;version&quot;: &quot;A String&quot;, # The gatekeeper image tag that is composed of ACM version, git tag, build number.
306+
},
307+
},
308+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state Policy Controller is in.
309+
},
283310
&quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # The high-level state of this Feature for a single membership.
284311
&quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
285312
&quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
@@ -557,6 +584,33 @@ <h3>Method Details</h3>
557584
},
558585
},
559586
},
587+
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
588+
&quot;clusterName&quot;: &quot;A String&quot;, # The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership&#x27;s membership_name, unless the user installed PC on the cluster manually prior to enabling the PC hub feature. Unique within a Policy Controller installation.
589+
&quot;membershipSpec&quot;: { # **Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR. # Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
590+
&quot;policyControllerHubConfig&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
591+
&quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
592+
&quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
593+
&quot;A String&quot;,
594+
],
595+
&quot;installSpec&quot;: &quot;A String&quot;, # The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
596+
&quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
597+
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
598+
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
599+
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
600+
},
601+
},
602+
&quot;version&quot;: &quot;A String&quot;, # Version of Policy Controller installed.
603+
},
604+
&quot;policyControllerHubState&quot;: { # State of the Policy Controller. # Policy Controller state observed by the Policy Controller Hub
605+
&quot;deploymentStates&quot;: { # Map from deployment name to deployment state. Example deployments are gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-mutation.
606+
&quot;a_key&quot;: &quot;A String&quot;,
607+
},
608+
&quot;version&quot;: { # The build version of Gatekeeper that Policy Controller is using. # The version of Gatekeeper Policy Controller deployed.
609+
&quot;version&quot;: &quot;A String&quot;, # The gatekeeper image tag that is composed of ACM version, git tag, build number.
610+
},
611+
},
612+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state Policy Controller is in.
613+
},
560614
&quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # The high-level state of this Feature for a single membership.
561615
&quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
562616
&quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
@@ -822,6 +876,33 @@ <h3>Method Details</h3>
822876
},
823877
},
824878
},
879+
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
880+
&quot;clusterName&quot;: &quot;A String&quot;, # The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership&#x27;s membership_name, unless the user installed PC on the cluster manually prior to enabling the PC hub feature. Unique within a Policy Controller installation.
881+
&quot;membershipSpec&quot;: { # **Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR. # Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
882+
&quot;policyControllerHubConfig&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
883+
&quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
884+
&quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
885+
&quot;A String&quot;,
886+
],
887+
&quot;installSpec&quot;: &quot;A String&quot;, # The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
888+
&quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
889+
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
890+
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
891+
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
892+
},
893+
},
894+
&quot;version&quot;: &quot;A String&quot;, # Version of Policy Controller installed.
895+
},
896+
&quot;policyControllerHubState&quot;: { # State of the Policy Controller. # Policy Controller state observed by the Policy Controller Hub
897+
&quot;deploymentStates&quot;: { # Map from deployment name to deployment state. Example deployments are gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-mutation.
898+
&quot;a_key&quot;: &quot;A String&quot;,
899+
},
900+
&quot;version&quot;: { # The build version of Gatekeeper that Policy Controller is using. # The version of Gatekeeper Policy Controller deployed.
901+
&quot;version&quot;: &quot;A String&quot;, # The gatekeeper image tag that is composed of ACM version, git tag, build number.
902+
},
903+
},
904+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state Policy Controller is in.
905+
},
825906
&quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # The high-level state of this Feature for a single membership.
826907
&quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
827908
&quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
@@ -1043,6 +1124,33 @@ <h3>Method Details</h3>
10431124
},
10441125
},
10451126
},
1127+
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
1128+
&quot;clusterName&quot;: &quot;A String&quot;, # The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership&#x27;s membership_name, unless the user installed PC on the cluster manually prior to enabling the PC hub feature. Unique within a Policy Controller installation.
1129+
&quot;membershipSpec&quot;: { # **Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR. # Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
1130+
&quot;policyControllerHubConfig&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
1131+
&quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
1132+
&quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
1133+
&quot;A String&quot;,
1134+
],
1135+
&quot;installSpec&quot;: &quot;A String&quot;, # The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
1136+
&quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
1137+
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
1138+
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
1139+
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
1140+
},
1141+
},
1142+
&quot;version&quot;: &quot;A String&quot;, # Version of Policy Controller installed.
1143+
},
1144+
&quot;policyControllerHubState&quot;: { # State of the Policy Controller. # Policy Controller state observed by the Policy Controller Hub
1145+
&quot;deploymentStates&quot;: { # Map from deployment name to deployment state. Example deployments are gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-mutation.
1146+
&quot;a_key&quot;: &quot;A String&quot;,
1147+
},
1148+
&quot;version&quot;: { # The build version of Gatekeeper that Policy Controller is using. # The version of Gatekeeper Policy Controller deployed.
1149+
&quot;version&quot;: &quot;A String&quot;, # The gatekeeper image tag that is composed of ACM version, git tag, build number.
1150+
},
1151+
},
1152+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state Policy Controller is in.
1153+
},
10461154
&quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # The high-level state of this Feature for a single membership.
10471155
&quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
10481156
&quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.

0 commit comments

Comments
 (0)