Skip to content

Commit 320bfb6

Browse files
Test and document the configmanagement.config_sync.stop_syncing field (#12477) (#8829)
[upstream:c98bf46c0d2c403555f5555ad6e5fc30a1a69449] Signed-off-by: Modular Magician <[email protected]>
1 parent 801114c commit 320bfb6

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.changelog/12477.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/services/gkehub/resource_gke_hub_feature_membership_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ resource "google_gke_hub_feature_membership" "feature_member_1" {
162162
feature = google_gke_hub_feature.feature.name
163163
membership = google_gke_hub_membership.membership.membership_id
164164
configmanagement {
165-
version = "1.18.2"
166165
config_sync {
167166
source_format = "hierarchy"
167+
stop_syncing = true
168168
enabled = true
169169
git {
170170
sync_repo = "https://github.com/GoogleCloudPlatform/magic-modules"

website/docs/r/gke_hub_feature_membership.html.markdown

+5-1
Original file line numberDiff line numberDiff line change
@@ -418,11 +418,15 @@ The following arguments are supported:
418418

419419
* `prevent_drift` -
420420
(Optional)
421-
Supported from Config Sync versions 1.10.0 onwards. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to "false", disables the Config Sync admission webhook and does not prevent drifts.
421+
Supported from Config Sync versions 1.10.0 onwards. Set to `true` to enable the Config Sync admission webhook to prevent drifts. If set to `false`, disables the Config Sync admission webhook and does not prevent drifts.
422422

423423
* `source_format` -
424424
(Optional)
425425
Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode.
426+
427+
* `stop_syncing` -
428+
(Optional)
429+
Set to `true` to stop syncing configurations for a single cluster. This field is only available on clusters using Config Sync [auto-upgrades](http://cloud/kubernetes-engine/enterprise/config-sync/docs/how-to/upgrade-config-sync#auto-upgrade-config) or on Config Sync version 1.20.0 or later. Defaults: `false`.
426430

427431
<a name="nested_git"></a>The `git` block supports:
428432

0 commit comments

Comments
 (0)