-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Expose volumeMounts and volumes in gha-runner-scale-set-controller #3260
Conversation
My team needs to be able to mount our cert chain into these containers so they can trust our GHE deployment certs.
@@ -110,10 +110,16 @@ spec: | |||
volumeMounts: | |||
- mountPath: /tmp | |||
name: tmp | |||
{{- range .Values.volumeMounts }} | |||
- {{ toJson . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please use toYaml? When someone renders a chart, it would be much easier to read
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I can do that. Thanks for the review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add tests?
You probably want me to add to Do you have instructions somewhere on running these tests? It doesn't look like there's a Github Action enabled (somewhat ironically). |
Yeah, so to run tests, you do |
add test to volumes and volumeMounts options
Thank you! That is fair, security is important. |
Tests are updated and passing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
My team needs to be able to mount our cert chain into these containers so they can trust our GHE deployment certs.