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/sonarqube] When volumePermissions is enabled and defined other user, plugins failed to install #27058

Closed
DanielFran opened this issue Jun 7, 2024 · 1 comment · Fixed by #27113
Assignees
Labels
solved sonarqube tech-issues The user has a technical issue about an application

Comments

@DanielFran
Copy link

DanielFran commented Jun 7, 2024

Name and Version

bitnami/sonarqube 5.2.3

What architecture are you using?

amd64

What steps will reproduce the bug?

1 - Override default values user/group:
2 - Activate Volume Permissions
3 - It fails to create directory opt/bitnami/sonarqube/extensions/dowloads

Are you using any custom parameters or values?

global:
  storageClass: my-sonarqube-storage
sonarqubeUsername: admin-sonar
sonarqubePassword: mypassword
podSecurityContext:
  fsGroup: 1006
containerSecurityContext:
  runAsUser: 1006
  runAsGroup: 1006
caCerts:
  enabled: true
  secret: mysecret
  containerSecurityContext:
    runAsUser: 1006
    runAsGroup: 1006
plugins:
  containerSecurityContext:
    runAsUser: 1006
    runAsGroup: 1006
persistence:
  enabled: true
volumePermissions:
  enabled: true
postgresql:
  primary:
    podSecurityContext:
      fsGroup: 1006
    containerSecurityContext:
      runAsUser: 1006
      runAsGroup: 1006

What is the expected behavior?

All directory are created with the specific user

What do you see instead?

Deploy is failing

Additional information

No response

@DanielFran DanielFran added the tech-issues The user has a technical issue about an application label Jun 7, 2024
@github-actions github-actions bot added the triage Triage is needed label Jun 7, 2024
@github-actions github-actions bot removed the triage Triage is needed label Jun 10, 2024
@github-actions github-actions bot assigned dgomezleon and unassigned carrodher Jun 10, 2024
@dgomezleon
Copy link
Member

Hi @DanielFran ,

Thanks for bringing it up. The issue happens with the combination volumePermissions.enabled + persistence.enabled. We will review the logic to fix the problem.

@dgomezleon dgomezleon added on-hold Issues or Pull Requests with this label will never be considered stale and removed in-progress labels Jun 11, 2024
@github-actions github-actions bot added solved and removed on-hold Issues or Pull Requests with this label will never be considered stale labels Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved sonarqube tech-issues The user has a technical issue about an application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants