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

[Bug]: neo4j-cronjob should allow securityContext setup at the container and pod level #349

Open
1 task done
aguealejandro opened this issue Sep 12, 2024 · 0 comments
Open
1 task done
Assignees
Labels
bug Something isn't working

Comments

@aguealejandro
Copy link

Contact Details

[email protected]

What happened?

We are running database backup jobs using the neo4j-cronjob helm chart, however we are unable to get it fully to work in AKS. The main reason is that securityContext.allowPrivilegeEscalation needs to be set to false at the CONTAINER level. Currently securityContext is only set at the POD Level

securityContext: {{ .Values.securityContext | toYaml | nindent 12 }}
, as we can see on the following documentation, it needs to be done at the container level as well https://kubernetes.io/docs/tasks/configure-pod-container/security-context/

##Alternatives
Currently we had to fork the repo and clone the neo4j-admin chart into our repo in order to unblock ourselves, but ideally we would like to point to the official updated version.

Chart Name

Neo4j Admin

Chart Version

5.12.0

Environment

Microsoft Azure

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
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
Development

No branches or pull requests

3 participants