jx gitops image

jx gitops image

Updates images in the kubernetes resources from the version stream

Usage

jx gitops image

Synopsis

Updates images in the kubernetes resources from the version stream

Examples

# modify the images in the content-root folder using the current version stream
jx-gitops image
# modify the images in the ./src dir using the current dir to find the version stream
jx-gitops image --source-dir ./src --dir .

Options

  -d, --dir string                  the directory that contains the jx-requirements.yml (default ".")
  -h, --help                        help for image
      --invert-selector             inverts the effect of selector to exclude resources matched by selector
  -k, --kind stringArray            adds Kubernetes resource kinds to filter on. For kind expressions see: https://github.com/jenkins-x/jx-helpers/v3/tree/master/docs/kind_filters.md
      --kind-ignore stringArray     adds Kubernetes resource kinds to exclude. For kind expressions see: https://github.com/jenkins-x/jx-helpers/v3/tree/master/docs/kind_filters.md
      --selector stringToString     adds Kubernetes label selector to filter on, e.g. -s app=pusher-wave,heritage=Helm (default [])
  -s, --source-dir string           the directory to recursively look for the *.yaml files to modify (default "content-root")
      --version-stream-dir string   the directory for the version stream. Defaults to 'versionStream' in the current --dir

SEE ALSO

Auto generated by spf13/cobra on 9-Apr-2021


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