diff --git a/task/operator-sdk-generate-bundle/0.1/README.md b/task/operator-sdk-generate-bundle/0.1/README.md index 534029e992..56bcab9e8f 100644 --- a/task/operator-sdk-generate-bundle/0.1/README.md +++ b/task/operator-sdk-generate-bundle/0.1/README.md @@ -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| diff --git a/task/operator-sdk-generate-bundle/0.1/operator-sdk-generate-bundle.yaml b/task/operator-sdk-generate-bundle/0.1/operator-sdk-generate-bundle.yaml index 294a7bdbb2..882e17cec1 100644 --- a/task/operator-sdk-generate-bundle/0.1/operator-sdk-generate-bundle.yaml +++ b/task/operator-sdk-generate-bundle/0.1/operator-sdk-generate-bundle.yaml @@ -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 @@ -44,3 +50,5 @@ spec: - $(params.package-name) - --kustomize-dir - $(params.kustomize-dir) + - --extra-service-accounts + - $(params.extra-service-accounts)