fleet apply

Render a bundle into a Kubernetes resource and apply it in the Fleet Manager

  1. fleet apply [flags] BUNDLE_NAME PATH...

Options

  1. -b, --bundle-file string Location of the raw Bundle resource yaml
  2. --cacerts-file string Path of custom cacerts for helm repo
  3. --commit string Commit to assign to the bundle
  4. -c, --compress Force all resources to be compress
  5. --correct-drift Rollback any change made from outside of Fleet
  6. --correct-drift-force Use --force when correcting drift. Resources can be deleted and recreated
  7. --correct-drift-keep-fail-history Keep helm history for failed rollbacks
  8. --debug Turn on debug logging
  9. --debug-level int If debugging is enabled, set klog -v=X
  10. -f, --file string Location of the fleet.yaml
  11. --helm-credentials-by-path-file string Path of file containing helm credentials for paths
  12. --helm-repo-url-regex string Helm credentials will be used if the helm repo matches this regex. Credentials will always be used if this is empty or not provided
  13. -h, --help help for apply
  14. --keep-resources Keep resources created after the GitRepo or Bundle is deleted
  15. -l, --label strings Labels to apply to created bundles
  16. -o, --output string Output contents to file or - for stdout
  17. --password-file string Path of file containing basic auth password for helm repo
  18. --paused Create bundles in a paused state
  19. -a, --service-account string Service account to assign to bundle created
  20. --ssh-privatekey-file string Path of ssh-private-key for helm repo
  21. --sync-generation int Generation number used to force sync the deployment
  22. --target-namespace string Ensure this bundle goes to this target namespace
  23. --targets-file string Addition source of targets and restrictions to be append
  24. --username string Basic auth username for helm repo

Options inherited from parent commands

  1. --context string kubeconfig context for authentication
  2. -k, --kubeconfig string kubeconfig for authentication
  3. -n, --namespace string namespace (default "fleet-local")
  4. --system-namespace string System namespace of the controller (default "cattle-fleet-system")

SEE ALSO