jx gitops sa secret
Adds one or more secrets to the given ServiceAccount files
	Usage
jx gitops sa secret
Synopsis
Adds one or more secrets to the given ServiceAccount files
Examples
# ensures that the given service account resource has the secret associated
jx-gitops sa secret -f config-root/namespaces/jx/mychart/my-sa.yaml --secret my-secret-name
Options
  -f, --file string               the ServiceAccount file to modify
  -h, --help                      help for secret
      --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/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/tree/master/docs/kind_filters.md
  -s, --secret stringArray        the Secret names to add to the ServiceAccount
      --selector stringToString   adds Kubernetes label selector to filter on, e.g. --selector app=pusher-wave,heritage=Helm (default [])
      --selector-target string    sets which path in the Kubernetes resources to select on instead of metadata.labels.
Source
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 February 19, 2025: chore: regenerated plugin docs (cafb845ac6)