Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#2521 from haiyanmeng/acm-hnc-d…
Browse files Browse the repository at this point in the history
…eprecation

Add a note for deprecating Hierarchy Controller in Config Management feature
  • Loading branch information
google-oss-prow[bot] authored Aug 16, 2024
2 parents 8611d44 + a7808f3 commit 04a4757
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 04a4757

Please sign in to comment.