jx gitops repository create

jx gitops repository create

Creates any missing SourceRepository resources

Usage

jx gitops repository create

Synopsis

Creates any missing SourceRepository resources

Examples

# creates any missing SourceRepository resources
jx-gitops repository create https://github.com/myorg/myrepo.git%!(EXTRA string=jx-gitops)

Options

  -c, --config string             the configuration file to load for the repository configurations. If not specified we look in ./.jx/gitops/source-config.yaml
  -d, --dir string                the directory look for the 'jx-requirements.yml` file (default ".")
  -h, --help                      help for create
      --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 look for and generate the SourceConfig files

SEE ALSO

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


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