Open ahatzz11 opened 4 days ago
@ahatzz11 you can try adding securityContext
to your deployment letting Kubernetes know more about the runtime user, the important part for you I think would be Configure volume permission and ownership change policy for Pods
securityContext:
fsGroup: 1000
runAsUser: 1000
I am deploying a fresh install of renovate-ce
8.7.0
to kubernetes and am getting the following permission error for the/tmp/renovate
folder:We're not using the helm-chart because we need to add annotations to our
Secret
s for our argocd-vault plugin, so I've copied what would be created by helm and am using that as our base manifest files.When I add an init container with the following the error is resolved:
I've done a little debugging around this, and it seems like the
renovate-ee
folder is owned by theubuntu
user, but therenovate
user is owned byroot
:This kind of seems like a missed directory permission issue in the docker container, but it's certainly possible we're doing something different from the helm-chart. Below are some of our manifest snippets if that helps.