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

Add optional (advanced-only) hubot-scripts volume to st2chatops pod #207

Merged
merged 3 commits into from
Jul 1, 2021

Conversation

cognifloyd
Copy link
Member

@cognifloyd cognifloyd commented Jun 25, 2021

This is for advanced use-cases only, and should generally not be used.
However, adding volumes is not possible from parent helm charts, so this is a limited, but useful, extension point.

I need to support an in-house acl solution for hubot. We use a hubot script to provide that feature. Given the current chart, there is no clean way to inject these scripts before chatops is started. This PR adds a simple, targeted way to enable this feature while keeping its footprint small.

NB. In my case, I have a custom docker image that includes the dependencies for my script, but there is also a config file that needs to be deployed via a volume of some kind, so embedding that in the docker image as well isn't feasible.

@pull-request-size pull-request-size bot added the size/S PR that changes 10-29 lines. Very easy to review. label Jun 25, 2021
@cognifloyd cognifloyd requested a review from arm4b June 25, 2021 00:55
@cognifloyd
Copy link
Member Author

rebased on master

values.yaml Outdated Show resolved Hide resolved
This is for advanced use-cases only, and should generally not be used.
However, adding volumes is not possible from parent helm charts, so
this is a limited, but useful, extension point.
@pull-request-size pull-request-size bot added size/M PR that changes 30-99 lines. Good size to review. and removed size/S PR that changes 10-29 lines. Very easy to review. labels Jun 26, 2021
@cognifloyd cognifloyd changed the title Add optional (advanced-only) hubot-scritps volume to st2chatops pod Add optional (advanced-only) hubot-scripts volume to st2chatops pod Jun 26, 2021
@pull-request-size pull-request-size bot added size/S PR that changes 10-29 lines. Very easy to review. and removed size/M PR that changes 30-99 lines. Good size to review. labels Jul 1, 2021
@cognifloyd cognifloyd requested a review from arm4b July 1, 2021 05:00
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.

👍

@arm4b arm4b merged commit 99af4d8 into StackStorm:master Jul 1, 2021
@cognifloyd cognifloyd removed the RFR label Jul 1, 2021
@cognifloyd cognifloyd deleted the chatops-scripts branch November 11, 2021 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 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.

None yet

2 participants