Skip to content

Commit 39714bc

Browse files
feat(gkehub): update the api
#### gkehub:v1 The following keys were added: - schemas.CommonFeatureSpec.properties.rbacrolebindingactuation.$ref (Total Keys: 1) - schemas.CommonFeatureState.properties.rbacrolebindingactuation.$ref (Total Keys: 1) - schemas.RBACRoleBindingActuationFeatureSpec (Total Keys: 4) - schemas.RBACRoleBindingActuationFeatureState (Total Keys: 2) - schemas.Role.properties.customRole.type (Total Keys: 1) #### gkehub:v1alpha The following keys were added: - schemas.CommonFeatureSpec.properties.rbacrolebindingactuation.$ref (Total Keys: 1) - schemas.CommonFeatureState.properties.rbacrolebindingactuation.$ref (Total Keys: 1) - schemas.RBACRoleBindingActuationFeatureSpec (Total Keys: 4) - schemas.RBACRoleBindingActuationFeatureState (Total Keys: 2) - schemas.Role.properties.customRole.type (Total Keys: 1) #### gkehub:v1beta The following keys were added: - schemas.CommonFeatureSpec.properties.rbacrolebindingactuation.$ref (Total Keys: 1) - schemas.CommonFeatureState.properties.rbacrolebindingactuation.$ref (Total Keys: 1) - schemas.RBACRoleBindingActuationFeatureSpec (Total Keys: 4) - schemas.RBACRoleBindingActuationFeatureState (Total Keys: 2) - schemas.Role.properties.customRole.type (Total Keys: 1) #### gkehub:v2 The following keys were added: - schemas.FeatureSpec.properties.rbacrolebindingactuation.$ref (Total Keys: 1) - schemas.FeatureState.properties.rbacrolebindingactuation.$ref (Total Keys: 1) - schemas.RBACRoleBindingActuationRBACRoleBindingState (Total Keys: 6) - schemas.RBACRoleBindingActuationSpec (Total Keys: 2) - schemas.RBACRoleBindingActuationState (Total Keys: 5) #### gkehub:v2alpha The following keys were added: - schemas.FeatureSpec.properties.rbacrolebindingactuation.$ref (Total Keys: 1) - schemas.FeatureState.properties.rbacrolebindingactuation.$ref (Total Keys: 1) - schemas.RBACRoleBindingActuationRBACRoleBindingState (Total Keys: 6) - schemas.RBACRoleBindingActuationSpec (Total Keys: 2) - schemas.RBACRoleBindingActuationState (Total Keys: 5) #### gkehub:v2beta The following keys were added: - schemas.FeatureSpec.properties.rbacrolebindingactuation.$ref (Total Keys: 1) - schemas.FeatureState.properties.rbacrolebindingactuation.$ref (Total Keys: 1) - schemas.RBACRoleBindingActuationRBACRoleBindingState (Total Keys: 6) - schemas.RBACRoleBindingActuationSpec (Total Keys: 2) - schemas.RBACRoleBindingActuationState (Total Keys: 5)
1 parent 01ed910 commit 39714bc

26 files changed

