jx step replicate

list of jx commands

jx step replicate

Annotates a secret or configmap so it can be replicated across an environment

Synopsis

Works with the replicator app https://github.com/jenkins-x-charts/kubernetes-replicator

jx add app replicator

This step will annotate a secret or configmap so that the replicator can replicate the data into another namespace

jx step replicate [flags]

Examples

  NOTE: quote and namespaces that include a wildcard
  # lets collect some files to the team's default storage location (which if not configured uses the current git repository's gh-pages branch)
  jx step replicate configmap foo --replicate-to-namespace jx-staging --replicate-to-namespace "foo-preview*"
  
  # lets collect some files to the team's default storage location (which if not configured uses the current git repository's gh-pages branch)
  jx step replicate secret bar --replicate-to-namespace jx-staging --replicate-to-namespace "foo-preview*"

Options

      --create-namespace                     Should create any missing namespaces
  -h, --help                                 help for replicate
  -r, --replicate-to-namespace stringArray   Specify a list of namespaces to replicate data into

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