WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
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
- jx step - pipeline steps
Auto generated by spf13/cobra on 2-Sep-2020
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 2, 2020: updated jx commands & API docs from 2.1.138 (4fc0bedc90)