+551
-32
lines changed

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,11 @@ <h3>Method Details</h3>
948948
&quot;multiclusteringress&quot;: { # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. # Multicluster Ingress-specific spec.
949949
&quot;configMembership&quot;: &quot;A String&quot;, # Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`
950950
},
951+
&quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: The Hub-wide input for the RBACRoleBindingActuation feature. # RBAC Role Binding Actuation feature spec
952+
&quot;allowedCustomRoles&quot;: [ # The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.
953+
&quot;A String&quot;,
954+
],
955+
},
951956
},
952957
&quot;state&quot;: { # CommonFeatureState contains Fleet-wide Feature status information. # Output only. The Fleet-wide Feature state.
953958
&quot;appdevexperience&quot;: { # State for App Dev Exp Feature. # Appdevexperience specific state.
@@ -1026,6 +1031,8 @@ <h3>Method Details</h3>
10261031
},
10271032
},
10281033
},
1034+
&quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: An empty state left as an example Hub-wide Feature state. # RBAC Role Binding Actuation feature state
1035+
},
10291036
&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. # Output only. The &quot;running state&quot; of the Feature in this Fleet.
10301037
&quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
10311038
&quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
@@ -1950,6 +1957,11 @@ <h3>Method Details</h3>
19501957
&quot;multiclusteringress&quot;: { # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. # Multicluster Ingress-specific spec.
19511958
&quot;configMembership&quot;: &quot;A String&quot;, # Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`
19521959
},
1960+
&quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: The Hub-wide input for the RBACRoleBindingActuation feature. # RBAC Role Binding Actuation feature spec
1961+
&quot;allowedCustomRoles&quot;: [ # The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.
1962+
&quot;A String&quot;,
1963+
],
1964+
},
19531965
},
19541966
&quot;state&quot;: { # CommonFeatureState contains Fleet-wide Feature status information. # Output only. The Fleet-wide Feature state.
19551967
&quot;appdevexperience&quot;: { # State for App Dev Exp Feature. # Appdevexperience specific state.
@@ -2028,6 +2040,8 @@ <h3>Method Details</h3>
20282040
},
20292041
},
20302042
},
2043+
&quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: An empty state left as an example Hub-wide Feature state. # RBAC Role Binding Actuation feature state
2044+
},
20312045
&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. # Output only. The &quot;running state&quot; of the Feature in this Fleet.
20322046
&quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
20332047
&quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
@@ -2940,6 +2954,11 @@ <h3>Method Details</h3>
29402954
&quot;multiclusteringress&quot;: { # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. # Multicluster Ingress-specific spec.
29412955
&quot;configMembership&quot;: &quot;A String&quot;, # Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`
29422956
},
2957+
&quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: The Hub-wide input for the RBACRoleBindingActuation feature. # RBAC Role Binding Actuation feature spec
2958+
&quot;allowedCustomRoles&quot;: [ # The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.
2959+
&quot;A String&quot;,
2960+
],
2961+
},
29432962
},
29442963
&quot;state&quot;: { # CommonFeatureState contains Fleet-wide Feature status information. # Output only. The Fleet-wide Feature state.
29452964
&quot;appdevexperience&quot;: { # State for App Dev Exp Feature. # Appdevexperience specific state.
@@ -3018,6 +3037,8 @@ <h3>Method Details</h3>
30183037
},
30193038
},
30203039
},
3040+
&quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: An empty state left as an example Hub-wide Feature state. # RBAC Role Binding Actuation feature state
3041+
},
30213042
&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. # Output only. The &quot;running state&quot; of the Feature in this Fleet.
30223043
&quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
30233044
&quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
@@ -3885,6 +3906,11 @@ <h3>Method Details</h3>
38853906
&quot;multiclusteringress&quot;: { # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. # Multicluster Ingress-specific spec.
38863907
&quot;configMembership&quot;: &quot;A String&quot;, # Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`
38873908
},
3909+
&quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: The Hub-wide input for the RBACRoleBindingActuation feature. # RBAC Role Binding Actuation feature spec
3910+
&quot;allowedCustomRoles&quot;: [ # The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.
3911+
&quot;A String&quot;,
3912+
],
3913+
},
38883914
},
38893915
&quot;state&quot;: { # CommonFeatureState contains Fleet-wide Feature status information. # Output only. The Fleet-wide Feature state.
38903916
&quot;appdevexperience&quot;: { # State for App Dev Exp Feature. # Appdevexperience specific state.
@@ -3963,6 +3989,8 @@ <h3>Method Details</h3>
39633989
},
39643990
},
39653991
},
3992+
&quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: An empty state left as an example Hub-wide Feature state. # RBAC Role Binding Actuation feature state
3993+
},
39663994
&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. # Output only. The &quot;running state&quot; of the Feature in this Fleet.
39673995
&quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
39683996
&quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ <h3>Method Details</h3>
197197
},
198198
},
199199
&quot;externalId&quot;: &quot;A String&quot;, # Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. The ID must match the regex: `a-zA-Z0-9*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object.
200-
&quot;labels&quot;: { # Optional. Labels for this membership.
200+
&quot;labels&quot;: { # Optional. Labels for this membership. These labels are not leveraged by multi-cluster features, instead, we prefer cluster labels, which can be set on GKE cluster or other cluster types.
201201
&quot;a_key&quot;: &quot;A String&quot;,
202202
},
203203
&quot;lastConnectionTime&quot;: &quot;A String&quot;, # Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.
@@ -396,7 +396,7 @@ <h3>Method Details</h3>
396396
},
397397
},
398398
&quot;externalId&quot;: &quot;A String&quot;, # Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. The ID must match the regex: `a-zA-Z0-9*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object.
399-
&quot;labels&quot;: { # Optional. Labels for this membership.
399+
&quot;labels&quot;: { # Optional. Labels for this membership. These labels are not leveraged by multi-cluster features, instead, we prefer cluster labels, which can be set on GKE cluster or other cluster types.
400400
&quot;a_key&quot;: &quot;A String&quot;,
401401
},
402402
&quot;lastConnectionTime&quot;: &quot;A String&quot;, # Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.
@@ -550,7 +550,7 @@ <h3>Method Details</h3>
550550
},
551551
},
552552
&quot;externalId&quot;: &quot;A String&quot;, # Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. The ID must match the regex: `a-zA-Z0-9*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object.
553-
&quot;labels&quot;: { # Optional. Labels for this membership.
553+
&quot;labels&quot;: { # Optional. Labels for this membership. These labels are not leveraged by multi-cluster features, instead, we prefer cluster labels, which can be set on GKE cluster or other cluster types.
554554
&quot;a_key&quot;: &quot;A String&quot;,
555555
},
556556
&quot;lastConnectionTime&quot;: &quot;A String&quot;, # Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.
@@ -663,7 +663,7 @@ <h3>Method Details</h3>
663663
},
664664
},
665665
&quot;externalId&quot;: &quot;A String&quot;, # Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. The ID must match the regex: `a-zA-Z0-9*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object.
666-
&quot;labels&quot;: { # Optional. Labels for this membership.
666+
&quot;labels&quot;: { # Optional. Labels for this membership. These labels are not leveraged by multi-cluster features, instead, we prefer cluster labels, which can be set on GKE cluster or other cluster types.
667667
&quot;a_key&quot;: &quot;A String&quot;,
668668
},
669669
&quot;lastConnectionTime&quot;: &quot;A String&quot;, # Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.

docs/dyn/gkehub_v1.projects.locations.memberships.rbacrolebindings.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ <h3>Method Details</h3>
122122
},
123123
&quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
124124
&quot;role&quot;: { # Role is the type for Kubernetes roles # Required. Role to bind to the principal
125+
&quot;customRole&quot;: &quot;A String&quot;, # Optional. custom_role is the name of a custom KubernetesClusterRole to use.
125126
&quot;predefinedRole&quot;: &quot;A String&quot;, # predefined_role is the Kubernetes default role to use
126127
},
127128
&quot;state&quot;: { # RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource. # Output only. State of the rbacrolebinding resource.
@@ -215,6 +216,7 @@ <h3>Method Details</h3>
215216
},
216217
&quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
217218
&quot;role&quot;: { # Role is the type for Kubernetes roles # Required. Role to bind to the principal
219+
&quot;customRole&quot;: &quot;A String&quot;, # Optional. custom_role is the name of a custom KubernetesClusterRole to use.
218220
&quot;predefinedRole&quot;: &quot;A String&quot;, # predefined_role is the Kubernetes default role to use
219221
},
220222
&quot;state&quot;: { # RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource. # Output only. State of the rbacrolebinding resource.
@@ -262,6 +264,7 @@ <h3>Method Details</h3>
262264
},
263265
&quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
264266
&quot;role&quot;: { # Role is the type for Kubernetes roles # Required. Role to bind to the principal
267+
&quot;customRole&quot;: &quot;A String&quot;, # Optional. custom_role is the name of a custom KubernetesClusterRole to use.
265268
&quot;predefinedRole&quot;: &quot;A String&quot;, # predefined_role is the Kubernetes default role to use
266269
},
267270
&quot;state&quot;: { # RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource. # Output only. State of the rbacrolebinding resource.
@@ -301,6 +304,7 @@ <h3>Method Details</h3>
301304
},
302305
&quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
303306
&quot;role&quot;: { # Role is the type for Kubernetes roles # Required. Role to bind to the principal
307+
&quot;customRole&quot;: &quot;A String&quot;, # Optional. custom_role is the name of a custom KubernetesClusterRole to use.
304308
&quot;predefinedRole&quot;: &quot;A String&quot;, # predefined_role is the Kubernetes default role to use
305309
},
306310
&quot;state&quot;: { # RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource. # Output only. State of the rbacrolebinding resource.
@@ -349,6 +353,7 @@ <h3>Method Details</h3>
349353
},
350354
&quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
351355
&quot;role&quot;: { # Role is the type for Kubernetes roles # Required. Role to bind to the principal
356+
&quot;customRole&quot;: &quot;A String&quot;, # Optional. custom_role is the name of a custom KubernetesClusterRole to use.
352357
&quot;predefinedRole&quot;: &quot;A String&quot;, # predefined_role is the Kubernetes default role to use
353358
},
354359
&quot;state&quot;: { # RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource. # Output only. State of the rbacrolebinding resource.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ <h3>Method Details</h3>
426426
},
427427
},
428428
&quot;externalId&quot;: &quot;A String&quot;, # Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. The ID must match the regex: `a-zA-Z0-9*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object.
429-
&quot;labels&quot;: { # Optional. Labels for this membership.
429+
&quot;labels&quot;: { # Optional. Labels for this membership. These labels are not leveraged by multi-cluster features, instead, we prefer cluster labels, which can be set on GKE cluster or other cluster types.
430430
&quot;a_key&quot;: &quot;A String&quot;,
431431
},
432432
&quot;lastConnectionTime&quot;: &quot;A String&quot;, # Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.

0 commit comments

Comments
 (0)