- NAME
-
- gcloud alpha container hub config-management enable - enable Config Management feature
- SYNOPSIS
-
-
gcloud alpha container hub config-management enable
[--fleet-default-member-config
=FLEET_DEFAULT_MEMBER_CONFIG
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
Enables the Config Management feature in a fleet. Without any flags, this command no-ops if the feature is already enabled. This command can also enable the feature with a fleet-default membership configuration for Config Sync. - EXAMPLES
-
To enable the Config Management feature, run:
gcloud alpha container hub config-management enable
To enable the Config Management feature with a fleet-default membership configuration for Config Sync, run:
gcloud alpha container hub config-management enable --fleet-default-member-config=config.yaml
- FLAGS
-
--fleet-default-member-config
=FLEET_DEFAULT_MEMBER_CONFIG
-
Path to YAML file that contains the fleet-default
membership configuration to enable with a new feature. This file shares the
syntax of the
--config
flag on theapply
command: see recognized fields here. Errors if the Policy Controller or Hierarchy Controller field is set. This flag will also enable or update the fleet-default membership configuration on an existing feature. See theapply
command for how to sync a membership to the fleet-default membership configuration.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file
,--account
,--billing-project
,--configuration
,--flags-file
,--flatten
,--format
,--help
,--impersonate-service-account
,--log-http
,--project
,--quiet
,--trace-token
,--user-output-enabled
,--verbosity
.Run
$ gcloud help
for details. - NOTES
-
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation-only early access
allowlist. This variant is also available:
gcloud beta container hub config-management enable
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-24 UTC.