⚠️ Work in Progress
You are viewing development documentation built from the latest commit on main. APIs and features are subject to change.

kure generate bootstrap

kure generate bootstrap

Generate bootstrap configurations for GitOps tools

Synopsis

Generate bootstrap configurations for GitOps tools like Flux or ArgoCD.

This command processes bootstrap configuration files and generates the necessary manifests to bootstrap a GitOps workflow in a Kubernetes cluster.

Examples:

Generate Flux bootstrap configuration

kure generate bootstrap examples/bootstrap/flux-operator.yaml

Generate ArgoCD bootstrap configuration

kure generate bootstrap examples/bootstrap/argocd.yaml

Generate with custom output directory

kure generate bootstrap –output-dir ./bootstrap cluster.yaml

Generate with specific GitOps type

kure generate bootstrap –gitops-type=flux –flux-mode=operator bootstrap.yaml

kure generate bootstrap [flags] CONFIG_FILE

Options

      --flux-mode string      Flux installation mode (operator|toolkit) - auto-detected if not specified
  -g, --gitops-type string    GitOps tool type (flux|argocd) - auto-detected if not specified
  -h, --help                  help for bootstrap
  -m, --manifest-dir string   manifests directory name in output
  -d, --output-dir string     output directory for generated manifests (default "out/bootstrap")

Options inherited from parent commands

  -c, --config string        config file (default is $HOME/.kure.yaml)
      --debug                debug output
      --dry-run              print generated resources without writing to files
  -n, --namespace string     target namespace for operations
      --no-headers           don't print headers (for table output)
  -o, --output string        output format (yaml|json|table|wide|name) (default "yaml")
  -f, --output-file string   write output to file instead of stdout
      --show-labels          show resource labels in table output
      --strict               treat warnings as errors
  -v, --verbose              verbose output
      --wide                 use wide output format

SEE ALSO