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

Add support RBAC, ALM and License key in Helm chart #86

Open
giovren opened this issue Dec 11, 2024 · 1 comment
Open

Add support RBAC, ALM and License key in Helm chart #86

giovren opened this issue Dec 11, 2024 · 1 comment

Comments

@giovren
Copy link
Contributor

giovren commented Dec 11, 2024

Add the option in values.yml to specify usergroups and permissions in SonarQube

Example values.yml:

rbac:
  enabled: true
  all_global_permissions: ["admin", "profileadmin", "gateadmin", "scan", "provisioning"]
  all_project_permissions: ["admin", "codeviewer", "issueadmin", "securityhotspotadmin", "scan", "user"]
  user_groups:
    - name: "test-administrators"
      global_permissions: ["admin", "profileadmin", "gateadmin", "scan", "provisioning"]
      project_permissions: ["user", "codeviewer", "scan", "admin", "issueadmin", "securityhotspotadmin"]
    - name: "test-developers"
      global_permissions: ["gateadmin", "scan"]
      project_permissions: ["user", "codeviewer"]

This should:

  • create user groups test-administrators and test-developers
  • User group test-administrators should have global permissions "admin", "profileadmin", "gateadmin", "scan", "provisioning" and project permissions "user", "codeviewer", "scan", "admin", "issueadmin", "securityhotspotadmin"
  • User group test-developers should have global permissions "gateadmin", "scan" and project_permissions "user", "codeviewer"
  • any global permissions in all_global_permissions that are not listed in the user group global permissions should be removed from the user group
  • any project permissions in all_project_permissions that are not listed in the user group project permissions should be removed from the user group

Add the option in values.yml to specify license key to activate Developer Edition

Example values.yml:

license:
  key:

This should:

  • Install the license key specified if Developer Edition of SonarQube is deployed

Add the option in values.yml to configure ALM integration with a given GitLab instance

Example values.yml:

alm:
  gitlab:
    key: mygitlab
    personalAccessToken: 1234
    url:  https://mygitlab/api/v4

This should:

  • Create a integration called mygitlab and configure the specified url and PAT
@denniebouman
Copy link
Member

depends on: #83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants