1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-13 16:37:00 +00:00
gcloud-help/gcloud/alpha/container/fleet/config-management/apply
2022-06-08 09:13:38 +00:00

50 lines
1.8 KiB
Text

NAME
gcloud alpha container fleet config-management apply - update a Config
Management Feature Spec
SYNOPSIS
gcloud alpha container fleet config-management apply --config=CONFIG
[--membership=MEMBERSHIP] [--version=VERSION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Update a user-specified config file to a ConfigManagement Custom
Resource. The config file should be a .yaml file, all eligible fields are
listed in
https://cloud.google.com/anthos-config-management/docs/reference/gcloud-apply-fields
EXAMPLES
To apply a YAML config file to a membership, prepare apply-spec.yaml
(https://cloud.google.com/anthos-config-management/docs/reference/gcloud-apply-fields#example_gcloud_apply_spec)
then run:
$ gcloud alpha container fleet config-management apply \
--membership=MEMBERSHIP_NAME --config=APPLY-SPEC.YAML \
--version=VERSION
REQUIRED FLAGS
--config=CONFIG
The path to config-management.yaml.
OPTIONAL FLAGS
--membership=MEMBERSHIP
The Membership name provided during registration.
--version=VERSION
The version of ACM to install.
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 fleet config-management apply