Skip to content

cub gitops

cub gitops

GitOps commands

Synopsis

The gitops subcommands automate the process of discovering GitOps resources (ArgoCD Applications, Flux HelmReleases/Kustomizations) from a Kubernetes target, rendering them, and creating the corresponding ConfigHub units and links.

Examples:

  # Discover GitOps resources on a target
  cub gitops discover --space my-space my-k8s-target

  # Import discovered resources, rendering them via a render target
  cub gitops import --space my-space my-k8s-target my-render-target

  # Clean up the discover unit for a target
  cub gitops cleanup --space my-space my-k8s-target

Options

  -h, --help           help for gitops
      --space string   space ID to perform command on

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output

SEE ALSO