Skip to content

Commit

Permalink
Add a note for deprecating Hierarchy Controller in Config Management …
Browse files Browse the repository at this point in the history
…feature.

This is to reduce the usage of configuring Hierarchy Controller using the ACM KCC resource.
  • Loading branch information
haiyanmeng committed Aug 16, 2024
1 parent 22f5af4 commit a7808f3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apis/gkehub/v1beta1/gkehubfeaturemembership_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ type FeaturemembershipConfigmanagement struct {
// +optional
ConfigSync *FeaturemembershipConfigSync `json:"configSync,omitempty"`

/* Hierarchy Controller configuration for the cluster. */
/* **DEPRECATED** Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead. */
// +optional
HierarchyController *FeaturemembershipHierarchyController `json:"hierarchyController,omitempty"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,10 @@ spec:
type: string
type: object
hierarchyController:
description: Hierarchy Controller configuration for the cluster.
description: '**DEPRECATED** Configuring Hierarchy Controller
through the configmanagement feature is no longer recommended.
Use https://github.com/kubernetes-sigs/hierarchical-namespaces
instead.'
properties:
enableHierarchicalResourceQuota:
description: Whether hierarchical resource quota is enabled
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ projectRef:
</td>
<td>
<p><code class="apitype">object</code></p>
<p>{% verbatim %}Hierarchy Controller configuration for the cluster.{% endverbatim %}</p>
<p>{% verbatim %}**DEPRECATED** Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.{% endverbatim %}</p>
</td>
</tr>
<tr>
Expand Down

0 comments on commit a7808f3

Please sign in to comment.