Skip to content

Commit

Permalink
Update cmd/flux/create_source_chart.go
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Max Jonas Werner <makkes@users.noreply.github.com>
  • Loading branch information
makkes and stefanprodan committed May 9, 2024
1 parent 2088626 commit b9c8d1d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions cmd/flux/create_source_chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,28 @@ var createSourceChartCmd = &cobra.Command{
Long: `The create source chart command generates a HelmChart resource and waits for the chart to be available.`,
Example: ` # Create a source for a chart residing in a HelmRepository
flux create source chart podinfo \
--source HelmRepository/podinfo \
--chart podinfo \
--chart-version 6.6.2 \
--source=HelmRepository/podinfo \
--chart=podinfo \
--chart-version=6.x
# Create a source for a chart from a GitRepository
# Create a source for a chart residing in a Git repository
flux create source chart podinfo \
--source=GitRepository/podinfo \
--source=GitRepository/podinfo \
--chart=./charts/podinfo
# Create a HelmRelease with a chart from a Bucket source
# Create a source for a chart residing in a S3 Bucket
flux create source chart podinfo \
--source=Bucket/podinfo \
--chart=./charts/podinfo
--source=Bucket/podinfo \
--chart=./charts/podinfo
# Create a source for a chart from OCI and verify its signature
flux create source chart podinfo \
--source HelmRepository/podinfo \
--chart podinfo \
--chart-version=6.6.2 \
--verify-provider cosign \
--verify-issuer https://token.actions.githubusercontent.com \
--verify-subject https://github.com/stefanprodan/podinfo/.github/workflows/release.yml@refs/tags/6.4.0`,
--chart podinfo \
--chart-version=6.6.2 \
--verify-provider=cosign \
--verify-issuer=https://token.actions.githubusercontent.com \
--verify-subject=https://github.com/stefanprodan/podinfo/.github/workflows/release.yml@refs/tags/6.6.2`,
RunE: createSourceChartCmdRun,
}

Expand Down

0 comments on commit b9c8d1d

Please sign in to comment.