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

r10k Deployment (non-sidecar) Permission Denied #206

Closed
ke5C2Fin opened this issue Mar 4, 2024 · 1 comment · Fixed by #207
Closed

r10k Deployment (non-sidecar) Permission Denied #206

ke5C2Fin opened this issue Mar 4, 2024 · 1 comment · Fixed by #207
Labels
bug Something isn't working

Comments

@ke5C2Fin
Copy link
Contributor

ke5C2Fin commented Mar 4, 2024

Using puppetserver-helm-chart 9.1.0 with the r01k Deployment (non-sidecar) I was getting permissions denied on the r10k pod.

/bin/sh: /etc/puppetlabs/puppet/r10k_code_entrypoint.sh: Permission denied

I am unsure about the changes in PR187 and if they relate.

I fixed this by editing https://github.com/puppetlabs/puppetserver-helm-chart/blob/master/templates/puppet-r10k-deployment.yaml spec.template.spec.securityContext.fsGroup: {{ .Values.global.securityContext.runAsGroup }}.

Maybe I should create a .Values.global.securityContext.fsGroup and use that instead?
If there is a preference then I will submit a PR.

@ke5C2Fin ke5C2Fin added the bug Something isn't working label Mar 4, 2024
@Xtigyro
Copy link
Contributor

Xtigyro commented Mar 5, 2024

@ke5C2Fin Yes - please create .Values.global.securityContext.fsGroup.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants