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

[bitnami/postgresql-ha] Helm chart templates field "enabled" in podSecurityContext of pgpool init container. #30465

Open
caspereijkens opened this issue Nov 14, 2024 · 1 comment
Assignees
Labels
postgresql-ha tech-issues The user has a technical issue about an application triage Triage is needed

Comments

@caspereijkens
Copy link

caspereijkens commented Nov 14, 2024

Name and Version

bitnami/postgresql-ha

What architecture are you using?

None

What steps will reproduce the bug?

  1. Enable .Values.pgpool.tls.enabled
  2. That will activate
securityContext: {{- .Values.volumePermissions.podSecurityContext | toYaml | nindent 12 }}

In the pgpool deployment.
3. This leads to the field enabled being included in securityContext, which is of course not allowed by the Pod resource definition.

What is the expected behavior?

        securityContext:
          runAsGroup: 0
          runAsNonRoot: false
          runAsUser: 0
          seccompProfile:
            type: RuntimeDefault

What do you see instead?

        securityContext:
          **enabled: true**
          runAsGroup: 0
          runAsNonRoot: false
          runAsUser: 0
          seccompProfile:
            type: RuntimeDefault
@caspereijkens caspereijkens added the tech-issues The user has a technical issue about an application label Nov 14, 2024
@github-actions github-actions bot added the triage Triage is needed label Nov 14, 2024
@caspereijkens caspereijkens changed the title Helm chart templates field "enabled" in podSecurityContext of pgpool init container. [bitnami/postgresql-ha] Helm chart templates field "enabled" in podSecurityContext of pgpool init container. Nov 14, 2024
@carrodher
Copy link
Member

Thank you for bringing this issue to our attention. We appreciate your involvement! If you're interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.

Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
postgresql-ha tech-issues The user has a technical issue about an application triage Triage is needed
Projects
None yet
Development

No branches or pull requests

2 participants