Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow excluding default/sample RBAC files in values #248

Merged
merged 2 commits into from
Sep 29, 2021

Conversation

cognifloyd
Copy link
Member

As values dictionaries are merged, there is no way to remove unwanted rbac files like sample.yaml. And, we cannot assume that st2admin and stanley are present, because those are configurable.

So, we allow the user to set the sample/default files to an empty string to prevent them from inclusion in their stackstorm-ha cluster.

Resolves #230
Closes #247 (alternative implementation)

As values dictionaries are merged, there is no way to remove
unwanted rbac files like sample.yaml. And, we cannot assume
that st2admin and stanley are present, because those are configurable.

So, we allow the user to set the sample/default files to an empty string
to prevent them from inclusion in their stackstorm-ha cluster.
@pull-request-size pull-request-size bot added the size/S PR that changes 10-29 lines. Very easy to review. label Sep 12, 2021
@cognifloyd cognifloyd added enhancement New feature or request Helm labels Sep 12, 2021
@cognifloyd cognifloyd self-assigned this Sep 12, 2021
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Thanks for the alternative implementation! This one provides much more flexibility.

@cognifloyd cognifloyd merged commit 8259d68 into StackStorm:master Sep 29, 2021
@cognifloyd cognifloyd deleted the empty-default-rbac-files branch November 11, 2021 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Helm size/S PR that changes 10-29 lines. Very easy to review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not include example RBAC files in values.
2 participants