Skip to content

Commit

Permalink
chore: Move Keycloak CRs from sonar-operator to sonar (#77)
Browse files Browse the repository at this point in the history
Change-Id: I9446708b21fffb5db98538fecf41360cffc18199
  • Loading branch information
Artem-Zahumonnyi committed May 7, 2024
1 parent 0479d07 commit 481fdcc
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions add-ons/sonar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ A Helm chart for Sonarqube

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| oidc | object | `{"enabled":false}` | Integration with keycloak |
| sonarqube.deploymentType | string | `"Deployment"` | |
| sonarqube.env[0].name | string | `"SONAR_TELEMETRY_ENABLE"` | |
| sonarqube.env[0].value | string | `"false"` | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
realmRef:
kind: ClusterKeycloakRealm
name: main
webUrl: {{ .Values.sonarUrl }}
webUrl: https://{{ (index .Values.sonarqube.ingress.hosts 0).name }}
protocolMappers:
- name: roles
protocol: openid-connect
Expand Down
5 changes: 5 additions & 0 deletions add-ons/sonar/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,8 @@ sonarqube:
jdbcUsername: "sonar"
jdbcSecretName: sonar-pguser-sonar
jdbcSecretPasswordKey: "password"

# -- Integration with keycloak
oidc:
# If set to true, the OIDC resources will be created.
enabled: false

0 comments on commit 481fdcc

Please sign in to comment.