jx step env apply

list of jx commands

jx step env apply

Applies the GitOps source code to an environment

Synopsis

Applies the GitOps source code (by default in the current directory) to the Environment.

This command will lazily create an environment, setup Helm and build and apply any helm charts defined in the env/Chart.yaml

jx step env apply [flags]

Examples

  # setup and/or update the helm charts for the environment
  jx step env apply --namespace jx-staging

Options

      --change-namespace   Set the given namespace as the current namespace in Kubernetes configuration
  -d, --dir string         The directory to look for the environment chart
  -f, --force              Whether to to pass '--force' to helm to help deal with upgrading if a previous promote failed (default true)
  -h, --help               help for apply
  -r, --name string        The name of the release
  -n, --namespace string   The Kubernetes namespace to apply the helm charts to
      --no-helm-version    Don't set Chart version before applying
      --vault              Environment secrets are stored in vault
      --wait               Wait for Kubernetes readiness probe to confirm deployment (default true)

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input
      --verbose      Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace

SEE ALSO

Auto generated by spf13/cobra on 2-Sep-2020