jx secret replicate

jx secret replicate

Replicates the given ExternalSecret resources into other Environments or Namespaces

Usage

jx secret replicate

Synopsis

Replicates the given ExternalSecret resources into other Environments or Namespaces

Examples

# replicates the labeled ExternalSecret resources to the local permanent Environment namespaces (e.g. Staging and Production)
jx-secret replicate --label secret.jenkins-x.io/replica-source=true

# replicates the ExternalSecret resources to the local Environments
jx-secret replicate --name=mysecretname --to jx-staging,jx-production

Options

  -f, --file string         the ExternalSecret to replicate (default "t")
      --from string         one or more Namespaces to replicate the ExternalSecret to
  -h, --help                help for replicate
  -n, --name stringArray    specifies the names of the ExternalSecrets to replicate if not using a selector
  -o, --output-dir string   the output directory which defaults to 'config-root' in the directory
  -s, --selector string     defines the label selector to find the ExternalSecret resources to replicate
  -t, --to stringArray      one or more Namespaces to replicate the ExternalSecret to

SEE ALSO

  • jx secret - External Secrets utility commands
Auto generated by spf13/cobra on 9-Apr-2021


Last modified April 9, 2021: chore: regenerated plugin docs (70b8c8b237)