[bitnami/sonarqube] fix: 🔒 Do not automount the service account token unless necessary (#22062)

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
Javier J. Salmerón-García
2024-01-15 10:24:35 +01:00
committed by GitHub
parent 7aee9213ce
commit 6b98ee5f9f
3 changed files with 3 additions and 3 deletions

View File

@@ -37,4 +37,4 @@ maintainers:
name: sonarqube
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/sonarqube
version: 4.1.6
version: 4.1.7

View File

@@ -297,7 +297,7 @@ The command removes all the Kubernetes components associated with the chart and
| `rbac.create` | Specifies whether RBAC resources should be created | `false` |
| `serviceAccount.create` | Specifies whether a ServiceAccount should be created | `true` |
| `serviceAccount.name` | Name of the service account to use. If not set and create is true, a name is generated using the fullname template. | `""` |
| `serviceAccount.automountServiceAccountToken` | Automount service account token for the server service account | `true` |
| `serviceAccount.automountServiceAccountToken` | Automount service account token for the server service account | `false` |
| `serviceAccount.annotations` | Annotations for service account. Evaluated as a template. Only used if `create` is `true`. | `{}` |
| `autoscaling.enabled` | Enable Horizontal POD autoscaling for SonarQube&trade; | `false` |
| `autoscaling.minReplicas` | Minimum number of SonarQube&trade; replicas | `1` |

View File

@@ -859,7 +859,7 @@ rbac:
serviceAccount:
create: true
name: ""
automountServiceAccountToken: true
automountServiceAccountToken: false
annotations: {}
## SonarQube&trade; Autoscaling configuration
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/