diff --git a/cmd/flux/bootstrap_github.go b/cmd/flux/bootstrap_github.go index 56f62878..7ccd4907 100644 --- a/cmd/flux/bootstrap_github.go +++ b/cmd/flux/bootstrap_github.go @@ -47,27 +47,26 @@ the bootstrap command will perform an upgrade if needed.`, Example: ` # Create a GitHub personal access token and export it as an env var export GITHUB_TOKEN= - # Run bootstrap for a private repo owned by a GitHub organization - flux bootstrap github --owner= --repository= + # Run bootstrap for a private repository owned by a GitHub organization + flux bootstrap github --owner= --repository= - # Run bootstrap for a private repo and assign organization teams to it - flux bootstrap github --owner= --repository= --team= --team= + # Run bootstrap for a private repository and assign organization teams to it + flux bootstrap github --owner= --repository= --team= --team= # Run bootstrap for a repository path - flux bootstrap github --owner= --repository= --path=dev-cluster + flux bootstrap github --owner= --repository= --path=dev-cluster # Run bootstrap for a public repository on a personal account - flux bootstrap github --owner= --repository= --private=false --personal=true + flux bootstrap github --owner= --repository= --private=false --personal=true - # Run bootstrap for a private repo hosted on GitHub Enterprise using SSH auth - flux bootstrap github --owner= --repository= --hostname= --ssh-hostname= + # Run bootstrap for a private repository hosted on GitHub Enterprise using SSH auth + flux bootstrap github --owner= --repository= --hostname= --ssh-hostname= - # Run bootstrap for a private repo hosted on GitHub Enterprise using HTTPS auth - flux bootstrap github --owner= --repository= --hostname= --token-auth + # Run bootstrap for a private repository hosted on GitHub Enterprise using HTTPS auth + flux bootstrap github --owner= --repository= --hostname= --token-auth - # Run bootstrap for a an existing repository with a branch named main - flux bootstrap github --owner= --repository= --branch=main -`, + # Run bootstrap for an existing repository with a branch named main + flux bootstrap github --owner= --repository= --branch=main`, RunE: bootstrapGitHubCmdRun, } @@ -220,7 +219,7 @@ func bootstrapGitHubCmdRun(cmd *cobra.Command, args []string) error { logger.Successf("components are up to date") } - // determine if repo synchronization is working + // determine if repository synchronization is working isInstall := shouldInstallManifests(ctx, kubeClient, rootArgs.namespace) if isInstall { @@ -281,7 +280,7 @@ func bootstrapGitHubCmdRun(cmd *cobra.Command, args []string) error { } } - // configure repo synchronization + // configure repository synchronization logger.Actionf("generating sync manifests") syncManifests, err := generateSyncManifests( repoURL, diff --git a/cmd/flux/bootstrap_gitlab.go b/cmd/flux/bootstrap_gitlab.go index 8acf93aa..f1f36554 100644 --- a/cmd/flux/bootstrap_gitlab.go +++ b/cmd/flux/bootstrap_gitlab.go @@ -49,24 +49,23 @@ the bootstrap command will perform an upgrade if needed.`, Example: ` # Create a GitLab API token and export it as an env var export GITLAB_TOKEN= - # Run bootstrap for a private repo using HTTPS token authentication - flux bootstrap gitlab --owner= --repository= --token-auth + # Run bootstrap for a private repository using HTTPS token authentication + flux bootstrap gitlab --owner= --repository= --token-auth - # Run bootstrap for a private repo using SSH authentication - flux bootstrap gitlab --owner= --repository= + # Run bootstrap for a private repository using SSH authentication + flux bootstrap gitlab --owner= --repository= # Run bootstrap for a repository path - flux bootstrap gitlab --owner= --repository= --path=dev-cluster + flux bootstrap gitlab --owner= --repository= --path=dev-cluster # Run bootstrap for a public repository on a personal account - flux bootstrap gitlab --owner= --repository= --private=false --personal --token-auth + flux bootstrap gitlab --owner= --repository= --private=false --personal --token-auth - # Run bootstrap for a private repo hosted on a GitLab server - flux bootstrap gitlab --owner= --repository= --hostname= --token-auth + # Run bootstrap for a private repository hosted on a GitLab server + flux bootstrap gitlab --owner= --repository= --hostname= --token-auth # Run bootstrap for a an existing repository with a branch named main - flux bootstrap gitlab --owner= --repository= --branch=main --token-auth -`, + flux bootstrap gitlab --owner= --repository= --branch=main --token-auth`, RunE: bootstrapGitLabCmdRun, } @@ -207,7 +206,7 @@ func bootstrapGitLabCmdRun(cmd *cobra.Command, args []string) error { logger.Successf("components are up to date") } - // determine if repo synchronization is working + // determine if repository synchronization is working isInstall := shouldInstallManifests(ctx, kubeClient, rootArgs.namespace) if isInstall { @@ -268,7 +267,7 @@ func bootstrapGitLabCmdRun(cmd *cobra.Command, args []string) error { } } - // configure repo synchronization + // configure repository synchronization logger.Actionf("generating sync manifests") syncManifests, err := generateSyncManifests( repoURL, diff --git a/cmd/flux/check.go b/cmd/flux/check.go index da4fca96..82af8b88 100644 --- a/cmd/flux/check.go +++ b/cmd/flux/check.go @@ -46,8 +46,7 @@ the local environment is configured correctly and if the installed components ar flux check --pre # Run installation checks - flux check -`, + flux check`, RunE: runCheckCmd, } diff --git a/cmd/flux/completion_bash.go b/cmd/flux/completion_bash.go index 4bc2a98d..42ce075c 100644 --- a/cmd/flux/completion_bash.go +++ b/cmd/flux/completion_bash.go @@ -32,8 +32,7 @@ var completionBashCmd = &cobra.Command{ To configure your bash shell to load completions for each session add to your bashrc # ~/.bashrc or ~/.profile -command -v flux >/dev/null && . <(flux completion bash) -`, +command -v flux >/dev/null && . <(flux completion bash)`, Run: func(cmd *cobra.Command, args []string) { rootCmd.GenBashCompletion(os.Stdout) }, diff --git a/cmd/flux/completion_fish.go b/cmd/flux/completion_fish.go index a9d1df70..b8cb8cf8 100644 --- a/cmd/flux/completion_fish.go +++ b/cmd/flux/completion_fish.go @@ -29,8 +29,7 @@ var completionFishCmd = &cobra.Command{ flux completion fish > ~/.config/fish/completions/flux.fish -See http://fishshell.com/docs/current/index.html#completion-own for more details -`, +See http://fishshell.com/docs/current/index.html#completion-own for more details`, Run: func(cmd *cobra.Command, args []string) { rootCmd.GenFishCompletion(os.Stdout, true) }, diff --git a/cmd/flux/completion_powershell.go b/cmd/flux/completion_powershell.go index e23485d5..77efd87a 100644 --- a/cmd/flux/completion_powershell.go +++ b/cmd/flux/completion_powershell.go @@ -39,8 +39,7 @@ flux completion >> flux-completion.ps1 Linux: cd "${XDG_CONFIG_HOME:-"$HOME/.config/"}/powershell/modules" -flux completion >> flux-completions.ps1 -`, +flux completion >> flux-completions.ps1`, Run: func(cmd *cobra.Command, args []string) { rootCmd.GenPowerShellCompletion(os.Stdout) }, diff --git a/cmd/flux/completion_zsh.go b/cmd/flux/completion_zsh.go index e2d26ba4..7803af41 100644 --- a/cmd/flux/completion_zsh.go +++ b/cmd/flux/completion_zsh.go @@ -40,8 +40,7 @@ echo "${fpath// /\n}" | grep -i completion flux completion zsh > _flux mv _flux ~/.oh-my-zsh/completions # oh-my-zsh -mv _flux ~/.zprezto/modules/completion/external/src/ # zprezto -`, +mv _flux ~/.zprezto/modules/completion/external/src/ # zprezto`, Run: func(cmd *cobra.Command, args []string) { rootCmd.GenZshCompletion(os.Stdout) }, diff --git a/cmd/flux/create_alert.go b/cmd/flux/create_alert.go index 0718d03a..3988915e 100644 --- a/cmd/flux/create_alert.go +++ b/cmd/flux/create_alert.go @@ -43,8 +43,7 @@ var createAlertCmd = &cobra.Command{ --event-severity info \ --event-source Kustomization/flux-system \ --provider-ref slack \ - flux-system -`, + flux-system`, RunE: createAlertCmdRun, } diff --git a/cmd/flux/create_alertprovider.go b/cmd/flux/create_alertprovider.go index e9099ed9..93ac7e89 100644 --- a/cmd/flux/create_alertprovider.go +++ b/cmd/flux/create_alertprovider.go @@ -49,8 +49,7 @@ var createAlertProviderCmd = &cobra.Command{ flux create alert-provider github-podinfo \ --type github \ --address https://github.com/stefanprodan/podinfo \ - --secret-ref github-token -`, + --secret-ref github-token`, RunE: createAlertProviderCmdRun, } diff --git a/cmd/flux/create_helmrelease.go b/cmd/flux/create_helmrelease.go index 11886b71..4db39e4f 100644 --- a/cmd/flux/create_helmrelease.go +++ b/cmd/flux/create_helmrelease.go @@ -96,8 +96,7 @@ var createHelmReleaseCmd = &cobra.Command{ --source=HelmRepository/podinfo \ --chart=podinfo \ --values=./values.yaml \ - --export > podinfo-release.yaml -`, + --export > podinfo-release.yaml`, RunE: createHelmReleaseCmdRun, } diff --git a/cmd/flux/create_image.go b/cmd/flux/create_image.go index 5d98b7c0..b6402906 100644 --- a/cmd/flux/create_image.go +++ b/cmd/flux/create_image.go @@ -17,20 +17,17 @@ limitations under the License. package main import ( - "strings" - "github.com/spf13/cobra" ) -const createImageLong = ` -The create image sub-commands work with image automation objects; that is, +const createImageLong = `The create image sub-commands work with image automation objects; that is, object controlling updates to git based on e.g., new container images being available.` var createImageCmd = &cobra.Command{ Use: "image", Short: "Create or update resources dealing with image automation", - Long: strings.TrimSpace(createImageLong), + Long: createImageLong, } func init() { diff --git a/cmd/flux/create_image_policy.go b/cmd/flux/create_image_policy.go index 5899b1e3..5f8c8ab1 100644 --- a/cmd/flux/create_image_policy.go +++ b/cmd/flux/create_image_policy.go @@ -50,8 +50,7 @@ the status of the object.`, --image-ref=podinfo \ --select-numeric=asc \ --filter-regex='^main-[a-f0-9]+-(?P[0-9]+)' \ - --filter-extract='$ts' -`, + --filter-extract='$ts'`, RunE: createImagePolicyRun} type imagePolicyFlags struct { diff --git a/cmd/flux/create_image_repository.go b/cmd/flux/create_image_repository.go index 2ef652fc..d8c3b1de 100644 --- a/cmd/flux/create_image_repository.go +++ b/cmd/flux/create_image_repository.go @@ -57,8 +57,7 @@ An ImageRepository object specifies an image repository to scan.`, --cert-file client.crt --key-file client.key flux create image repository app-repo \ --cert-secret-ref client-cert \ - --image registry.example.com/private/app --interval 5m -`, + --image registry.example.com/private/app --interval 5m`, RunE: createImageRepositoryRun, } diff --git a/cmd/flux/create_image_update.go b/cmd/flux/create_image_update.go index e9f637df..59da4e53 100644 --- a/cmd/flux/create_image_update.go +++ b/cmd/flux/create_image_update.go @@ -50,8 +50,7 @@ mentioned in YAMLs in a git repository.`, --push-branch=image-updates \ --author-name=flux \ --author-email=flux@example.com \ - --commit-template="{{range .Updated.Images}}{{println .}}{{end}}" -`, + --commit-template="{{range .Updated.Images}}{{println .}}{{end}}"`, RunE: createImageUpdateRun, } diff --git a/cmd/flux/create_kustomization.go b/cmd/flux/create_kustomization.go index 650c2854..1ddcfc11 100644 --- a/cmd/flux/create_kustomization.go +++ b/cmd/flux/create_kustomization.go @@ -68,8 +68,7 @@ var createKsCmd = &cobra.Command{ flux create kustomization secrets \ --source=Bucket/secrets \ --prune=true \ - --interval=5m -`, + --interval=5m`, RunE: createKsCmdRun, } diff --git a/cmd/flux/create_receiver.go b/cmd/flux/create_receiver.go index 9568fd6c..6b1f13f6 100644 --- a/cmd/flux/create_receiver.go +++ b/cmd/flux/create_receiver.go @@ -45,8 +45,7 @@ var createReceiverCmd = &cobra.Command{ --event push \ --secret-ref webhook-token \ --resource GitRepository/webapp \ - --resource HelmRepository/webapp -`, + --resource HelmRepository/webapp`, RunE: createReceiverCmdRun, } diff --git a/cmd/flux/create_secret_helm.go b/cmd/flux/create_secret_helm.go index a7c14803..77da7a13 100644 --- a/cmd/flux/create_secret_helm.go +++ b/cmd/flux/create_secret_helm.go @@ -31,10 +31,8 @@ import ( var createSecretHelmCmd = &cobra.Command{ Use: "helm [name]", Short: "Create or update a Kubernetes secret for Helm repository authentication", - Long: ` -The create secret helm command generates a Kubernetes secret with basic authentication credentials.`, - Example: ` - # Create a Helm authentication secret on disk and encrypt it with Mozilla SOPS + Long: `The create secret helm command generates a Kubernetes secret with basic authentication credentials.`, + Example: ` # Create a Helm authentication secret on disk and encrypt it with Mozilla SOPS flux create secret helm repo-auth \ --namespace=my-namespace \ --username=my-username \ @@ -44,14 +42,13 @@ The create secret helm command generates a Kubernetes secret with basic authenti sops --encrypt --encrypted-regex '^(data|stringData)$' \ --in-place repo-auth.yaml - # Create an authentication secret using a custom TLS cert + # Create a Helm authentication secret using a custom TLS cert flux create secret helm repo-auth \ --username=username \ --password=password \ --cert-file=./cert.crt \ --key-file=./key.crt \ - --ca-file=./ca.crt -`, + --ca-file=./ca.crt`, RunE: createSecretHelmCmdRun, } diff --git a/cmd/flux/create_secret_tls.go b/cmd/flux/create_secret_tls.go index 69882fa2..59334af6 100644 --- a/cmd/flux/create_secret_tls.go +++ b/cmd/flux/create_secret_tls.go @@ -32,10 +32,8 @@ import ( var createSecretTLSCmd = &cobra.Command{ Use: "tls [name]", Short: "Create or update a Kubernetes secret with TLS certificates", - Long: ` -The create secret tls command generates a Kubernetes secret with certificates for use with TLS.`, - Example: ` - # Create a TLS secret on disk and encrypt it with Mozilla SOPS. + Long: `The create secret tls command generates a Kubernetes secret with certificates for use with TLS.`, + Example: ` # Create a TLS secret on disk and encrypt it with Mozilla SOPS. # Files are expected to be PEM-encoded. flux create secret tls certs \ --namespace=my-namespace \ @@ -44,8 +42,7 @@ The create secret tls command generates a Kubernetes secret with certificates fo --export > certs.yaml sops --encrypt --encrypted-regex '^(data|stringData)$' \ - --in-place certs.yaml -`, + --in-place certs.yaml`, RunE: createSecretTLSCmdRun, } diff --git a/cmd/flux/create_source_bucket.go b/cmd/flux/create_source_bucket.go index 20063017..d0b67d43 100644 --- a/cmd/flux/create_source_bucket.go +++ b/cmd/flux/create_source_bucket.go @@ -40,10 +40,9 @@ import ( var createSourceBucketCmd = &cobra.Command{ Use: "bucket [name]", Short: "Create or update a Bucket source", - Long: ` -The create source bucket command generates a Bucket resource and waits for it to be downloaded. + Long: `The create source bucket command generates a Bucket resource and waits for it to be downloaded. For Buckets with static authentication, the credentials are stored in a Kubernetes secret.`, - Example: ` # Create a source from a Buckets using static authentication + Example: ` # Create a source for a Bucket using static authentication flux create source bucket podinfo \ --bucket-name=podinfo \ --endpoint=minio.minio.svc.cluster.local:9000 \ @@ -52,14 +51,13 @@ For Buckets with static authentication, the credentials are stored in a Kubernet --secret-key=mysecretkey \ --interval=10m - # Create a source from an Amazon S3 Bucket using IAM authentication + # Create a source for an Amazon S3 Bucket using IAM authentication flux create source bucket podinfo \ --bucket-name=podinfo \ --provider=aws \ --endpoint=s3.amazonaws.com \ --region=us-east-1 \ - --interval=10m -`, + --interval=10m`, RunE: createSourceBucketCmdRun, } diff --git a/cmd/flux/create_source_helm.go b/cmd/flux/create_source_helm.go index 174e7ed9..d9cbfdc4 100644 --- a/cmd/flux/create_source_helm.go +++ b/cmd/flux/create_source_helm.go @@ -43,27 +43,25 @@ import ( var createSourceHelmCmd = &cobra.Command{ Use: "helm [name]", Short: "Create or update a HelmRepository source", - Long: ` -The create source helm command generates a HelmRepository resource and waits for it to fetch the index. + Long: `The create source helm command generates a HelmRepository resource and waits for it to fetch the index. For private Helm repositories, the basic authentication credentials are stored in a Kubernetes secret.`, - Example: ` # Create a source from a public Helm repository + Example: ` # Create a source for a public Helm repository flux create source helm podinfo \ --url=https://stefanprodan.github.io/podinfo \ --interval=10m - # Create a source from a Helm repository using basic authentication + # Create a source for a Helm repository using basic authentication flux create source helm podinfo \ --url=https://stefanprodan.github.io/podinfo \ --username=username \ --password=password - # Create a source from a Helm repository using TLS authentication + # Create a source for a Helm repository using TLS authentication flux create source helm podinfo \ --url=https://stefanprodan.github.io/podinfo \ --cert-file=./cert.crt \ --key-file=./key.crt \ - --ca-file=./ca.crt -`, + --ca-file=./ca.crt`, RunE: createSourceHelmCmdRun, } diff --git a/cmd/flux/create_tenant.go b/cmd/flux/create_tenant.go index 3af59ca0..7c600329 100644 --- a/cmd/flux/create_tenant.go +++ b/cmd/flux/create_tenant.go @@ -37,8 +37,7 @@ import ( var createTenantCmd = &cobra.Command{ Use: "tenant", Short: "Create or update a tenant", - Long: ` -The create tenant command generates namespaces, service accounts and role bindings to limit the + Long: `The create tenant command generates namespaces, service accounts and role bindings to limit the reconcilers scope to the tenant namespaces.`, Example: ` # Create a tenant with access to a namespace flux create tenant dev-team \ @@ -49,8 +48,7 @@ reconcilers scope to the tenant namespaces.`, flux create tenant dev-team \ --with-namespace=frontend \ --with-namespace=backend \ - --export > dev-team.yaml -`, + --export > dev-team.yaml`, RunE: createTenantCmdRun, } diff --git a/cmd/flux/delete_alert.go b/cmd/flux/delete_alert.go index 6788c28b..bbce1356 100644 --- a/cmd/flux/delete_alert.go +++ b/cmd/flux/delete_alert.go @@ -26,8 +26,7 @@ var deleteAlertCmd = &cobra.Command{ Short: "Delete a Alert resource", Long: "The delete alert command removes the given Alert from the cluster.", Example: ` # Delete an Alert and the Kubernetes resources created by it - flux delete alert main -`, + flux delete alert main`, RunE: deleteCommand{ apiType: alertType, object: universalAdapter{¬ificationv1.Alert{}}, diff --git a/cmd/flux/delete_alertprovider.go b/cmd/flux/delete_alertprovider.go index 8a2e0377..bd24b7b6 100644 --- a/cmd/flux/delete_alertprovider.go +++ b/cmd/flux/delete_alertprovider.go @@ -26,8 +26,7 @@ var deleteAlertProviderCmd = &cobra.Command{ Short: "Delete a Provider resource", Long: "The delete alert-provider command removes the given Provider from the cluster.", Example: ` # Delete a Provider and the Kubernetes resources created by it - flux delete alert-provider slack -`, + flux delete alert-provider slack`, RunE: deleteCommand{ apiType: alertProviderType, object: universalAdapter{¬ificationv1.Provider{}}, diff --git a/cmd/flux/delete_helmrelease.go b/cmd/flux/delete_helmrelease.go index ee37b5ee..6d91861a 100644 --- a/cmd/flux/delete_helmrelease.go +++ b/cmd/flux/delete_helmrelease.go @@ -27,8 +27,7 @@ var deleteHelmReleaseCmd = &cobra.Command{ Short: "Delete a HelmRelease resource", Long: "The delete helmrelease command removes the given HelmRelease from the cluster.", Example: ` # Delete a Helm release and the Kubernetes resources created by it - flux delete hr podinfo -`, + flux delete hr podinfo`, RunE: deleteCommand{ apiType: helmReleaseType, object: universalAdapter{&helmv2.HelmRelease{}}, diff --git a/cmd/flux/delete_image_policy.go b/cmd/flux/delete_image_policy.go index e586c67d..bf4f5ad5 100644 --- a/cmd/flux/delete_image_policy.go +++ b/cmd/flux/delete_image_policy.go @@ -27,8 +27,7 @@ var deleteImagePolicyCmd = &cobra.Command{ Short: "Delete an ImagePolicy object", Long: "The delete image policy command deletes the given ImagePolicy from the cluster.", Example: ` # Delete an image policy - flux delete image policy alpine3.x -`, + flux delete image policy alpine3.x`, RunE: deleteCommand{ apiType: imagePolicyType, object: universalAdapter{&imagev1.ImagePolicy{}}, diff --git a/cmd/flux/delete_image_repository.go b/cmd/flux/delete_image_repository.go index 0038fb96..6b1d50be 100644 --- a/cmd/flux/delete_image_repository.go +++ b/cmd/flux/delete_image_repository.go @@ -27,8 +27,7 @@ var deleteImageRepositoryCmd = &cobra.Command{ Short: "Delete an ImageRepository object", Long: "The delete image repository command deletes the given ImageRepository from the cluster.", Example: ` # Delete an image repository - flux delete image repository alpine -`, + flux delete image repository alpine`, RunE: deleteCommand{ apiType: imageRepositoryType, object: universalAdapter{&imagev1.ImageRepository{}}, diff --git a/cmd/flux/delete_image_update.go b/cmd/flux/delete_image_update.go index a5281152..f419aa2c 100644 --- a/cmd/flux/delete_image_update.go +++ b/cmd/flux/delete_image_update.go @@ -27,8 +27,7 @@ var deleteImageUpdateCmd = &cobra.Command{ Short: "Delete an ImageUpdateAutomation object", Long: "The delete image update command deletes the given ImageUpdateAutomation from the cluster.", Example: ` # Delete an image update automation - flux delete image update latest-images -`, + flux delete image update latest-images`, RunE: deleteCommand{ apiType: imageUpdateAutomationType, object: universalAdapter{&autov1.ImageUpdateAutomation{}}, diff --git a/cmd/flux/delete_kustomization.go b/cmd/flux/delete_kustomization.go index 7e1ee3a5..8be71f41 100644 --- a/cmd/flux/delete_kustomization.go +++ b/cmd/flux/delete_kustomization.go @@ -27,8 +27,7 @@ var deleteKsCmd = &cobra.Command{ Short: "Delete a Kustomization resource", Long: "The delete kustomization command deletes the given Kustomization from the cluster.", Example: ` # Delete a kustomization and the Kubernetes resources created by it - flux delete kustomization podinfo -`, + flux delete kustomization podinfo`, RunE: deleteCommand{ apiType: kustomizationType, object: universalAdapter{&kustomizev1.Kustomization{}}, diff --git a/cmd/flux/delete_receiver.go b/cmd/flux/delete_receiver.go index 489640ba..11f45192 100644 --- a/cmd/flux/delete_receiver.go +++ b/cmd/flux/delete_receiver.go @@ -26,8 +26,7 @@ var deleteReceiverCmd = &cobra.Command{ Short: "Delete a Receiver resource", Long: "The delete receiver command removes the given Receiver from the cluster.", Example: ` # Delete an Receiver and the Kubernetes resources created by it - flux delete receiver main -`, + flux delete receiver main`, RunE: deleteCommand{ apiType: receiverType, object: universalAdapter{¬ificationv1.Receiver{}}, diff --git a/cmd/flux/delete_source_bucket.go b/cmd/flux/delete_source_bucket.go index ee1bdd24..2c19e729 100644 --- a/cmd/flux/delete_source_bucket.go +++ b/cmd/flux/delete_source_bucket.go @@ -26,8 +26,7 @@ var deleteSourceBucketCmd = &cobra.Command{ Short: "Delete a Bucket source", Long: "The delete source bucket command deletes the given Bucket from the cluster.", Example: ` # Delete a Bucket source - flux delete source bucket podinfo -`, + flux delete source bucket podinfo`, RunE: deleteCommand{ apiType: bucketType, object: universalAdapter{&sourcev1.Bucket{}}, diff --git a/cmd/flux/delete_source_git.go b/cmd/flux/delete_source_git.go index b7cbb7b8..c5123672 100644 --- a/cmd/flux/delete_source_git.go +++ b/cmd/flux/delete_source_git.go @@ -26,8 +26,7 @@ var deleteSourceGitCmd = &cobra.Command{ Short: "Delete a GitRepository source", Long: "The delete source git command deletes the given GitRepository from the cluster.", Example: ` # Delete a Git repository - flux delete source git podinfo -`, + flux delete source git podinfo`, RunE: deleteCommand{ apiType: gitRepositoryType, object: universalAdapter{&sourcev1.GitRepository{}}, diff --git a/cmd/flux/delete_source_helm.go b/cmd/flux/delete_source_helm.go index a744eaae..b6e9eff3 100644 --- a/cmd/flux/delete_source_helm.go +++ b/cmd/flux/delete_source_helm.go @@ -26,8 +26,7 @@ var deleteSourceHelmCmd = &cobra.Command{ Short: "Delete a HelmRepository source", Long: "The delete source helm command deletes the given HelmRepository from the cluster.", Example: ` # Delete a Helm repository - flux delete source helm podinfo -`, + flux delete source helm podinfo`, RunE: deleteCommand{ apiType: helmRepositoryType, object: universalAdapter{&sourcev1.HelmRepository{}}, diff --git a/cmd/flux/export_alert.go b/cmd/flux/export_alert.go index cbb45fa7..074a43e1 100644 --- a/cmd/flux/export_alert.go +++ b/cmd/flux/export_alert.go @@ -30,8 +30,7 @@ var exportAlertCmd = &cobra.Command{ flux export alert --all > alerts.yaml # Export a Alert - flux export alert main > main.yaml -`, + flux export alert main > main.yaml`, RunE: exportCommand{ object: alertAdapter{¬ificationv1.Alert{}}, list: alertListAdapter{¬ificationv1.AlertList{}}, diff --git a/cmd/flux/export_alertprovider.go b/cmd/flux/export_alertprovider.go index f144dd93..4288107e 100644 --- a/cmd/flux/export_alertprovider.go +++ b/cmd/flux/export_alertprovider.go @@ -30,8 +30,7 @@ var exportAlertProviderCmd = &cobra.Command{ flux export alert-provider --all > alert-providers.yaml # Export a Provider - flux export alert-provider slack > slack.yaml -`, + flux export alert-provider slack > slack.yaml`, RunE: exportCommand{ object: alertProviderAdapter{¬ificationv1.Provider{}}, list: alertProviderListAdapter{¬ificationv1.ProviderList{}}, diff --git a/cmd/flux/export_helmrelease.go b/cmd/flux/export_helmrelease.go index fb19b659..2a5d90bb 100644 --- a/cmd/flux/export_helmrelease.go +++ b/cmd/flux/export_helmrelease.go @@ -31,8 +31,7 @@ var exportHelmReleaseCmd = &cobra.Command{ flux export helmrelease --all > kustomizations.yaml # Export a HelmRelease - flux export hr my-app > app-release.yaml -`, + flux export hr my-app > app-release.yaml`, RunE: exportCommand{ object: helmReleaseAdapter{&helmv2.HelmRelease{}}, list: helmReleaseListAdapter{&helmv2.HelmReleaseList{}}, diff --git a/cmd/flux/export_image_policy.go b/cmd/flux/export_image_policy.go index 3ee55f2e..6eb546bb 100644 --- a/cmd/flux/export_image_policy.go +++ b/cmd/flux/export_image_policy.go @@ -31,8 +31,7 @@ var exportImagePolicyCmd = &cobra.Command{ flux export image policy --all > image-policies.yaml # Export a specific policy - flux export image policy alpine1x > alpine1x.yaml -`, + flux export image policy alpine1x > alpine1x.yaml`, RunE: exportCommand{ object: imagePolicyAdapter{&imagev1.ImagePolicy{}}, list: imagePolicyListAdapter{&imagev1.ImagePolicyList{}}, diff --git a/cmd/flux/export_image_repository.go b/cmd/flux/export_image_repository.go index 25c6e96c..6f9484f8 100644 --- a/cmd/flux/export_image_repository.go +++ b/cmd/flux/export_image_repository.go @@ -31,8 +31,7 @@ var exportImageRepositoryCmd = &cobra.Command{ flux export image repository --all > image-repositories.yaml # Export a specific ImageRepository resource - flux export image repository alpine > alpine.yaml -`, + flux export image repository alpine > alpine.yaml`, RunE: exportCommand{ object: imageRepositoryAdapter{&imagev1.ImageRepository{}}, list: imageRepositoryListAdapter{&imagev1.ImageRepositoryList{}}, diff --git a/cmd/flux/export_image_update.go b/cmd/flux/export_image_update.go index 21f89d36..761ad2f1 100644 --- a/cmd/flux/export_image_update.go +++ b/cmd/flux/export_image_update.go @@ -31,8 +31,7 @@ var exportImageUpdateCmd = &cobra.Command{ flux export image update --all > updates.yaml # Export a specific automation - flux export image update latest-images > latest.yaml -`, + flux export image update latest-images > latest.yaml`, RunE: exportCommand{ object: imageUpdateAutomationAdapter{&autov1.ImageUpdateAutomation{}}, list: imageUpdateAutomationListAdapter{&autov1.ImageUpdateAutomationList{}}, diff --git a/cmd/flux/export_kustomization.go b/cmd/flux/export_kustomization.go index 39324443..7ff3fa82 100644 --- a/cmd/flux/export_kustomization.go +++ b/cmd/flux/export_kustomization.go @@ -31,8 +31,7 @@ var exportKsCmd = &cobra.Command{ flux export kustomization --all > kustomizations.yaml # Export a Kustomization - flux export kustomization my-app > kustomization.yaml -`, + flux export kustomization my-app > kustomization.yaml`, RunE: exportCommand{ object: kustomizationAdapter{&kustomizev1.Kustomization{}}, list: kustomizationListAdapter{&kustomizev1.KustomizationList{}}, diff --git a/cmd/flux/export_receiver.go b/cmd/flux/export_receiver.go index 771ceb58..4a798ebf 100644 --- a/cmd/flux/export_receiver.go +++ b/cmd/flux/export_receiver.go @@ -30,8 +30,7 @@ var exportReceiverCmd = &cobra.Command{ flux export receiver --all > receivers.yaml # Export a Receiver - flux export receiver main > main.yaml -`, + flux export receiver main > main.yaml`, RunE: exportCommand{ list: receiverListAdapter{¬ificationv1.ReceiverList{}}, object: receiverAdapter{¬ificationv1.Receiver{}}, diff --git a/cmd/flux/export_source_bucket.go b/cmd/flux/export_source_bucket.go index 8e8c245b..6d9652df 100644 --- a/cmd/flux/export_source_bucket.go +++ b/cmd/flux/export_source_bucket.go @@ -31,8 +31,7 @@ var exportSourceBucketCmd = &cobra.Command{ flux export source bucket --all > sources.yaml # Export a Bucket source including the static credentials - flux export source bucket my-bucket --with-credentials > source.yaml -`, + flux export source bucket my-bucket --with-credentials > source.yaml`, RunE: exportWithSecretCommand{ list: bucketListAdapter{&sourcev1.BucketList{}}, object: bucketAdapter{&sourcev1.Bucket{}}, diff --git a/cmd/flux/export_source_git.go b/cmd/flux/export_source_git.go index ebe2352d..aeda9cd8 100644 --- a/cmd/flux/export_source_git.go +++ b/cmd/flux/export_source_git.go @@ -31,8 +31,7 @@ var exportSourceGitCmd = &cobra.Command{ flux export source git --all > sources.yaml # Export a GitRepository source including the SSH key pair or basic auth credentials - flux export source git my-private-repo --with-credentials > source.yaml -`, + flux export source git my-private-repo --with-credentials > source.yaml`, RunE: exportWithSecretCommand{ object: gitRepositoryAdapter{&sourcev1.GitRepository{}}, list: gitRepositoryListAdapter{&sourcev1.GitRepositoryList{}}, diff --git a/cmd/flux/export_source_helm.go b/cmd/flux/export_source_helm.go index 53f79ae7..e12d1f80 100644 --- a/cmd/flux/export_source_helm.go +++ b/cmd/flux/export_source_helm.go @@ -31,8 +31,7 @@ var exportSourceHelmCmd = &cobra.Command{ flux export source helm --all > sources.yaml # Export a HelmRepository source including the basic auth credentials - flux export source helm my-private-repo --with-credentials > source.yaml -`, + flux export source helm my-private-repo --with-credentials > source.yaml`, RunE: exportWithSecretCommand{ list: helmRepositoryListAdapter{&sourcev1.HelmRepositoryList{}}, object: helmRepositoryAdapter{&sourcev1.HelmRepository{}}, diff --git a/cmd/flux/get_alert.go b/cmd/flux/get_alert.go index e6c4a615..279dd602 100644 --- a/cmd/flux/get_alert.go +++ b/cmd/flux/get_alert.go @@ -30,8 +30,7 @@ var getAlertCmd = &cobra.Command{ Short: "Get Alert statuses", Long: "The get alert command prints the statuses of the resources.", Example: ` # List all Alerts and their status - flux get alerts -`, + flux get alerts`, RunE: getCommand{ apiType: alertType, list: &alertListAdapter{¬ificationv1.AlertList{}}, diff --git a/cmd/flux/get_alertprovider.go b/cmd/flux/get_alertprovider.go index f0c5b8fe..6a7756d0 100644 --- a/cmd/flux/get_alertprovider.go +++ b/cmd/flux/get_alertprovider.go @@ -27,8 +27,7 @@ var getAlertProviderCmd = &cobra.Command{ Short: "Get Provider statuses", Long: "The get alert-provider command prints the statuses of the resources.", Example: ` # List all Providers and their status - flux get alert-providers -`, + flux get alert-providers`, RunE: getCommand{ apiType: alertProviderType, list: alertProviderListAdapter{¬ificationv1.ProviderList{}}, diff --git a/cmd/flux/get_helmrelease.go b/cmd/flux/get_helmrelease.go index b88c1cab..8737b93f 100644 --- a/cmd/flux/get_helmrelease.go +++ b/cmd/flux/get_helmrelease.go @@ -30,8 +30,7 @@ var getHelmReleaseCmd = &cobra.Command{ Short: "Get HelmRelease statuses", Long: "The get helmreleases command prints the statuses of the resources.", Example: ` # List all Helm releases and their status - flux get helmreleases -`, + flux get helmreleases`, RunE: getCommand{ apiType: helmReleaseType, list: &helmReleaseListAdapter{&helmv2.HelmReleaseList{}}, diff --git a/cmd/flux/get_image_all.go b/cmd/flux/get_image_all.go index d934f186..79162beb 100644 --- a/cmd/flux/get_image_all.go +++ b/cmd/flux/get_image_all.go @@ -30,8 +30,7 @@ var getImageAllCmd = &cobra.Command{ flux get images all --namespace=flux-system # List all image objects in all namespaces - flux get images all --all-namespaces -`, + flux get images all --all-namespaces`, RunE: func(cmd *cobra.Command, args []string) error { c := getCommand{ apiType: imageRepositoryType, diff --git a/cmd/flux/get_image_policy.go b/cmd/flux/get_image_policy.go index a999b74e..0d010528 100644 --- a/cmd/flux/get_image_policy.go +++ b/cmd/flux/get_image_policy.go @@ -30,8 +30,7 @@ var getImagePolicyCmd = &cobra.Command{ flux get image policy # List image policies from all namespaces - flux get image policy --all-namespaces -`, + flux get image policy --all-namespaces`, RunE: getCommand{ apiType: imagePolicyType, list: &imagePolicyListAdapter{&imagev1.ImagePolicyList{}}, diff --git a/cmd/flux/get_image_repository.go b/cmd/flux/get_image_repository.go index 1e643153..707d01a2 100644 --- a/cmd/flux/get_image_repository.go +++ b/cmd/flux/get_image_repository.go @@ -34,8 +34,7 @@ var getImageRepositoryCmd = &cobra.Command{ flux get image repository # List image repositories from all namespaces - flux get image repository --all-namespaces -`, + flux get image repository --all-namespaces`, RunE: getCommand{ apiType: imageRepositoryType, list: imageRepositoryListAdapter{&imagev1.ImageRepositoryList{}}, diff --git a/cmd/flux/get_image_update.go b/cmd/flux/get_image_update.go index fc96e4f2..a2aae04a 100644 --- a/cmd/flux/get_image_update.go +++ b/cmd/flux/get_image_update.go @@ -34,8 +34,7 @@ var getImageUpdateCmd = &cobra.Command{ flux get image update # List image update automations from all namespaces - flux get image update --all-namespaces -`, + flux get image update --all-namespaces`, RunE: getCommand{ apiType: imageUpdateAutomationType, list: &imageUpdateAutomationListAdapter{&autov1.ImageUpdateAutomationList{}}, diff --git a/cmd/flux/get_kustomization.go b/cmd/flux/get_kustomization.go index c5b9e4f4..570b428e 100644 --- a/cmd/flux/get_kustomization.go +++ b/cmd/flux/get_kustomization.go @@ -30,8 +30,7 @@ var getKsCmd = &cobra.Command{ Short: "Get Kustomization statuses", Long: "The get kustomizations command prints the statuses of the resources.", Example: ` # List all kustomizations and their status - flux get kustomizations -`, + flux get kustomizations`, RunE: getCommand{ apiType: kustomizationType, list: &kustomizationListAdapter{&kustomizev1.KustomizationList{}}, diff --git a/cmd/flux/get_receiver.go b/cmd/flux/get_receiver.go index d58ced0c..7009458f 100644 --- a/cmd/flux/get_receiver.go +++ b/cmd/flux/get_receiver.go @@ -30,8 +30,7 @@ var getReceiverCmd = &cobra.Command{ Short: "Get Receiver statuses", Long: "The get receiver command prints the statuses of the resources.", Example: ` # List all Receiver and their status - flux get receivers -`, + flux get receivers`, RunE: getCommand{ apiType: receiverType, list: receiverListAdapter{¬ificationv1.ReceiverList{}}, diff --git a/cmd/flux/get_source_all.go b/cmd/flux/get_source_all.go index 26fa2261..8a64725e 100644 --- a/cmd/flux/get_source_all.go +++ b/cmd/flux/get_source_all.go @@ -29,8 +29,7 @@ var getSourceAllCmd = &cobra.Command{ flux get sources all --namespace=flux-system # List all sources in all namespaces - flux get sources all --all-namespaces -`, + flux get sources all --all-namespaces`, RunE: func(cmd *cobra.Command, args []string) error { c := getCommand{ apiType: bucketType, diff --git a/cmd/flux/get_source_bucket.go b/cmd/flux/get_source_bucket.go index f141a3db..f487d2d3 100644 --- a/cmd/flux/get_source_bucket.go +++ b/cmd/flux/get_source_bucket.go @@ -32,8 +32,7 @@ var getSourceBucketCmd = &cobra.Command{ flux get sources bucket # List buckets from all namespaces - flux get sources helm --all-namespaces -`, + flux get sources helm --all-namespaces`, RunE: getCommand{ apiType: bucketType, list: &bucketListAdapter{&sourcev1.BucketList{}}, diff --git a/cmd/flux/get_source_chart.go b/cmd/flux/get_source_chart.go index c2763d03..4e06acbc 100644 --- a/cmd/flux/get_source_chart.go +++ b/cmd/flux/get_source_chart.go @@ -32,8 +32,7 @@ var getSourceHelmChartCmd = &cobra.Command{ flux get sources chart # List Helm charts from all namespaces - flux get sources chart --all-namespaces -`, + flux get sources chart --all-namespaces`, RunE: getCommand{ apiType: helmChartType, list: &helmChartListAdapter{&sourcev1.HelmChartList{}}, diff --git a/cmd/flux/get_source_git.go b/cmd/flux/get_source_git.go index c81162fb..f75982d0 100644 --- a/cmd/flux/get_source_git.go +++ b/cmd/flux/get_source_git.go @@ -32,8 +32,7 @@ var getSourceGitCmd = &cobra.Command{ flux get sources git # List Git repositories from all namespaces - flux get sources git --all-namespaces -`, + flux get sources git --all-namespaces`, RunE: getCommand{ apiType: gitRepositoryType, list: &gitRepositoryListAdapter{&sourcev1.GitRepositoryList{}}, diff --git a/cmd/flux/get_source_helm.go b/cmd/flux/get_source_helm.go index 5da8aa56..63f22d83 100644 --- a/cmd/flux/get_source_helm.go +++ b/cmd/flux/get_source_helm.go @@ -32,8 +32,7 @@ var getSourceHelmCmd = &cobra.Command{ flux get sources helm # List Helm repositories from all namespaces - flux get sources helm --all-namespaces -`, + flux get sources helm --all-namespaces`, RunE: getCommand{ apiType: helmRepositoryType, list: &helmRepositoryListAdapter{&sourcev1.HelmRepositoryList{}}, diff --git a/cmd/flux/install.go b/cmd/flux/install.go index fbbc586b..75715fa6 100644 --- a/cmd/flux/install.go +++ b/cmd/flux/install.go @@ -51,8 +51,7 @@ If a previous version is installed, then an in-place upgrade will be performed.` flux install --dry-run --verbose # Write install manifests to file - flux install --export > flux-system.yaml -`, + flux install --export > flux-system.yaml`, RunE: installCmdRun, } diff --git a/cmd/flux/main.go b/cmd/flux/main.go index c86a94d4..9295e83e 100644 --- a/cmd/flux/main.go +++ b/cmd/flux/main.go @@ -36,14 +36,15 @@ var rootCmd = &cobra.Command{ SilenceUsage: true, SilenceErrors: true, Short: "Command line utility for assembling Kubernetes CD pipelines", - Long: `Command line utility for assembling Kubernetes CD pipelines the GitOps way.`, + Long: ` +Command line utility for assembling Kubernetes CD pipelines the GitOps way.`, Example: ` # Check prerequisites flux check --pre # Install the latest version of Flux flux install --version=master - # Create a source from a public Git repository + # Create a source for a public Git repository flux create source git webapp-latest \ --url=https://github.com/stefanprodan/podinfo \ --branch=master \ @@ -88,8 +89,7 @@ var rootCmd = &cobra.Command{ flux delete source git webapp-latest # Uninstall Flux and delete CRDs - flux uninstall -`, + flux uninstall`, } var logger = stderrLogger{stderr: os.Stderr} diff --git a/cmd/flux/reconcile_alert.go b/cmd/flux/reconcile_alert.go index d210685a..e5930bb6 100644 --- a/cmd/flux/reconcile_alert.go +++ b/cmd/flux/reconcile_alert.go @@ -36,8 +36,7 @@ var reconcileAlertCmd = &cobra.Command{ Short: "Reconcile an Alert", Long: `The reconcile alert command triggers a reconciliation of an Alert resource and waits for it to finish.`, Example: ` # Trigger a reconciliation for an existing alert - flux reconcile alert main -`, + flux reconcile alert main`, RunE: reconcileAlertCmdRun, } diff --git a/cmd/flux/reconcile_alertprovider.go b/cmd/flux/reconcile_alertprovider.go index 70644db4..14d6f379 100644 --- a/cmd/flux/reconcile_alertprovider.go +++ b/cmd/flux/reconcile_alertprovider.go @@ -36,8 +36,7 @@ var reconcileAlertProviderCmd = &cobra.Command{ Short: "Reconcile a Provider", Long: `The reconcile alert-provider command triggers a reconciliation of a Provider resource and waits for it to finish.`, Example: ` # Trigger a reconciliation for an existing provider - flux reconcile alert-provider slack -`, + flux reconcile alert-provider slack`, RunE: reconcileAlertProviderCmdRun, } diff --git a/cmd/flux/reconcile_helmrelease.go b/cmd/flux/reconcile_helmrelease.go index 5d919582..9cc73d02 100644 --- a/cmd/flux/reconcile_helmrelease.go +++ b/cmd/flux/reconcile_helmrelease.go @@ -46,8 +46,7 @@ The reconcile kustomization command triggers a reconciliation of a HelmRelease r flux reconcile hr podinfo # Trigger a reconciliation of the HelmRelease's source and apply changes - flux reconcile hr podinfo --with-source -`, + flux reconcile hr podinfo --with-source`, RunE: reconcileHrCmdRun, } diff --git a/cmd/flux/reconcile_image_repository.go b/cmd/flux/reconcile_image_repository.go index e7a2d888..0c4ceaca 100644 --- a/cmd/flux/reconcile_image_repository.go +++ b/cmd/flux/reconcile_image_repository.go @@ -29,8 +29,7 @@ var reconcileImageRepositoryCmd = &cobra.Command{ Short: "Reconcile an ImageRepository", Long: `The reconcile image repository command triggers a reconciliation of an ImageRepository resource and waits for it to finish.`, Example: ` # Trigger an scan for an existing image repository - flux reconcile image repository alpine -`, + flux reconcile image repository alpine`, RunE: reconcileCommand{ apiType: imageRepositoryType, object: imageRepositoryAdapter{&imagev1.ImageRepository{}}, diff --git a/cmd/flux/reconcile_image_updateauto.go b/cmd/flux/reconcile_image_updateauto.go index 9aed9ebe..a7620312 100644 --- a/cmd/flux/reconcile_image_updateauto.go +++ b/cmd/flux/reconcile_image_updateauto.go @@ -31,8 +31,7 @@ var reconcileImageUpdateCmd = &cobra.Command{ Short: "Reconcile an ImageUpdateAutomation", Long: `The reconcile image update command triggers a reconciliation of an ImageUpdateAutomation resource and waits for it to finish.`, Example: ` # Trigger an automation run for an existing image update automation - flux reconcile image update latest-images -`, + flux reconcile image update latest-images`, RunE: reconcileCommand{ apiType: imageUpdateAutomationType, object: imageUpdateAutomationAdapter{&autov1.ImageUpdateAutomation{}}, diff --git a/cmd/flux/reconcile_kustomization.go b/cmd/flux/reconcile_kustomization.go index 1b0aaaa0..d40c2311 100644 --- a/cmd/flux/reconcile_kustomization.go +++ b/cmd/flux/reconcile_kustomization.go @@ -45,8 +45,7 @@ The reconcile kustomization command triggers a reconciliation of a Kustomization flux reconcile kustomization podinfo # Trigger a sync of the Kustomization's source and apply changes - flux reconcile kustomization podinfo --with-source -`, + flux reconcile kustomization podinfo --with-source`, RunE: reconcileKsCmdRun, } diff --git a/cmd/flux/reconcile_receiver.go b/cmd/flux/reconcile_receiver.go index 25cdeb99..39e45ed5 100644 --- a/cmd/flux/reconcile_receiver.go +++ b/cmd/flux/reconcile_receiver.go @@ -36,8 +36,7 @@ var reconcileReceiverCmd = &cobra.Command{ Short: "Reconcile a Receiver", Long: `The reconcile receiver command triggers a reconciliation of a Receiver resource and waits for it to finish.`, Example: ` # Trigger a reconciliation for an existing receiver - flux reconcile receiver main -`, + flux reconcile receiver main`, RunE: reconcileReceiverCmdRun, } diff --git a/cmd/flux/reconcile_source_bucket.go b/cmd/flux/reconcile_source_bucket.go index 143718f2..3955747c 100644 --- a/cmd/flux/reconcile_source_bucket.go +++ b/cmd/flux/reconcile_source_bucket.go @@ -35,8 +35,7 @@ var reconcileSourceBucketCmd = &cobra.Command{ Short: "Reconcile a Bucket source", Long: `The reconcile source command triggers a reconciliation of a Bucket resource and waits for it to finish.`, Example: ` # Trigger a reconciliation for an existing source - flux reconcile source bucket podinfo -`, + flux reconcile source bucket podinfo`, RunE: reconcileCommand{ apiType: bucketType, object: bucketAdapter{&sourcev1.Bucket{}}, diff --git a/cmd/flux/reconcile_source_git.go b/cmd/flux/reconcile_source_git.go index c737e67b..98eb67de 100644 --- a/cmd/flux/reconcile_source_git.go +++ b/cmd/flux/reconcile_source_git.go @@ -27,8 +27,7 @@ var reconcileSourceGitCmd = &cobra.Command{ Short: "Reconcile a GitRepository source", Long: `The reconcile source command triggers a reconciliation of a GitRepository resource and waits for it to finish.`, Example: ` # Trigger a git pull for an existing source - flux reconcile source git podinfo -`, + flux reconcile source git podinfo`, RunE: reconcileCommand{ apiType: gitRepositoryType, object: gitRepositoryAdapter{&sourcev1.GitRepository{}}, diff --git a/cmd/flux/reconcile_source_helm.go b/cmd/flux/reconcile_source_helm.go index e72d711f..34455cef 100644 --- a/cmd/flux/reconcile_source_helm.go +++ b/cmd/flux/reconcile_source_helm.go @@ -27,8 +27,7 @@ var reconcileSourceHelmCmd = &cobra.Command{ Short: "Reconcile a HelmRepository source", Long: `The reconcile source command triggers a reconciliation of a HelmRepository resource and waits for it to finish.`, Example: ` # Trigger a reconciliation for an existing source - flux reconcile source helm podinfo -`, + flux reconcile source helm podinfo`, RunE: reconcileCommand{ apiType: helmRepositoryType, object: helmRepositoryAdapter{&sourcev1.HelmRepository{}}, diff --git a/cmd/flux/resume_alert.go b/cmd/flux/resume_alert.go index 329c32dd..7a7ef325 100644 --- a/cmd/flux/resume_alert.go +++ b/cmd/flux/resume_alert.go @@ -39,8 +39,7 @@ var resumeAlertCmd = &cobra.Command{ Long: `The resume command marks a previously suspended Alert resource for reconciliation and waits for it to finish the apply.`, Example: ` # Resume reconciliation for an existing Alert - flux resume alert main -`, + flux resume alert main`, RunE: resumeAlertCmdRun, } diff --git a/cmd/flux/resume_helmrelease.go b/cmd/flux/resume_helmrelease.go index b9ede2c9..9cb51b05 100644 --- a/cmd/flux/resume_helmrelease.go +++ b/cmd/flux/resume_helmrelease.go @@ -29,8 +29,7 @@ var resumeHrCmd = &cobra.Command{ Long: `The resume command marks a previously suspended HelmRelease resource for reconciliation and waits for it to finish the apply.`, Example: ` # Resume reconciliation for an existing Helm release - flux resume hr podinfo -`, + flux resume hr podinfo`, RunE: resumeCommand{ apiType: helmReleaseType, object: helmReleaseAdapter{&helmv2.HelmRelease{}}, diff --git a/cmd/flux/resume_image_repository.go b/cmd/flux/resume_image_repository.go index 662d2aec..f1567817 100644 --- a/cmd/flux/resume_image_repository.go +++ b/cmd/flux/resume_image_repository.go @@ -27,8 +27,7 @@ var resumeImageRepositoryCmd = &cobra.Command{ Short: "Resume a suspended ImageRepository", Long: `The resume command marks a previously suspended ImageRepository resource for reconciliation and waits for it to finish.`, Example: ` # Resume reconciliation for an existing ImageRepository - flux resume image repository alpine -`, + flux resume image repository alpine`, RunE: resumeCommand{ apiType: imageRepositoryType, object: imageRepositoryAdapter{&imagev1.ImageRepository{}}, diff --git a/cmd/flux/resume_image_updateauto.go b/cmd/flux/resume_image_updateauto.go index adc92121..6e7152c0 100644 --- a/cmd/flux/resume_image_updateauto.go +++ b/cmd/flux/resume_image_updateauto.go @@ -27,8 +27,7 @@ var resumeImageUpdateCmd = &cobra.Command{ Short: "Resume a suspended ImageUpdateAutomation", Long: `The resume command marks a previously suspended ImageUpdateAutomation resource for reconciliation and waits for it to finish.`, Example: ` # Resume reconciliation for an existing ImageUpdateAutomation - flux resume image update latest-images -`, + flux resume image update latest-images`, RunE: resumeCommand{ apiType: imageUpdateAutomationType, object: imageUpdateAutomationAdapter{&autov1.ImageUpdateAutomation{}}, diff --git a/cmd/flux/resume_kustomization.go b/cmd/flux/resume_kustomization.go index d7d0d35a..d3edc964 100644 --- a/cmd/flux/resume_kustomization.go +++ b/cmd/flux/resume_kustomization.go @@ -30,8 +30,7 @@ var resumeKsCmd = &cobra.Command{ Long: `The resume command marks a previously suspended Kustomization resource for reconciliation and waits for it to finish the apply.`, Example: ` # Resume reconciliation for an existing Kustomization - flux resume ks podinfo -`, + flux resume ks podinfo`, RunE: resumeCommand{ apiType: kustomizationType, object: kustomizationAdapter{&kustomizev1.Kustomization{}}, diff --git a/cmd/flux/resume_receiver.go b/cmd/flux/resume_receiver.go index 8302edf6..cab98b4a 100644 --- a/cmd/flux/resume_receiver.go +++ b/cmd/flux/resume_receiver.go @@ -39,8 +39,7 @@ var resumeReceiverCmd = &cobra.Command{ Long: `The resume command marks a previously suspended Receiver resource for reconciliation and waits for it to finish the apply.`, Example: ` # Resume reconciliation for an existing Receiver - flux resume receiver main -`, + flux resume receiver main`, RunE: resumeReceiverCmdRun, } diff --git a/cmd/flux/resume_source_bucket.go b/cmd/flux/resume_source_bucket.go index 2b094986..a73b7a90 100644 --- a/cmd/flux/resume_source_bucket.go +++ b/cmd/flux/resume_source_bucket.go @@ -26,8 +26,7 @@ var resumeSourceBucketCmd = &cobra.Command{ Short: "Resume a suspended Bucket", Long: `The resume command marks a previously suspended Bucket resource for reconciliation and waits for it to finish.`, Example: ` # Resume reconciliation for an existing Bucket - flux resume source bucket podinfo -`, + flux resume source bucket podinfo`, RunE: resumeCommand{ apiType: bucketType, object: &bucketAdapter{&sourcev1.Bucket{}}, diff --git a/cmd/flux/resume_source_chart.go b/cmd/flux/resume_source_chart.go index 8f58fd6e..c4d47f38 100644 --- a/cmd/flux/resume_source_chart.go +++ b/cmd/flux/resume_source_chart.go @@ -28,8 +28,7 @@ var resumeSourceHelmChartCmd = &cobra.Command{ Short: "Resume a suspended HelmChart", Long: `The resume command marks a previously suspended HelmChart resource for reconciliation and waits for it to finish.`, Example: ` # Resume reconciliation for an existing HelmChart - flux resume source chart podinfo -`, + flux resume source chart podinfo`, RunE: resumeCommand{ apiType: helmChartType, object: &helmChartAdapter{&sourcev1.HelmChart{}}, diff --git a/cmd/flux/resume_source_git.go b/cmd/flux/resume_source_git.go index 44ccd58f..38033695 100644 --- a/cmd/flux/resume_source_git.go +++ b/cmd/flux/resume_source_git.go @@ -26,8 +26,7 @@ var resumeSourceGitCmd = &cobra.Command{ Short: "Resume a suspended GitRepository", Long: `The resume command marks a previously suspended GitRepository resource for reconciliation and waits for it to finish.`, Example: ` # Resume reconciliation for an existing GitRepository - flux resume source git podinfo -`, + flux resume source git podinfo`, RunE: resumeCommand{ apiType: gitRepositoryType, object: gitRepositoryAdapter{&sourcev1.GitRepository{}}, diff --git a/cmd/flux/resume_source_helm.go b/cmd/flux/resume_source_helm.go index f266c7f1..1dc10df4 100644 --- a/cmd/flux/resume_source_helm.go +++ b/cmd/flux/resume_source_helm.go @@ -26,8 +26,7 @@ var resumeSourceHelmCmd = &cobra.Command{ Short: "Resume a suspended HelmRepository", Long: `The resume command marks a previously suspended HelmRepository resource for reconciliation and waits for it to finish.`, Example: ` # Resume reconciliation for an existing HelmRepository - flux resume source helm bitnami -`, + flux resume source helm bitnami`, RunE: resumeCommand{ apiType: helmRepositoryType, object: helmRepositoryAdapter{&sourcev1.HelmRepository{}}, diff --git a/cmd/flux/suspend_alert.go b/cmd/flux/suspend_alert.go index 3c215658..1997a645 100644 --- a/cmd/flux/suspend_alert.go +++ b/cmd/flux/suspend_alert.go @@ -32,8 +32,7 @@ var suspendAlertCmd = &cobra.Command{ Short: "Suspend reconciliation of Alert", Long: "The suspend command disables the reconciliation of a Alert resource.", Example: ` # Suspend reconciliation for an existing Alert - flux suspend alert main -`, + flux suspend alert main`, RunE: suspendAlertCmdRun, } diff --git a/cmd/flux/suspend_helmrelease.go b/cmd/flux/suspend_helmrelease.go index fd76f5d4..3a558c02 100644 --- a/cmd/flux/suspend_helmrelease.go +++ b/cmd/flux/suspend_helmrelease.go @@ -27,8 +27,7 @@ var suspendHrCmd = &cobra.Command{ Short: "Suspend reconciliation of HelmRelease", Long: "The suspend command disables the reconciliation of a HelmRelease resource.", Example: ` # Suspend reconciliation for an existing Helm release - flux suspend hr podinfo -`, + flux suspend hr podinfo`, RunE: suspendCommand{ apiType: helmReleaseType, object: &helmReleaseAdapter{&helmv2.HelmRelease{}}, diff --git a/cmd/flux/suspend_image_repository.go b/cmd/flux/suspend_image_repository.go index 77540a25..c0315f72 100644 --- a/cmd/flux/suspend_image_repository.go +++ b/cmd/flux/suspend_image_repository.go @@ -27,8 +27,7 @@ var suspendImageRepositoryCmd = &cobra.Command{ Short: "Suspend reconciliation of an ImageRepository", Long: "The suspend image repository command disables the reconciliation of a ImageRepository resource.", Example: ` # Suspend reconciliation for an existing ImageRepository - flux suspend image repository alpine -`, + flux suspend image repository alpine`, RunE: suspendCommand{ apiType: imageRepositoryType, object: imageRepositoryAdapter{&imagev1.ImageRepository{}}, diff --git a/cmd/flux/suspend_image_updateauto.go b/cmd/flux/suspend_image_updateauto.go index 8cb747af..fae2b475 100644 --- a/cmd/flux/suspend_image_updateauto.go +++ b/cmd/flux/suspend_image_updateauto.go @@ -27,8 +27,7 @@ var suspendImageUpdateCmd = &cobra.Command{ Short: "Suspend reconciliation of an ImageUpdateAutomation", Long: "The suspend image update command disables the reconciliation of a ImageUpdateAutomation resource.", Example: ` # Suspend reconciliation for an existing ImageUpdateAutomation - flux suspend image update latest-images -`, + flux suspend image update latest-images`, RunE: suspendCommand{ apiType: imageUpdateAutomationType, object: imageUpdateAutomationAdapter{&autov1.ImageUpdateAutomation{}}, diff --git a/cmd/flux/suspend_kustomization.go b/cmd/flux/suspend_kustomization.go index ecb336c4..07bc9cd4 100644 --- a/cmd/flux/suspend_kustomization.go +++ b/cmd/flux/suspend_kustomization.go @@ -27,8 +27,7 @@ var suspendKsCmd = &cobra.Command{ Short: "Suspend reconciliation of Kustomization", Long: "The suspend command disables the reconciliation of a Kustomization resource.", Example: ` # Suspend reconciliation for an existing Kustomization - flux suspend ks podinfo -`, + flux suspend ks podinfo`, RunE: suspendCommand{ apiType: kustomizationType, object: kustomizationAdapter{&kustomizev1.Kustomization{}}, diff --git a/cmd/flux/suspend_receiver.go b/cmd/flux/suspend_receiver.go index 1558b97d..472290d3 100644 --- a/cmd/flux/suspend_receiver.go +++ b/cmd/flux/suspend_receiver.go @@ -32,8 +32,7 @@ var suspendReceiverCmd = &cobra.Command{ Short: "Suspend reconciliation of Receiver", Long: "The suspend command disables the reconciliation of a Receiver resource.", Example: ` # Suspend reconciliation for an existing Receiver - flux suspend receiver main -`, + flux suspend receiver main`, RunE: suspendReceiverCmdRun, } diff --git a/cmd/flux/suspend_source_bucket.go b/cmd/flux/suspend_source_bucket.go index 3b44c8ad..e75e3901 100644 --- a/cmd/flux/suspend_source_bucket.go +++ b/cmd/flux/suspend_source_bucket.go @@ -26,8 +26,7 @@ var suspendSourceBucketCmd = &cobra.Command{ Short: "Suspend reconciliation of a Bucket", Long: "The suspend command disables the reconciliation of a Bucket resource.", Example: ` # Suspend reconciliation for an existing Bucket - flux suspend source bucket podinfo -`, + flux suspend source bucket podinfo`, RunE: suspendCommand{ apiType: bucketType, object: bucketAdapter{&sourcev1.Bucket{}}, diff --git a/cmd/flux/suspend_source_chart.go b/cmd/flux/suspend_source_chart.go index 45715ebf..72152bfd 100644 --- a/cmd/flux/suspend_source_chart.go +++ b/cmd/flux/suspend_source_chart.go @@ -27,8 +27,7 @@ var suspendSourceHelmChartCmd = &cobra.Command{ Short: "Suspend reconciliation of a HelmChart", Long: "The suspend command disables the reconciliation of a HelmChart resource.", Example: ` # Suspend reconciliation for an existing HelmChart - flux suspend source chart podinfo -`, + flux suspend source chart podinfo`, RunE: suspendCommand{ apiType: helmChartType, object: helmChartAdapter{&sourcev1.HelmChart{}}, diff --git a/cmd/flux/suspend_source_git.go b/cmd/flux/suspend_source_git.go index 810ff1bf..df122911 100644 --- a/cmd/flux/suspend_source_git.go +++ b/cmd/flux/suspend_source_git.go @@ -27,8 +27,7 @@ var suspendSourceGitCmd = &cobra.Command{ Short: "Suspend reconciliation of a GitRepository", Long: "The suspend command disables the reconciliation of a GitRepository resource.", Example: ` # Suspend reconciliation for an existing GitRepository - flux suspend source git podinfo -`, + flux suspend source git podinfo`, RunE: suspendCommand{ apiType: gitRepositoryType, object: gitRepositoryAdapter{&sourcev1.GitRepository{}}, diff --git a/cmd/flux/suspend_source_helm.go b/cmd/flux/suspend_source_helm.go index c2a672f9..1b6e291e 100644 --- a/cmd/flux/suspend_source_helm.go +++ b/cmd/flux/suspend_source_helm.go @@ -27,8 +27,7 @@ var suspendSourceHelmCmd = &cobra.Command{ Short: "Suspend reconciliation of a HelmRepository", Long: "The suspend command disables the reconciliation of a HelmRepository resource.", Example: ` # Suspend reconciliation for an existing HelmRepository - flux suspend source helm bitnami -`, + flux suspend source helm bitnami`, RunE: suspendCommand{ apiType: helmRepositoryType, object: helmRepositoryAdapter{&sourcev1.HelmRepository{}}, diff --git a/cmd/flux/uninstall.go b/cmd/flux/uninstall.go index f6826b26..2f559e69 100644 --- a/cmd/flux/uninstall.go +++ b/cmd/flux/uninstall.go @@ -44,8 +44,7 @@ var uninstallCmd = &cobra.Command{ flux uninstall --namespace=flux-system # Uninstall Flux but keep the namespace - flux uninstall --namespace=infra --keep-namespace=true -`, + flux uninstall --namespace=infra --keep-namespace=true`, RunE: uninstallCmdRun, } diff --git a/docs/cmd/flux.md b/docs/cmd/flux.md index 7892411b..08a667e6 100644 --- a/docs/cmd/flux.md +++ b/docs/cmd/flux.md @@ -7,6 +7,7 @@ Command line utility for assembling Kubernetes CD pipelines ### Synopsis + Command line utility for assembling Kubernetes CD pipelines the GitOps way. ### Examples @@ -18,7 +19,7 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way. # Install the latest version of Flux flux install --version=master - # Create a source from a public Git repository + # Create a source for a public Git repository flux create source git webapp-latest \ --url=https://github.com/stefanprodan/podinfo \ --branch=master \ @@ -64,7 +65,6 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way. # Uninstall Flux and delete CRDs flux uninstall - ``` ### Options diff --git a/docs/cmd/flux_bootstrap_github.md b/docs/cmd/flux_bootstrap_github.md index 71d1a677..54e06c91 100644 --- a/docs/cmd/flux_bootstrap_github.md +++ b/docs/cmd/flux_bootstrap_github.md @@ -23,27 +23,26 @@ flux bootstrap github [flags] # Create a GitHub personal access token and export it as an env var export GITHUB_TOKEN= - # Run bootstrap for a private repo owned by a GitHub organization - flux bootstrap github --owner= --repository= + # Run bootstrap for a private repository owned by a GitHub organization + flux bootstrap github --owner= --repository= - # Run bootstrap for a private repo and assign organization teams to it - flux bootstrap github --owner= --repository= --team= --team= + # Run bootstrap for a private repository and assign organization teams to it + flux bootstrap github --owner= --repository= --team= --team= # Run bootstrap for a repository path - flux bootstrap github --owner= --repository= --path=dev-cluster + flux bootstrap github --owner= --repository= --path=dev-cluster # Run bootstrap for a public repository on a personal account - flux bootstrap github --owner= --repository= --private=false --personal=true + flux bootstrap github --owner= --repository= --private=false --personal=true - # Run bootstrap for a private repo hosted on GitHub Enterprise using SSH auth - flux bootstrap github --owner= --repository= --hostname= --ssh-hostname= + # Run bootstrap for a private repository hosted on GitHub Enterprise using SSH auth + flux bootstrap github --owner= --repository= --hostname= --ssh-hostname= - # Run bootstrap for a private repo hosted on GitHub Enterprise using HTTPS auth - flux bootstrap github --owner= --repository= --hostname= --token-auth - - # Run bootstrap for a an existing repository with a branch named main - flux bootstrap github --owner= --repository= --branch=main + # Run bootstrap for a private repository hosted on GitHub Enterprise using HTTPS auth + flux bootstrap github --owner= --repository= --hostname= --token-auth + # Run bootstrap for an existing repository with a branch named main + flux bootstrap github --owner= --repository= --branch=main ``` ### Options diff --git a/docs/cmd/flux_bootstrap_gitlab.md b/docs/cmd/flux_bootstrap_gitlab.md index dbd42216..ab8cf31a 100644 --- a/docs/cmd/flux_bootstrap_gitlab.md +++ b/docs/cmd/flux_bootstrap_gitlab.md @@ -23,24 +23,23 @@ flux bootstrap gitlab [flags] # Create a GitLab API token and export it as an env var export GITLAB_TOKEN= - # Run bootstrap for a private repo using HTTPS token authentication - flux bootstrap gitlab --owner= --repository= --token-auth + # Run bootstrap for a private repository using HTTPS token authentication + flux bootstrap gitlab --owner= --repository= --token-auth - # Run bootstrap for a private repo using SSH authentication - flux bootstrap gitlab --owner= --repository= + # Run bootstrap for a private repository using SSH authentication + flux bootstrap gitlab --owner= --repository= # Run bootstrap for a repository path - flux bootstrap gitlab --owner= --repository= --path=dev-cluster + flux bootstrap gitlab --owner= --repository= --path=dev-cluster # Run bootstrap for a public repository on a personal account - flux bootstrap gitlab --owner= --repository= --private=false --personal --token-auth + flux bootstrap gitlab --owner= --repository= --private=false --personal --token-auth - # Run bootstrap for a private repo hosted on a GitLab server - flux bootstrap gitlab --owner= --repository= --hostname= --token-auth + # Run bootstrap for a private repository hosted on a GitLab server + flux bootstrap gitlab --owner= --repository= --hostname= --token-auth # Run bootstrap for a an existing repository with a branch named main - flux bootstrap gitlab --owner= --repository= --branch=main --token-auth - + flux bootstrap gitlab --owner= --repository= --branch=main --token-auth ``` ### Options diff --git a/docs/cmd/flux_check.md b/docs/cmd/flux_check.md index 5671ab8f..1f6fb116 100644 --- a/docs/cmd/flux_check.md +++ b/docs/cmd/flux_check.md @@ -22,7 +22,6 @@ flux check [flags] # Run installation checks flux check - ``` ### Options diff --git a/docs/cmd/flux_completion_bash.md b/docs/cmd/flux_completion_bash.md index f9260a4b..df857173 100644 --- a/docs/cmd/flux_completion_bash.md +++ b/docs/cmd/flux_completion_bash.md @@ -20,7 +20,6 @@ To configure your bash shell to load completions for each session add to your ba # ~/.bashrc or ~/.profile command -v flux >/dev/null && . <(flux completion bash) - ``` ### Options diff --git a/docs/cmd/flux_completion_fish.md b/docs/cmd/flux_completion_fish.md index 97529b41..c16f3b24 100644 --- a/docs/cmd/flux_completion_fish.md +++ b/docs/cmd/flux_completion_fish.md @@ -17,7 +17,6 @@ To configure your fish shell to load completions for each session write this scr flux completion fish > ~/.config/fish/completions/flux.fish See http://fishshell.com/docs/current/index.html#completion-own for more details - ``` ### Options diff --git a/docs/cmd/flux_completion_powershell.md b/docs/cmd/flux_completion_powershell.md index 1dece66c..a2adb3a4 100644 --- a/docs/cmd/flux_completion_powershell.md +++ b/docs/cmd/flux_completion_powershell.md @@ -27,7 +27,6 @@ Linux: cd "${XDG_CONFIG_HOME:-"$HOME/.config/"}/powershell/modules" flux completion >> flux-completions.ps1 - ``` ### Options diff --git a/docs/cmd/flux_completion_zsh.md b/docs/cmd/flux_completion_zsh.md index d684c104..6a8b7ae8 100644 --- a/docs/cmd/flux_completion_zsh.md +++ b/docs/cmd/flux_completion_zsh.md @@ -28,7 +28,6 @@ flux completion zsh > _flux mv _flux ~/.oh-my-zsh/completions # oh-my-zsh mv _flux ~/.zprezto/modules/completion/external/src/ # zprezto - ``` ### Options diff --git a/docs/cmd/flux_create_alert-provider.md b/docs/cmd/flux_create_alert-provider.md index 870e2a31..0d9079cf 100644 --- a/docs/cmd/flux_create_alert-provider.md +++ b/docs/cmd/flux_create_alert-provider.md @@ -28,7 +28,6 @@ flux create alert-provider [name] [flags] --type github \ --address https://github.com/stefanprodan/podinfo \ --secret-ref github-token - ``` ### Options diff --git a/docs/cmd/flux_create_alert.md b/docs/cmd/flux_create_alert.md index 5412c76f..dc761fa0 100644 --- a/docs/cmd/flux_create_alert.md +++ b/docs/cmd/flux_create_alert.md @@ -22,7 +22,6 @@ flux create alert [name] [flags] --event-source Kustomization/flux-system \ --provider-ref slack \ flux-system - ``` ### Options diff --git a/docs/cmd/flux_create_helmrelease.md b/docs/cmd/flux_create_helmrelease.md index 9f8cb1c1..d7e3f35c 100644 --- a/docs/cmd/flux_create_helmrelease.md +++ b/docs/cmd/flux_create_helmrelease.md @@ -68,7 +68,6 @@ flux create helmrelease [name] [flags] --chart=podinfo \ --values=./values.yaml \ --export > podinfo-release.yaml - ``` ### Options diff --git a/docs/cmd/flux_create_image_policy.md b/docs/cmd/flux_create_image_policy.md index 88773ced..17432418 100644 --- a/docs/cmd/flux_create_image_policy.md +++ b/docs/cmd/flux_create_image_policy.md @@ -32,7 +32,6 @@ flux create image policy [name] [flags] --select-numeric=asc \ --filter-regex='^main-[a-f0-9]+-(?P[0-9]+)' \ --filter-extract='$ts' - ``` ### Options diff --git a/docs/cmd/flux_create_image_repository.md b/docs/cmd/flux_create_image_repository.md index f0e1d937..4204bca1 100644 --- a/docs/cmd/flux_create_image_repository.md +++ b/docs/cmd/flux_create_image_repository.md @@ -41,7 +41,6 @@ flux create image repository [name] [flags] flux create image repository app-repo \ --cert-secret-ref client-cert \ --image registry.example.com/private/app --interval 5m - ``` ### Options diff --git a/docs/cmd/flux_create_image_update.md b/docs/cmd/flux_create_image_update.md index 3bc5f87e..b3d0ebfa 100644 --- a/docs/cmd/flux_create_image_update.md +++ b/docs/cmd/flux_create_image_update.md @@ -36,7 +36,6 @@ flux create image update [name] [flags] --author-name=flux \ --author-email=flux@example.com \ --commit-template="{{range .Updated.Images}}{{println .}}{{end}}" - ``` ### Options diff --git a/docs/cmd/flux_create_kustomization.md b/docs/cmd/flux_create_kustomization.md index 250be41a..b6e29e77 100644 --- a/docs/cmd/flux_create_kustomization.md +++ b/docs/cmd/flux_create_kustomization.md @@ -41,7 +41,6 @@ flux create kustomization [name] [flags] --source=Bucket/secrets \ --prune=true \ --interval=5m - ``` ### Options diff --git a/docs/cmd/flux_create_receiver.md b/docs/cmd/flux_create_receiver.md index 32e21190..74706773 100644 --- a/docs/cmd/flux_create_receiver.md +++ b/docs/cmd/flux_create_receiver.md @@ -24,7 +24,6 @@ flux create receiver [name] [flags] --secret-ref webhook-token \ --resource GitRepository/webapp \ --resource HelmRepository/webapp - ``` ### Options diff --git a/docs/cmd/flux_create_secret_helm.md b/docs/cmd/flux_create_secret_helm.md index eeec50a0..66c317eb 100644 --- a/docs/cmd/flux_create_secret_helm.md +++ b/docs/cmd/flux_create_secret_helm.md @@ -7,7 +7,6 @@ Create or update a Kubernetes secret for Helm repository authentication ### Synopsis - The create secret helm command generates a Kubernetes secret with basic authentication credentials. ``` @@ -17,8 +16,7 @@ flux create secret helm [name] [flags] ### Examples ``` - - # Create a Helm authentication secret on disk and encrypt it with Mozilla SOPS + # Create a Helm authentication secret on disk and encrypt it with Mozilla SOPS flux create secret helm repo-auth \ --namespace=my-namespace \ --username=my-username \ @@ -28,14 +26,13 @@ flux create secret helm [name] [flags] sops --encrypt --encrypted-regex '^(data|stringData)$' \ --in-place repo-auth.yaml - # Create an authentication secret using a custom TLS cert + # Create a Helm authentication secret using a custom TLS cert flux create secret helm repo-auth \ --username=username \ --password=password \ --cert-file=./cert.crt \ --key-file=./key.crt \ --ca-file=./ca.crt - ``` ### Options diff --git a/docs/cmd/flux_create_secret_tls.md b/docs/cmd/flux_create_secret_tls.md index d9bc5a8f..48f7e103 100644 --- a/docs/cmd/flux_create_secret_tls.md +++ b/docs/cmd/flux_create_secret_tls.md @@ -7,7 +7,6 @@ Create or update a Kubernetes secret with TLS certificates ### Synopsis - The create secret tls command generates a Kubernetes secret with certificates for use with TLS. ``` @@ -17,8 +16,7 @@ flux create secret tls [name] [flags] ### Examples ``` - - # Create a TLS secret on disk and encrypt it with Mozilla SOPS. + # Create a TLS secret on disk and encrypt it with Mozilla SOPS. # Files are expected to be PEM-encoded. flux create secret tls certs \ --namespace=my-namespace \ @@ -28,7 +26,6 @@ flux create secret tls [name] [flags] sops --encrypt --encrypted-regex '^(data|stringData)$' \ --in-place certs.yaml - ``` ### Options diff --git a/docs/cmd/flux_create_source_bucket.md b/docs/cmd/flux_create_source_bucket.md index 73f66059..81c63954 100644 --- a/docs/cmd/flux_create_source_bucket.md +++ b/docs/cmd/flux_create_source_bucket.md @@ -7,7 +7,6 @@ Create or update a Bucket source ### Synopsis - The create source bucket command generates a Bucket resource and waits for it to be downloaded. For Buckets with static authentication, the credentials are stored in a Kubernetes secret. @@ -18,7 +17,7 @@ flux create source bucket [name] [flags] ### Examples ``` - # Create a source from a Buckets using static authentication + # Create a source for a Bucket using static authentication flux create source bucket podinfo \ --bucket-name=podinfo \ --endpoint=minio.minio.svc.cluster.local:9000 \ @@ -27,14 +26,13 @@ flux create source bucket [name] [flags] --secret-key=mysecretkey \ --interval=10m - # Create a source from an Amazon S3 Bucket using IAM authentication + # Create a source for an Amazon S3 Bucket using IAM authentication flux create source bucket podinfo \ --bucket-name=podinfo \ --provider=aws \ --endpoint=s3.amazonaws.com \ --region=us-east-1 \ --interval=10m - ``` ### Options diff --git a/docs/cmd/flux_create_source_helm.md b/docs/cmd/flux_create_source_helm.md index 5936d20e..72381c29 100644 --- a/docs/cmd/flux_create_source_helm.md +++ b/docs/cmd/flux_create_source_helm.md @@ -7,7 +7,6 @@ Create or update a HelmRepository source ### Synopsis - The create source helm command generates a HelmRepository resource and waits for it to fetch the index. For private Helm repositories, the basic authentication credentials are stored in a Kubernetes secret. @@ -18,24 +17,23 @@ flux create source helm [name] [flags] ### Examples ``` - # Create a source from a public Helm repository + # Create a source for a public Helm repository flux create source helm podinfo \ --url=https://stefanprodan.github.io/podinfo \ --interval=10m - # Create a source from a Helm repository using basic authentication + # Create a source for a Helm repository using basic authentication flux create source helm podinfo \ --url=https://stefanprodan.github.io/podinfo \ --username=username \ --password=password - # Create a source from a Helm repository using TLS authentication + # Create a source for a Helm repository using TLS authentication flux create source helm podinfo \ --url=https://stefanprodan.github.io/podinfo \ --cert-file=./cert.crt \ --key-file=./key.crt \ --ca-file=./ca.crt - ``` ### Options diff --git a/docs/cmd/flux_create_tenant.md b/docs/cmd/flux_create_tenant.md index 22360c6e..9f3f2d64 100644 --- a/docs/cmd/flux_create_tenant.md +++ b/docs/cmd/flux_create_tenant.md @@ -7,7 +7,6 @@ Create or update a tenant ### Synopsis - The create tenant command generates namespaces, service accounts and role bindings to limit the reconcilers scope to the tenant namespaces. @@ -28,7 +27,6 @@ flux create tenant [flags] --with-namespace=frontend \ --with-namespace=backend \ --export > dev-team.yaml - ``` ### Options diff --git a/docs/cmd/flux_delete_alert-provider.md b/docs/cmd/flux_delete_alert-provider.md index a4c9a6ba..8bedc8c7 100644 --- a/docs/cmd/flux_delete_alert-provider.md +++ b/docs/cmd/flux_delete_alert-provider.md @@ -18,7 +18,6 @@ flux delete alert-provider [name] [flags] ``` # Delete a Provider and the Kubernetes resources created by it flux delete alert-provider slack - ``` ### Options diff --git a/docs/cmd/flux_delete_alert.md b/docs/cmd/flux_delete_alert.md index 8051b800..b75ce7fe 100644 --- a/docs/cmd/flux_delete_alert.md +++ b/docs/cmd/flux_delete_alert.md @@ -18,7 +18,6 @@ flux delete alert [name] [flags] ``` # Delete an Alert and the Kubernetes resources created by it flux delete alert main - ``` ### Options diff --git a/docs/cmd/flux_delete_helmrelease.md b/docs/cmd/flux_delete_helmrelease.md index c7015b37..06830658 100644 --- a/docs/cmd/flux_delete_helmrelease.md +++ b/docs/cmd/flux_delete_helmrelease.md @@ -18,7 +18,6 @@ flux delete helmrelease [name] [flags] ``` # Delete a Helm release and the Kubernetes resources created by it flux delete hr podinfo - ``` ### Options diff --git a/docs/cmd/flux_delete_image_policy.md b/docs/cmd/flux_delete_image_policy.md index 402cba06..1e9d9fe1 100644 --- a/docs/cmd/flux_delete_image_policy.md +++ b/docs/cmd/flux_delete_image_policy.md @@ -18,7 +18,6 @@ flux delete image policy [name] [flags] ``` # Delete an image policy flux delete image policy alpine3.x - ``` ### Options diff --git a/docs/cmd/flux_delete_image_repository.md b/docs/cmd/flux_delete_image_repository.md index f7a18f46..ad7ea3a7 100644 --- a/docs/cmd/flux_delete_image_repository.md +++ b/docs/cmd/flux_delete_image_repository.md @@ -18,7 +18,6 @@ flux delete image repository [name] [flags] ``` # Delete an image repository flux delete image repository alpine - ``` ### Options diff --git a/docs/cmd/flux_delete_image_update.md b/docs/cmd/flux_delete_image_update.md index 0e5a3427..4f1e637e 100644 --- a/docs/cmd/flux_delete_image_update.md +++ b/docs/cmd/flux_delete_image_update.md @@ -18,7 +18,6 @@ flux delete image update [name] [flags] ``` # Delete an image update automation flux delete image update latest-images - ``` ### Options diff --git a/docs/cmd/flux_delete_kustomization.md b/docs/cmd/flux_delete_kustomization.md index 8b5e9705..58397cc0 100644 --- a/docs/cmd/flux_delete_kustomization.md +++ b/docs/cmd/flux_delete_kustomization.md @@ -18,7 +18,6 @@ flux delete kustomization [name] [flags] ``` # Delete a kustomization and the Kubernetes resources created by it flux delete kustomization podinfo - ``` ### Options diff --git a/docs/cmd/flux_delete_receiver.md b/docs/cmd/flux_delete_receiver.md index 63a51616..e70e7648 100644 --- a/docs/cmd/flux_delete_receiver.md +++ b/docs/cmd/flux_delete_receiver.md @@ -18,7 +18,6 @@ flux delete receiver [name] [flags] ``` # Delete an Receiver and the Kubernetes resources created by it flux delete receiver main - ``` ### Options diff --git a/docs/cmd/flux_delete_source_bucket.md b/docs/cmd/flux_delete_source_bucket.md index a3133ad6..d639ad9b 100644 --- a/docs/cmd/flux_delete_source_bucket.md +++ b/docs/cmd/flux_delete_source_bucket.md @@ -18,7 +18,6 @@ flux delete source bucket [name] [flags] ``` # Delete a Bucket source flux delete source bucket podinfo - ``` ### Options diff --git a/docs/cmd/flux_delete_source_git.md b/docs/cmd/flux_delete_source_git.md index 4e2b4dfd..1909080d 100644 --- a/docs/cmd/flux_delete_source_git.md +++ b/docs/cmd/flux_delete_source_git.md @@ -18,7 +18,6 @@ flux delete source git [name] [flags] ``` # Delete a Git repository flux delete source git podinfo - ``` ### Options diff --git a/docs/cmd/flux_delete_source_helm.md b/docs/cmd/flux_delete_source_helm.md index 6b9d7397..0fd412b3 100644 --- a/docs/cmd/flux_delete_source_helm.md +++ b/docs/cmd/flux_delete_source_helm.md @@ -18,7 +18,6 @@ flux delete source helm [name] [flags] ``` # Delete a Helm repository flux delete source helm podinfo - ``` ### Options diff --git a/docs/cmd/flux_export_alert-provider.md b/docs/cmd/flux_export_alert-provider.md index b23dbc30..2eee9dad 100644 --- a/docs/cmd/flux_export_alert-provider.md +++ b/docs/cmd/flux_export_alert-provider.md @@ -21,7 +21,6 @@ flux export alert-provider [name] [flags] # Export a Provider flux export alert-provider slack > slack.yaml - ``` ### Options diff --git a/docs/cmd/flux_export_alert.md b/docs/cmd/flux_export_alert.md index 838d8c6c..e55bfe8b 100644 --- a/docs/cmd/flux_export_alert.md +++ b/docs/cmd/flux_export_alert.md @@ -21,7 +21,6 @@ flux export alert [name] [flags] # Export a Alert flux export alert main > main.yaml - ``` ### Options diff --git a/docs/cmd/flux_export_helmrelease.md b/docs/cmd/flux_export_helmrelease.md index b711f704..c1b6a5eb 100644 --- a/docs/cmd/flux_export_helmrelease.md +++ b/docs/cmd/flux_export_helmrelease.md @@ -21,7 +21,6 @@ flux export helmrelease [name] [flags] # Export a HelmRelease flux export hr my-app > app-release.yaml - ``` ### Options diff --git a/docs/cmd/flux_export_image_policy.md b/docs/cmd/flux_export_image_policy.md index 0e34d146..fc07672d 100644 --- a/docs/cmd/flux_export_image_policy.md +++ b/docs/cmd/flux_export_image_policy.md @@ -21,7 +21,6 @@ flux export image policy [name] [flags] # Export a specific policy flux export image policy alpine1x > alpine1x.yaml - ``` ### Options diff --git a/docs/cmd/flux_export_image_repository.md b/docs/cmd/flux_export_image_repository.md index 58fa3e60..ab152270 100644 --- a/docs/cmd/flux_export_image_repository.md +++ b/docs/cmd/flux_export_image_repository.md @@ -21,7 +21,6 @@ flux export image repository [name] [flags] # Export a specific ImageRepository resource flux export image repository alpine > alpine.yaml - ``` ### Options diff --git a/docs/cmd/flux_export_image_update.md b/docs/cmd/flux_export_image_update.md index 5c6f7c7f..4f2f8b9e 100644 --- a/docs/cmd/flux_export_image_update.md +++ b/docs/cmd/flux_export_image_update.md @@ -21,7 +21,6 @@ flux export image update [name] [flags] # Export a specific automation flux export image update latest-images > latest.yaml - ``` ### Options diff --git a/docs/cmd/flux_export_kustomization.md b/docs/cmd/flux_export_kustomization.md index a45cb917..c2cd7ccd 100644 --- a/docs/cmd/flux_export_kustomization.md +++ b/docs/cmd/flux_export_kustomization.md @@ -21,7 +21,6 @@ flux export kustomization [name] [flags] # Export a Kustomization flux export kustomization my-app > kustomization.yaml - ``` ### Options diff --git a/docs/cmd/flux_export_receiver.md b/docs/cmd/flux_export_receiver.md index 425016c0..029f6ca4 100644 --- a/docs/cmd/flux_export_receiver.md +++ b/docs/cmd/flux_export_receiver.md @@ -21,7 +21,6 @@ flux export receiver [name] [flags] # Export a Receiver flux export receiver main > main.yaml - ``` ### Options diff --git a/docs/cmd/flux_export_source_bucket.md b/docs/cmd/flux_export_source_bucket.md index 8e55050e..747da10e 100644 --- a/docs/cmd/flux_export_source_bucket.md +++ b/docs/cmd/flux_export_source_bucket.md @@ -21,7 +21,6 @@ flux export source bucket [name] [flags] # Export a Bucket source including the static credentials flux export source bucket my-bucket --with-credentials > source.yaml - ``` ### Options diff --git a/docs/cmd/flux_export_source_git.md b/docs/cmd/flux_export_source_git.md index 12e14fd4..abd55828 100644 --- a/docs/cmd/flux_export_source_git.md +++ b/docs/cmd/flux_export_source_git.md @@ -21,7 +21,6 @@ flux export source git [name] [flags] # Export a GitRepository source including the SSH key pair or basic auth credentials flux export source git my-private-repo --with-credentials > source.yaml - ``` ### Options diff --git a/docs/cmd/flux_export_source_helm.md b/docs/cmd/flux_export_source_helm.md index b0881c37..a9788982 100644 --- a/docs/cmd/flux_export_source_helm.md +++ b/docs/cmd/flux_export_source_helm.md @@ -21,7 +21,6 @@ flux export source helm [name] [flags] # Export a HelmRepository source including the basic auth credentials flux export source helm my-private-repo --with-credentials > source.yaml - ``` ### Options diff --git a/docs/cmd/flux_get_alert-providers.md b/docs/cmd/flux_get_alert-providers.md index b0915cb6..941cc9b6 100644 --- a/docs/cmd/flux_get_alert-providers.md +++ b/docs/cmd/flux_get_alert-providers.md @@ -18,7 +18,6 @@ flux get alert-providers [flags] ``` # List all Providers and their status flux get alert-providers - ``` ### Options diff --git a/docs/cmd/flux_get_alerts.md b/docs/cmd/flux_get_alerts.md index 087adff6..bf301b14 100644 --- a/docs/cmd/flux_get_alerts.md +++ b/docs/cmd/flux_get_alerts.md @@ -18,7 +18,6 @@ flux get alerts [flags] ``` # List all Alerts and their status flux get alerts - ``` ### Options diff --git a/docs/cmd/flux_get_helmreleases.md b/docs/cmd/flux_get_helmreleases.md index 2182827a..7d36d804 100644 --- a/docs/cmd/flux_get_helmreleases.md +++ b/docs/cmd/flux_get_helmreleases.md @@ -18,7 +18,6 @@ flux get helmreleases [flags] ``` # List all Helm releases and their status flux get helmreleases - ``` ### Options diff --git a/docs/cmd/flux_get_images_all.md b/docs/cmd/flux_get_images_all.md index c8671912..24340869 100644 --- a/docs/cmd/flux_get_images_all.md +++ b/docs/cmd/flux_get_images_all.md @@ -21,7 +21,6 @@ flux get images all [flags] # List all image objects in all namespaces flux get images all --all-namespaces - ``` ### Options diff --git a/docs/cmd/flux_get_images_policy.md b/docs/cmd/flux_get_images_policy.md index e1447ccd..82be06aa 100644 --- a/docs/cmd/flux_get_images_policy.md +++ b/docs/cmd/flux_get_images_policy.md @@ -21,7 +21,6 @@ flux get images policy [flags] # List image policies from all namespaces flux get image policy --all-namespaces - ``` ### Options diff --git a/docs/cmd/flux_get_images_repository.md b/docs/cmd/flux_get_images_repository.md index 8a9077c5..7eddda3a 100644 --- a/docs/cmd/flux_get_images_repository.md +++ b/docs/cmd/flux_get_images_repository.md @@ -21,7 +21,6 @@ flux get images repository [flags] # List image repositories from all namespaces flux get image repository --all-namespaces - ``` ### Options diff --git a/docs/cmd/flux_get_images_update.md b/docs/cmd/flux_get_images_update.md index 339ba9be..ad669d11 100644 --- a/docs/cmd/flux_get_images_update.md +++ b/docs/cmd/flux_get_images_update.md @@ -21,7 +21,6 @@ flux get images update [flags] # List image update automations from all namespaces flux get image update --all-namespaces - ``` ### Options diff --git a/docs/cmd/flux_get_kustomizations.md b/docs/cmd/flux_get_kustomizations.md index d51c672e..df12b895 100644 --- a/docs/cmd/flux_get_kustomizations.md +++ b/docs/cmd/flux_get_kustomizations.md @@ -18,7 +18,6 @@ flux get kustomizations [flags] ``` # List all kustomizations and their status flux get kustomizations - ``` ### Options diff --git a/docs/cmd/flux_get_receivers.md b/docs/cmd/flux_get_receivers.md index bae28f72..06a26b72 100644 --- a/docs/cmd/flux_get_receivers.md +++ b/docs/cmd/flux_get_receivers.md @@ -18,7 +18,6 @@ flux get receivers [flags] ``` # List all Receiver and their status flux get receivers - ``` ### Options diff --git a/docs/cmd/flux_get_sources_all.md b/docs/cmd/flux_get_sources_all.md index 702874b4..aac42a52 100644 --- a/docs/cmd/flux_get_sources_all.md +++ b/docs/cmd/flux_get_sources_all.md @@ -21,7 +21,6 @@ flux get sources all [flags] # List all sources in all namespaces flux get sources all --all-namespaces - ``` ### Options diff --git a/docs/cmd/flux_get_sources_bucket.md b/docs/cmd/flux_get_sources_bucket.md index af14e6e9..17df951c 100644 --- a/docs/cmd/flux_get_sources_bucket.md +++ b/docs/cmd/flux_get_sources_bucket.md @@ -21,7 +21,6 @@ flux get sources bucket [flags] # List buckets from all namespaces flux get sources helm --all-namespaces - ``` ### Options diff --git a/docs/cmd/flux_get_sources_chart.md b/docs/cmd/flux_get_sources_chart.md index a49a518d..337a1cd6 100644 --- a/docs/cmd/flux_get_sources_chart.md +++ b/docs/cmd/flux_get_sources_chart.md @@ -21,7 +21,6 @@ flux get sources chart [flags] # List Helm charts from all namespaces flux get sources chart --all-namespaces - ``` ### Options diff --git a/docs/cmd/flux_get_sources_git.md b/docs/cmd/flux_get_sources_git.md index e899a459..dc5587b0 100644 --- a/docs/cmd/flux_get_sources_git.md +++ b/docs/cmd/flux_get_sources_git.md @@ -21,7 +21,6 @@ flux get sources git [flags] # List Git repositories from all namespaces flux get sources git --all-namespaces - ``` ### Options diff --git a/docs/cmd/flux_get_sources_helm.md b/docs/cmd/flux_get_sources_helm.md index 4980402e..4c06bd90 100644 --- a/docs/cmd/flux_get_sources_helm.md +++ b/docs/cmd/flux_get_sources_helm.md @@ -21,7 +21,6 @@ flux get sources helm [flags] # List Helm repositories from all namespaces flux get sources helm --all-namespaces - ``` ### Options diff --git a/docs/cmd/flux_install.md b/docs/cmd/flux_install.md index 069f7618..db27b0ed 100644 --- a/docs/cmd/flux_install.md +++ b/docs/cmd/flux_install.md @@ -31,7 +31,6 @@ flux install [flags] # Write install manifests to file flux install --export > flux-system.yaml - ``` ### Options diff --git a/docs/cmd/flux_reconcile_alert-provider.md b/docs/cmd/flux_reconcile_alert-provider.md index 29b88ba4..9ee8a2e7 100644 --- a/docs/cmd/flux_reconcile_alert-provider.md +++ b/docs/cmd/flux_reconcile_alert-provider.md @@ -18,7 +18,6 @@ flux reconcile alert-provider [name] [flags] ``` # Trigger a reconciliation for an existing provider flux reconcile alert-provider slack - ``` ### Options diff --git a/docs/cmd/flux_reconcile_alert.md b/docs/cmd/flux_reconcile_alert.md index 3851d02b..60da9851 100644 --- a/docs/cmd/flux_reconcile_alert.md +++ b/docs/cmd/flux_reconcile_alert.md @@ -18,7 +18,6 @@ flux reconcile alert [name] [flags] ``` # Trigger a reconciliation for an existing alert flux reconcile alert main - ``` ### Options diff --git a/docs/cmd/flux_reconcile_helmrelease.md b/docs/cmd/flux_reconcile_helmrelease.md index 51450cc8..57d09cdb 100644 --- a/docs/cmd/flux_reconcile_helmrelease.md +++ b/docs/cmd/flux_reconcile_helmrelease.md @@ -22,7 +22,6 @@ flux reconcile helmrelease [name] [flags] # Trigger a reconciliation of the HelmRelease's source and apply changes flux reconcile hr podinfo --with-source - ``` ### Options diff --git a/docs/cmd/flux_reconcile_image_repository.md b/docs/cmd/flux_reconcile_image_repository.md index d985aab5..a2ad7fe6 100644 --- a/docs/cmd/flux_reconcile_image_repository.md +++ b/docs/cmd/flux_reconcile_image_repository.md @@ -18,7 +18,6 @@ flux reconcile image repository [name] [flags] ``` # Trigger an scan for an existing image repository flux reconcile image repository alpine - ``` ### Options diff --git a/docs/cmd/flux_reconcile_image_update.md b/docs/cmd/flux_reconcile_image_update.md index 05afebc7..c06d8707 100644 --- a/docs/cmd/flux_reconcile_image_update.md +++ b/docs/cmd/flux_reconcile_image_update.md @@ -18,7 +18,6 @@ flux reconcile image update [name] [flags] ``` # Trigger an automation run for an existing image update automation flux reconcile image update latest-images - ``` ### Options diff --git a/docs/cmd/flux_reconcile_kustomization.md b/docs/cmd/flux_reconcile_kustomization.md index c743ee27..ce0e287f 100644 --- a/docs/cmd/flux_reconcile_kustomization.md +++ b/docs/cmd/flux_reconcile_kustomization.md @@ -22,7 +22,6 @@ flux reconcile kustomization [name] [flags] # Trigger a sync of the Kustomization's source and apply changes flux reconcile kustomization podinfo --with-source - ``` ### Options diff --git a/docs/cmd/flux_reconcile_receiver.md b/docs/cmd/flux_reconcile_receiver.md index 2bec3b85..86e25893 100644 --- a/docs/cmd/flux_reconcile_receiver.md +++ b/docs/cmd/flux_reconcile_receiver.md @@ -18,7 +18,6 @@ flux reconcile receiver [name] [flags] ``` # Trigger a reconciliation for an existing receiver flux reconcile receiver main - ``` ### Options diff --git a/docs/cmd/flux_reconcile_source_bucket.md b/docs/cmd/flux_reconcile_source_bucket.md index 628ac796..61cd00b0 100644 --- a/docs/cmd/flux_reconcile_source_bucket.md +++ b/docs/cmd/flux_reconcile_source_bucket.md @@ -18,7 +18,6 @@ flux reconcile source bucket [name] [flags] ``` # Trigger a reconciliation for an existing source flux reconcile source bucket podinfo - ``` ### Options diff --git a/docs/cmd/flux_reconcile_source_git.md b/docs/cmd/flux_reconcile_source_git.md index f38227ad..792387fe 100644 --- a/docs/cmd/flux_reconcile_source_git.md +++ b/docs/cmd/flux_reconcile_source_git.md @@ -18,7 +18,6 @@ flux reconcile source git [name] [flags] ``` # Trigger a git pull for an existing source flux reconcile source git podinfo - ``` ### Options diff --git a/docs/cmd/flux_reconcile_source_helm.md b/docs/cmd/flux_reconcile_source_helm.md index 53d0b8e1..70904253 100644 --- a/docs/cmd/flux_reconcile_source_helm.md +++ b/docs/cmd/flux_reconcile_source_helm.md @@ -18,7 +18,6 @@ flux reconcile source helm [name] [flags] ``` # Trigger a reconciliation for an existing source flux reconcile source helm podinfo - ``` ### Options diff --git a/docs/cmd/flux_resume_alert.md b/docs/cmd/flux_resume_alert.md index a43bc826..b029e912 100644 --- a/docs/cmd/flux_resume_alert.md +++ b/docs/cmd/flux_resume_alert.md @@ -19,7 +19,6 @@ flux resume alert [name] [flags] ``` # Resume reconciliation for an existing Alert flux resume alert main - ``` ### Options diff --git a/docs/cmd/flux_resume_helmrelease.md b/docs/cmd/flux_resume_helmrelease.md index ed3b845a..3ee26751 100644 --- a/docs/cmd/flux_resume_helmrelease.md +++ b/docs/cmd/flux_resume_helmrelease.md @@ -19,7 +19,6 @@ flux resume helmrelease [name] [flags] ``` # Resume reconciliation for an existing Helm release flux resume hr podinfo - ``` ### Options diff --git a/docs/cmd/flux_resume_image_repository.md b/docs/cmd/flux_resume_image_repository.md index d09c2e85..c9cb8125 100644 --- a/docs/cmd/flux_resume_image_repository.md +++ b/docs/cmd/flux_resume_image_repository.md @@ -18,7 +18,6 @@ flux resume image repository [name] [flags] ``` # Resume reconciliation for an existing ImageRepository flux resume image repository alpine - ``` ### Options diff --git a/docs/cmd/flux_resume_image_update.md b/docs/cmd/flux_resume_image_update.md index a60e4a68..7aefac6c 100644 --- a/docs/cmd/flux_resume_image_update.md +++ b/docs/cmd/flux_resume_image_update.md @@ -18,7 +18,6 @@ flux resume image update [name] [flags] ``` # Resume reconciliation for an existing ImageUpdateAutomation flux resume image update latest-images - ``` ### Options diff --git a/docs/cmd/flux_resume_kustomization.md b/docs/cmd/flux_resume_kustomization.md index 6ef73021..5bae0964 100644 --- a/docs/cmd/flux_resume_kustomization.md +++ b/docs/cmd/flux_resume_kustomization.md @@ -19,7 +19,6 @@ flux resume kustomization [name] [flags] ``` # Resume reconciliation for an existing Kustomization flux resume ks podinfo - ``` ### Options diff --git a/docs/cmd/flux_resume_receiver.md b/docs/cmd/flux_resume_receiver.md index 1badbf47..30fa2451 100644 --- a/docs/cmd/flux_resume_receiver.md +++ b/docs/cmd/flux_resume_receiver.md @@ -19,7 +19,6 @@ flux resume receiver [name] [flags] ``` # Resume reconciliation for an existing Receiver flux resume receiver main - ``` ### Options diff --git a/docs/cmd/flux_resume_source_bucket.md b/docs/cmd/flux_resume_source_bucket.md index 9872a366..ea8a1dec 100644 --- a/docs/cmd/flux_resume_source_bucket.md +++ b/docs/cmd/flux_resume_source_bucket.md @@ -18,7 +18,6 @@ flux resume source bucket [name] [flags] ``` # Resume reconciliation for an existing Bucket flux resume source bucket podinfo - ``` ### Options diff --git a/docs/cmd/flux_resume_source_chart.md b/docs/cmd/flux_resume_source_chart.md index 8be6667e..b23d030d 100644 --- a/docs/cmd/flux_resume_source_chart.md +++ b/docs/cmd/flux_resume_source_chart.md @@ -18,7 +18,6 @@ flux resume source chart [name] [flags] ``` # Resume reconciliation for an existing HelmChart flux resume source chart podinfo - ``` ### Options diff --git a/docs/cmd/flux_resume_source_git.md b/docs/cmd/flux_resume_source_git.md index 11ecc892..10f8dfc1 100644 --- a/docs/cmd/flux_resume_source_git.md +++ b/docs/cmd/flux_resume_source_git.md @@ -18,7 +18,6 @@ flux resume source git [name] [flags] ``` # Resume reconciliation for an existing GitRepository flux resume source git podinfo - ``` ### Options diff --git a/docs/cmd/flux_resume_source_helm.md b/docs/cmd/flux_resume_source_helm.md index 5c171ade..658fd0ab 100644 --- a/docs/cmd/flux_resume_source_helm.md +++ b/docs/cmd/flux_resume_source_helm.md @@ -18,7 +18,6 @@ flux resume source helm [name] [flags] ``` # Resume reconciliation for an existing HelmRepository flux resume source helm bitnami - ``` ### Options diff --git a/docs/cmd/flux_suspend_alert.md b/docs/cmd/flux_suspend_alert.md index e262c837..0bcc24db 100644 --- a/docs/cmd/flux_suspend_alert.md +++ b/docs/cmd/flux_suspend_alert.md @@ -18,7 +18,6 @@ flux suspend alert [name] [flags] ``` # Suspend reconciliation for an existing Alert flux suspend alert main - ``` ### Options diff --git a/docs/cmd/flux_suspend_helmrelease.md b/docs/cmd/flux_suspend_helmrelease.md index 3b72d537..926b0c49 100644 --- a/docs/cmd/flux_suspend_helmrelease.md +++ b/docs/cmd/flux_suspend_helmrelease.md @@ -18,7 +18,6 @@ flux suspend helmrelease [name] [flags] ``` # Suspend reconciliation for an existing Helm release flux suspend hr podinfo - ``` ### Options diff --git a/docs/cmd/flux_suspend_image_repository.md b/docs/cmd/flux_suspend_image_repository.md index 545f0dec..a695390a 100644 --- a/docs/cmd/flux_suspend_image_repository.md +++ b/docs/cmd/flux_suspend_image_repository.md @@ -18,7 +18,6 @@ flux suspend image repository [name] [flags] ``` # Suspend reconciliation for an existing ImageRepository flux suspend image repository alpine - ``` ### Options diff --git a/docs/cmd/flux_suspend_image_update.md b/docs/cmd/flux_suspend_image_update.md index 16e23ac2..6775b3a4 100644 --- a/docs/cmd/flux_suspend_image_update.md +++ b/docs/cmd/flux_suspend_image_update.md @@ -18,7 +18,6 @@ flux suspend image update [name] [flags] ``` # Suspend reconciliation for an existing ImageUpdateAutomation flux suspend image update latest-images - ``` ### Options diff --git a/docs/cmd/flux_suspend_kustomization.md b/docs/cmd/flux_suspend_kustomization.md index 3a31148c..a4114ef1 100644 --- a/docs/cmd/flux_suspend_kustomization.md +++ b/docs/cmd/flux_suspend_kustomization.md @@ -18,7 +18,6 @@ flux suspend kustomization [name] [flags] ``` # Suspend reconciliation for an existing Kustomization flux suspend ks podinfo - ``` ### Options diff --git a/docs/cmd/flux_suspend_receiver.md b/docs/cmd/flux_suspend_receiver.md index a41234be..a0ebd029 100644 --- a/docs/cmd/flux_suspend_receiver.md +++ b/docs/cmd/flux_suspend_receiver.md @@ -18,7 +18,6 @@ flux suspend receiver [name] [flags] ``` # Suspend reconciliation for an existing Receiver flux suspend receiver main - ``` ### Options diff --git a/docs/cmd/flux_suspend_source_bucket.md b/docs/cmd/flux_suspend_source_bucket.md index ecfdd831..d869c346 100644 --- a/docs/cmd/flux_suspend_source_bucket.md +++ b/docs/cmd/flux_suspend_source_bucket.md @@ -18,7 +18,6 @@ flux suspend source bucket [name] [flags] ``` # Suspend reconciliation for an existing Bucket flux suspend source bucket podinfo - ``` ### Options diff --git a/docs/cmd/flux_suspend_source_chart.md b/docs/cmd/flux_suspend_source_chart.md index 137bce9c..cdab6a82 100644 --- a/docs/cmd/flux_suspend_source_chart.md +++ b/docs/cmd/flux_suspend_source_chart.md @@ -18,7 +18,6 @@ flux suspend source chart [name] [flags] ``` # Suspend reconciliation for an existing HelmChart flux suspend source chart podinfo - ``` ### Options diff --git a/docs/cmd/flux_suspend_source_git.md b/docs/cmd/flux_suspend_source_git.md index d0fdef38..bf4aa6d2 100644 --- a/docs/cmd/flux_suspend_source_git.md +++ b/docs/cmd/flux_suspend_source_git.md @@ -18,7 +18,6 @@ flux suspend source git [name] [flags] ``` # Suspend reconciliation for an existing GitRepository flux suspend source git podinfo - ``` ### Options diff --git a/docs/cmd/flux_suspend_source_helm.md b/docs/cmd/flux_suspend_source_helm.md index b3723475..ed4d7a42 100644 --- a/docs/cmd/flux_suspend_source_helm.md +++ b/docs/cmd/flux_suspend_source_helm.md @@ -18,7 +18,6 @@ flux suspend source helm [name] [flags] ``` # Suspend reconciliation for an existing HelmRepository flux suspend source helm bitnami - ``` ### Options diff --git a/docs/cmd/flux_uninstall.md b/docs/cmd/flux_uninstall.md index 28006c19..1815ddfd 100644 --- a/docs/cmd/flux_uninstall.md +++ b/docs/cmd/flux_uninstall.md @@ -21,7 +21,6 @@ flux uninstall [flags] # Uninstall Flux but keep the namespace flux uninstall --namespace=infra --keep-namespace=true - ``` ### Options