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 <bpratt@redhat.com>
  • Loading branch information
jbpratt authored and chmeliik committed Aug 13, 2024
1 parent c3427c8 commit 6766ab1
Show file tree
Hide file tree
Showing 2 changed files with 8 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|Directory containing kustomize bases in a "bases" dir and a kustomization.yaml for operator-framework manifests |""|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,11 @@ spec:
- name: channels
description: Comma-separated list of channels the bundle belongs to
default: alpha
- name: kustomize-dir
description: >
Directory containing kustomize bases in a "bases" dir and a
kustomization.yaml for operator-framework manifests
default: ""
- name: version
description: Semantic version of the operator in the generated bundle
- name: package-name
Expand All @@ -37,3 +42,5 @@ spec:
- $(params.version)
- --package
- $(params.package-name)
- --kustomize-dir
- $(params.kustomize-dir)

0 comments on commit 6766ab1

Please sign in to comment.