From fa15c6f2099cff0e99544da3091e845ce351534c Mon Sep 17 00:00:00 2001 From: Melissa Palmer Date: Wed, 9 Jan 2019 19:46:50 +0200 Subject: [PATCH 1/3] update docs for installing custom plugins Signed-off-by: Melissa Palmer --- stable/sonarqube/README.md | 84 ++++++++++++++++++------------------ stable/sonarqube/values.yaml | 4 ++ 2 files changed, 46 insertions(+), 42 deletions(-) diff --git a/stable/sonarqube/README.md b/stable/sonarqube/README.md index ce345ee74882..47b1727337ab 100644 --- a/stable/sonarqube/README.md +++ b/stable/sonarqube/README.md @@ -37,48 +37,48 @@ $ helm delete kindly-newt The following table lists the configurable parameters of the Sonarqube chart and their default values. -| Parameter | Description | Default | -| ------------------------------------------ | ---------------------------------------- | -------------------------------------------| -| `image.repository` | image repository | `sonarqube` | -| `image.tag` | `sonarqube` image tag. | 6.5 | -| `image.pullPolicy` | Image pull policy | `IfNotPresent` | -| `image.pullSecret` | imagePullSecret to use for private repository | | -| `command` | command to run in the container | `nil` (need to be set prior to 6.7.6, and 7.4) | -| `securityContext.fsGroup` | Group applied to mounted directories/files| `999` | -| `ingress.enabled` | Flag for enabling ingress | false | -| `service.type` | Kubernetes service type | `LoadBalancer` | -| `service.labels` | Kubernetes service labels | None | -| `service.annotations` | Kubernetes service annotations | None | -| `service.loadBalancerSourceRanges` | Kubernetes service LB Allowed inbound IP addresses | 0.0.0.0/0 | -| `service.loadBalancerIP` | Kubernetes service LB Optional fixed external IP | None | -| `persistence.enabled` | Flag for enabling persistent storage | false | -| `persistence.storageClass` | Storage class to be used | "-" | -| `persistence.accessMode` | Volumes access mode to be set | `ReadWriteOnce` | -| `persistence.size` | Size of the volume | None | -| `sonarProperties` | Custom `sonar.properties` file | None | -| `database.type` | Set to "mysql" to use mysql database | `postgresql`| -| `postgresql.enabled` | Set to `false` to use external server / mysql database | `true` | -| `postgresql.postgresServer` | Hostname of the external Postgresql server| `null` | -| `postgresql.postgresPasswordSecret` | Secret containing the password of the external Postgresql server | `null` | -| `postgresql.postgresUser` | Postgresql database user | `sonarUser` | -| `postgresql.postgresPassword` | Postgresql database password | `sonarPass` | -| `postgresql.postgresDatabase` | Postgresql database name | `sonarDB` | -| `postgresql.service.port` | Postgresql port | `5432` | -| `mysql.enabled` | Set to `false` to use external server / postgresql database | `false` | -| `mysql.mysqlServer` | Hostname of the external Mysql server | `null` | -| `mysql.mysqlPasswordSecret` | Secret containing the password of the external Mysql server | `null` | -| `mysql.mysqlUser` | Mysql database user | `sonarUser` | -| `mysql.mysqlPassword` | Mysql database password | `sonarPass` | -| `mysql.mysqlDatabase` | Mysql database name | `sonarDB` | -| `mysql.mysqlParams` | Mysql parameters for JDBC connection string | `{}` | -| `mysql.service.port` | Mysql port | `3306` | -| `resources` | Sonarqube Pod resource requests & limits | `{}` | -| `affinity` | Node / Pod affinities | `{}` | -| `nodeSelector` | Node labels for pod assignment | `{}` | -| `hostAliases` | Aliases for IPs in /etc/hosts | `[]` | -| `tolerations` | List of node taints to tolerate | `[]` | -| `plugins.install` | List of plugins to install | `[]` | -| `plugins.resources` | Plugin Pod resource requests & limits | `{}` | +| Parameter | Description | Default | +| ----------------------------------- | ------------------------------------------------------------ | ---------------------------------------------- | +| `image.repository` | image repository | `sonarqube` | +| `image.tag` | `sonarqube` image tag. | 6.5 | +| `image.pullPolicy` | Image pull policy | `IfNotPresent` | +| `image.pullSecret` | imagePullSecret to use for private repository | | +| `command` | command to run in the container | `nil` (need to be set prior to 6.7.6, and 7.4) | +| `securityContext.fsGroup` | Group applied to mounted directories/files | `999` | +| `ingress.enabled` | Flag for enabling ingress | false | +| `service.type` | Kubernetes service type | `LoadBalancer` | +| `service.labels` | Kubernetes service labels | None | +| `service.annotations` | Kubernetes service annotations | None | +| `service.loadBalancerSourceRanges` | Kubernetes service LB Allowed inbound IP addresses | 0.0.0.0/0 | +| `service.loadBalancerIP` | Kubernetes service LB Optional fixed external IP | None | +| `persistence.enabled` | Flag for enabling persistent storage | false | +| `persistence.storageClass` | Storage class to be used | "-" | +| `persistence.accessMode` | Volumes access mode to be set | `ReadWriteOnce` | +| `persistence.size` | Size of the volume | None | +| `sonarProperties` | Custom `sonar.properties` file | None | +| `database.type` | Set to "mysql" to use mysql database | `postgresql` | +| `postgresql.enabled` | Set to `false` to use external server / mysql database | `true` | +| `postgresql.postgresServer` | Hostname of the external Postgresql server | `null` | +| `postgresql.postgresPasswordSecret` | Secret containing the password of the external Postgresql server | `null` | +| `postgresql.postgresUser` | Postgresql database user | `sonarUser` | +| `postgresql.postgresPassword` | Postgresql database password | `sonarPass` | +| `postgresql.postgresDatabase` | Postgresql database name | `sonarDB` | +| `postgresql.service.port` | Postgresql port | `5432` | +| `mysql.enabled` | Set to `false` to use external server / postgresql database | `false` | +| `mysql.mysqlServer` | Hostname of the external Mysql server | `null` | +| `mysql.mysqlPasswordSecret` | Secret containing the password of the external Mysql server | `null` | +| `mysql.mysqlUser` | Mysql database user | `sonarUser` | +| `mysql.mysqlPassword` | Mysql database password | `sonarPass` | +| `mysql.mysqlDatabase` | Mysql database name | `sonarDB` | +| `mysql.mysqlParams` | Mysql parameters for JDBC connection string | `{}` | +| `mysql.service.port` | Mysql port | `3306` | +| `resources` | Sonarqube Pod resource requests & limits | `{}` | +| `affinity` | Node / Pod affinities | `{}` | +| `nodeSelector` | Node labels for pod assignment | `{}` | +| `hostAliases` | Aliases for IPs in /etc/hosts | `[]` | +| `tolerations` | List of node taints to tolerate | `[]` | +| `plugins.install` | List of plugins to install.
**NOTE**: if you have set this, starting from chart version 0.12.0 you will need to uncomment the command in values file. | `[]` | +| `plugins.resources` | Plugin Pod resource requests & limits | `{}` | You can also configure values for the PostgreSQL / MySQL database via the Postgresql [README.md](https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md) / MySQL [README.md](https://github.com/kubernetes/charts/blob/master/stable/mysql/README.md) diff --git a/stable/sonarqube/values.yaml b/stable/sonarqube/values.yaml index 8f797090216d..c851bf5663b2 100755 --- a/stable/sonarqube/values.yaml +++ b/stable/sonarqube/values.yaml @@ -19,6 +19,10 @@ image: # " # ] +# Starting from chart 0.12.0 if you want to install custom plugins ie: plugins.install is set, you need to , uncomment the following lines. +# command: +# - /usr/local/copy_plugins.sh + # Set security context for sonarqube pod securityContext: fsGroup: 999 From 2d82596cd614be5c86c04e47f9b98a0440181eab Mon Sep 17 00:00:00 2001 From: Melissa Palmer Date: Wed, 9 Jan 2019 19:50:05 +0200 Subject: [PATCH 2/3] Revert "update docs for installing custom plugins" This reverts commit fa15c6f2099cff0e99544da3091e845ce351534c. --- stable/sonarqube/README.md | 84 ++++++++++++++++++------------------ stable/sonarqube/values.yaml | 4 -- 2 files changed, 42 insertions(+), 46 deletions(-) diff --git a/stable/sonarqube/README.md b/stable/sonarqube/README.md index 47b1727337ab..ce345ee74882 100644 --- a/stable/sonarqube/README.md +++ b/stable/sonarqube/README.md @@ -37,48 +37,48 @@ $ helm delete kindly-newt The following table lists the configurable parameters of the Sonarqube chart and their default values. -| Parameter | Description | Default | -| ----------------------------------- | ------------------------------------------------------------ | ---------------------------------------------- | -| `image.repository` | image repository | `sonarqube` | -| `image.tag` | `sonarqube` image tag. | 6.5 | -| `image.pullPolicy` | Image pull policy | `IfNotPresent` | -| `image.pullSecret` | imagePullSecret to use for private repository | | -| `command` | command to run in the container | `nil` (need to be set prior to 6.7.6, and 7.4) | -| `securityContext.fsGroup` | Group applied to mounted directories/files | `999` | -| `ingress.enabled` | Flag for enabling ingress | false | -| `service.type` | Kubernetes service type | `LoadBalancer` | -| `service.labels` | Kubernetes service labels | None | -| `service.annotations` | Kubernetes service annotations | None | -| `service.loadBalancerSourceRanges` | Kubernetes service LB Allowed inbound IP addresses | 0.0.0.0/0 | -| `service.loadBalancerIP` | Kubernetes service LB Optional fixed external IP | None | -| `persistence.enabled` | Flag for enabling persistent storage | false | -| `persistence.storageClass` | Storage class to be used | "-" | -| `persistence.accessMode` | Volumes access mode to be set | `ReadWriteOnce` | -| `persistence.size` | Size of the volume | None | -| `sonarProperties` | Custom `sonar.properties` file | None | -| `database.type` | Set to "mysql" to use mysql database | `postgresql` | -| `postgresql.enabled` | Set to `false` to use external server / mysql database | `true` | -| `postgresql.postgresServer` | Hostname of the external Postgresql server | `null` | -| `postgresql.postgresPasswordSecret` | Secret containing the password of the external Postgresql server | `null` | -| `postgresql.postgresUser` | Postgresql database user | `sonarUser` | -| `postgresql.postgresPassword` | Postgresql database password | `sonarPass` | -| `postgresql.postgresDatabase` | Postgresql database name | `sonarDB` | -| `postgresql.service.port` | Postgresql port | `5432` | -| `mysql.enabled` | Set to `false` to use external server / postgresql database | `false` | -| `mysql.mysqlServer` | Hostname of the external Mysql server | `null` | -| `mysql.mysqlPasswordSecret` | Secret containing the password of the external Mysql server | `null` | -| `mysql.mysqlUser` | Mysql database user | `sonarUser` | -| `mysql.mysqlPassword` | Mysql database password | `sonarPass` | -| `mysql.mysqlDatabase` | Mysql database name | `sonarDB` | -| `mysql.mysqlParams` | Mysql parameters for JDBC connection string | `{}` | -| `mysql.service.port` | Mysql port | `3306` | -| `resources` | Sonarqube Pod resource requests & limits | `{}` | -| `affinity` | Node / Pod affinities | `{}` | -| `nodeSelector` | Node labels for pod assignment | `{}` | -| `hostAliases` | Aliases for IPs in /etc/hosts | `[]` | -| `tolerations` | List of node taints to tolerate | `[]` | -| `plugins.install` | List of plugins to install.
**NOTE**: if you have set this, starting from chart version 0.12.0 you will need to uncomment the command in values file. | `[]` | -| `plugins.resources` | Plugin Pod resource requests & limits | `{}` | +| Parameter | Description | Default | +| ------------------------------------------ | ---------------------------------------- | -------------------------------------------| +| `image.repository` | image repository | `sonarqube` | +| `image.tag` | `sonarqube` image tag. | 6.5 | +| `image.pullPolicy` | Image pull policy | `IfNotPresent` | +| `image.pullSecret` | imagePullSecret to use for private repository | | +| `command` | command to run in the container | `nil` (need to be set prior to 6.7.6, and 7.4) | +| `securityContext.fsGroup` | Group applied to mounted directories/files| `999` | +| `ingress.enabled` | Flag for enabling ingress | false | +| `service.type` | Kubernetes service type | `LoadBalancer` | +| `service.labels` | Kubernetes service labels | None | +| `service.annotations` | Kubernetes service annotations | None | +| `service.loadBalancerSourceRanges` | Kubernetes service LB Allowed inbound IP addresses | 0.0.0.0/0 | +| `service.loadBalancerIP` | Kubernetes service LB Optional fixed external IP | None | +| `persistence.enabled` | Flag for enabling persistent storage | false | +| `persistence.storageClass` | Storage class to be used | "-" | +| `persistence.accessMode` | Volumes access mode to be set | `ReadWriteOnce` | +| `persistence.size` | Size of the volume | None | +| `sonarProperties` | Custom `sonar.properties` file | None | +| `database.type` | Set to "mysql" to use mysql database | `postgresql`| +| `postgresql.enabled` | Set to `false` to use external server / mysql database | `true` | +| `postgresql.postgresServer` | Hostname of the external Postgresql server| `null` | +| `postgresql.postgresPasswordSecret` | Secret containing the password of the external Postgresql server | `null` | +| `postgresql.postgresUser` | Postgresql database user | `sonarUser` | +| `postgresql.postgresPassword` | Postgresql database password | `sonarPass` | +| `postgresql.postgresDatabase` | Postgresql database name | `sonarDB` | +| `postgresql.service.port` | Postgresql port | `5432` | +| `mysql.enabled` | Set to `false` to use external server / postgresql database | `false` | +| `mysql.mysqlServer` | Hostname of the external Mysql server | `null` | +| `mysql.mysqlPasswordSecret` | Secret containing the password of the external Mysql server | `null` | +| `mysql.mysqlUser` | Mysql database user | `sonarUser` | +| `mysql.mysqlPassword` | Mysql database password | `sonarPass` | +| `mysql.mysqlDatabase` | Mysql database name | `sonarDB` | +| `mysql.mysqlParams` | Mysql parameters for JDBC connection string | `{}` | +| `mysql.service.port` | Mysql port | `3306` | +| `resources` | Sonarqube Pod resource requests & limits | `{}` | +| `affinity` | Node / Pod affinities | `{}` | +| `nodeSelector` | Node labels for pod assignment | `{}` | +| `hostAliases` | Aliases for IPs in /etc/hosts | `[]` | +| `tolerations` | List of node taints to tolerate | `[]` | +| `plugins.install` | List of plugins to install | `[]` | +| `plugins.resources` | Plugin Pod resource requests & limits | `{}` | You can also configure values for the PostgreSQL / MySQL database via the Postgresql [README.md](https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md) / MySQL [README.md](https://github.com/kubernetes/charts/blob/master/stable/mysql/README.md) diff --git a/stable/sonarqube/values.yaml b/stable/sonarqube/values.yaml index c851bf5663b2..8f797090216d 100755 --- a/stable/sonarqube/values.yaml +++ b/stable/sonarqube/values.yaml @@ -19,10 +19,6 @@ image: # " # ] -# Starting from chart 0.12.0 if you want to install custom plugins ie: plugins.install is set, you need to , uncomment the following lines. -# command: -# - /usr/local/copy_plugins.sh - # Set security context for sonarqube pod securityContext: fsGroup: 999 From 1fc966acd496b821f3283546bcb6d6c678b032bb Mon Sep 17 00:00:00 2001 From: Melissa Palmer Date: Wed, 9 Jan 2019 19:56:46 +0200 Subject: [PATCH 3/3] update docs for installing custom plugins Signed-off-by: Melissa Palmer --- stable/sonarqube/README.md | 4 ++-- stable/sonarqube/values.yaml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/stable/sonarqube/README.md b/stable/sonarqube/README.md index ce345ee74882..36ca30c4dc96 100644 --- a/stable/sonarqube/README.md +++ b/stable/sonarqube/README.md @@ -43,7 +43,7 @@ The following table lists the configurable parameters of the Sonarqube chart and | `image.tag` | `sonarqube` image tag. | 6.5 | | `image.pullPolicy` | Image pull policy | `IfNotPresent` | | `image.pullSecret` | imagePullSecret to use for private repository | | -| `command` | command to run in the container | `nil` (need to be set prior to 6.7.6, and 7.4) | +| `command` | command to run in the container | `nil` (need to be set prior to 6.7.6, and 7.4). From chart version 0.12.0 see `plugins.install` for more info. | | `securityContext.fsGroup` | Group applied to mounted directories/files| `999` | | `ingress.enabled` | Flag for enabling ingress | false | | `service.type` | Kubernetes service type | `LoadBalancer` | @@ -77,7 +77,7 @@ The following table lists the configurable parameters of the Sonarqube chart and | `nodeSelector` | Node labels for pod assignment | `{}` | | `hostAliases` | Aliases for IPs in /etc/hosts | `[]` | | `tolerations` | List of node taints to tolerate | `[]` | -| `plugins.install` | List of plugins to install | `[]` | +| `plugins.install` | List of plugins to install. **NOTE**: if you have set this, starting from chart version 0.12.0 you will need to uncomment the command in values file. | `[]` | | `plugins.resources` | Plugin Pod resource requests & limits | `{}` | You can also configure values for the PostgreSQL / MySQL database via the Postgresql [README.md](https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md) / MySQL [README.md](https://github.com/kubernetes/charts/blob/master/stable/mysql/README.md) diff --git a/stable/sonarqube/values.yaml b/stable/sonarqube/values.yaml index 8f797090216d..c851bf5663b2 100755 --- a/stable/sonarqube/values.yaml +++ b/stable/sonarqube/values.yaml @@ -19,6 +19,10 @@ image: # " # ] +# Starting from chart 0.12.0 if you want to install custom plugins ie: plugins.install is set, you need to , uncomment the following lines. +# command: +# - /usr/local/copy_plugins.sh + # Set security context for sonarqube pod securityContext: fsGroup: 999