puppetlabs / puppetserver-helm-chart

The Helm Chart for Puppet Server
Apache License 2.0
52 stars 56 forks source link

r10k Deployment (non-sidecar) Permission Denied #206

Closed ke5C2Fin closed 8 months ago

ke5C2Fin commented 8 months ago

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.

Xtigyro commented 8 months ago

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

Thank you!