gcloud beta container hub config-management enable

NAME
gcloud beta container hub config-management enable - enable the Config Management feature
SYNOPSIS
gcloud beta container hub config-management enable [--fleet-default-member-config=FLEET_DEFAULT_MEMBER_CONFIG] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Enable the Config Management feature in a fleet.

gcloud beta container hub config-management enable without flags creates the Config Management feature or no-ops if the feature already exists.

EXAMPLES
To enable the Config Management feature, run:
gcloud beta container hub config-management enable
FLAGS
--fleet-default-member-config=FLEET_DEFAULT_MEMBER_CONFIG
Path to YAML file, or - to read from stdin, that specifies the fleet-default membership configuration to create the feature with. Errors if the feature already exists. Accepts the same schema as the MembershipSpec API field. Provides the additional field-handling documented at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/gcloud-configuration-field-behavior. Use the update command to update the fleet-default membership configuration or sync a membership to the fleet-default membership configuration.

To create a Config Management feature with a fleet-default membership configuration and inform the process with logs, populate a config.yaml and run:

gcloud beta container hub config-management enable --fleet-default-member-config=config.yaml --verbosity=info

To create a Config Management feature in the current project with the same fleet-default membership configuration as another project ${PROJECT_ID}, run:

gcloud beta container fleet config-management describe --view=fleet-default-member-config --project="${PROJECT_ID}" | gcloud beta container hub config-management enable --fleet-default-member-config="-"

Supports fleet-default membership configuration updates in the apply spec schema in YAML files for backward compatibility.

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 beta and might change without notice. This variant is also available:
gcloud alpha container hub config-management enable