Skip to content

Commit

Permalink
task/operator-sdk-generate-bundle: --extra-service-accounts
Browse files Browse the repository at this point in the history
allow for passing the `--extra-service-accounts` operator-sdk flag in to
configure additional cluster permissions in the CSV

Signed-off-by: Brady Pratt <[email protected]>
  • Loading branch information
jbpratt committed Aug 13, 2024
1 parent 6766ab1 commit 4dc95db
Show file tree
Hide file tree
Showing 2 changed files with 9 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 @@ -8,6 +8,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|
|extra-service-accounts|Comma-seperated list of service account names, outside of the operator's Deployment account, that have bindings to {Cluster}Roles that should be added to the CSV |""|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 @@ -17,6 +17,12 @@ spec:
Directory containing kustomize bases in a "bases" dir and a
kustomization.yaml for operator-framework manifests
default: ""
- name: extra-service-accounts
description: >
Comma-seperated list of service account names, outside of the
operator's Deployment account, that have bindings to {Cluster}Roles
that should be added to the CSV
default: ""
- name: version
description: Semantic version of the operator in the generated bundle
- name: package-name
Expand Down Expand Up @@ -44,3 +50,5 @@ spec:
- $(params.package-name)
- --kustomize-dir
- $(params.kustomize-dir)
- --extra-service-accounts
- $(params.extra-service-accounts)

0 comments on commit 4dc95db

Please sign in to comment.