mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-24 16:41:47 +00:00
Merge pull request #3924 from hgranillo/main
Fix break lines in create helmrelease and source
This commit is contained in:
commit
a5b1b04915
2 changed files with 4 additions and 4 deletions
|
|
@ -83,9 +83,9 @@ var createHelmReleaseCmd = &cobra.Command{
|
||||||
|
|
||||||
# Create a HelmRelease with a custom release name
|
# Create a HelmRelease with a custom release name
|
||||||
flux create hr podinfo \
|
flux create hr podinfo \
|
||||||
--release-name=podinfo-dev
|
--release-name=podinfo-dev \
|
||||||
--source=HelmRepository/podinfo \
|
--source=HelmRepository/podinfo \
|
||||||
--chart=podinfo \
|
--chart=podinfo
|
||||||
|
|
||||||
# Create a HelmRelease targeting another namespace than the resource
|
# Create a HelmRelease targeting another namespace than the resource
|
||||||
flux create hr podinfo \
|
flux create hr podinfo \
|
||||||
|
|
|
||||||
|
|
@ -64,13 +64,13 @@ For private Helm repositories, the basic authentication credentials are stored i
|
||||||
|
|
||||||
# Create a source for an OCI Helm repository
|
# Create a source for an OCI Helm repository
|
||||||
flux create source helm podinfo \
|
flux create source helm podinfo \
|
||||||
--url=oci://ghcr.io/stefanprodan/charts/podinfo
|
--url=oci://ghcr.io/stefanprodan/charts/podinfo \
|
||||||
--username=username \
|
--username=username \
|
||||||
--password=password
|
--password=password
|
||||||
|
|
||||||
# Create a source for an OCI Helm repository using an existing secret with basic auth or dockerconfig credentials
|
# Create a source for an OCI Helm repository using an existing secret with basic auth or dockerconfig credentials
|
||||||
flux create source helm podinfo \
|
flux create source helm podinfo \
|
||||||
--url=oci://ghcr.io/stefanprodan/charts/podinfo
|
--url=oci://ghcr.io/stefanprodan/charts/podinfo \
|
||||||
--secret-ref=docker-config`,
|
--secret-ref=docker-config`,
|
||||||
RunE: createSourceHelmCmdRun,
|
RunE: createSourceHelmCmdRun,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue