Skip to content

Commit

Permalink
task/operator-sdk-generate-bundle: kustomize-dir param
Browse files Browse the repository at this point in the history
allow setting `--kustomize-dir` flag when generating the bundle. This
works for generating using a base CSV. If the string is empty (default),
it will build without an existing base and generate the default CSV.

Signed-off-by: Brady Pratt <[email protected]>
  • Loading branch information
jbpratt committed Aug 9, 2024
1 parent 2680275 commit dcd9ac4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions task/operator-sdk-generate-bundle/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Generate an OLM bundle using the operator-sdk
|---|---|---|---|
|input-dir|Directory to read cluster-ready operator manifests from|deploy|false|
|channels|Comma-separated list of channels the bundle belongs to|alpha|false|
|kustomize-dir||""|false|
|version|Semantic version of the operator in the generated bundle||true|
|package-name|Bundle's package name||true|

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ spec:
- name: channels
description: Comma-separated list of channels the bundle belongs to
default: alpha
- name: kustomize-dir
description:
default: ""
- name: version
description: Semantic version of the operator in the generated bundle
- name: package-name
Expand All @@ -37,3 +40,5 @@ spec:
- $(params.version)
- --package
- $(params.package-name)
- --kustomize-dir
- $(params.kustomize-dir)

0 comments on commit dcd9ac4

Please sign in to comment.