Skip to content

Commit

Permalink
SONAR-24105 remove postgresql.postgresqlServer
Browse files Browse the repository at this point in the history
  • Loading branch information
jCOTINEAU committed Jan 8, 2025
1 parent b3fc8be commit 77820fc
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/sonarqube-dce/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ All changes to this chart will be documented in this file.
* Update ingress-nginx subchart to 4.11.3
* Support Kubernetes v1.32
* Remove the default passcode provided with `monitoringPasscode`
* Remove deprecated `ApplicationNodes.image.pullSecret` and `searchNodes.image.pullSecret`
* Remove deprecated `ApplicationNodes.image.pullSecret`, `searchNodes.image.pullSecret` and `postgresql.postgresqlServer`

## [10.8.1]
* Update Chart's version to 10.8.1
Expand Down
2 changes: 1 addition & 1 deletion charts/sonarqube-dce/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ annotations:
- kind: changed
description: "Remove the default passcode provided with 'monitoringPasscode'"
- kind: removed
description: "Remove deprecated `ApplicationNodes.image.pullSecret` and `searchNodes.image.pullSecret`"
description: "Remove deprecated `ApplicationNodes.image.pullSecret`, `searchNodes.image.pullSecret` and `postgresql.postgresqlServer`"
artifacthub.io/links: |
- name: support
url: https://community.sonarsource.com/
Expand Down
2 changes: 0 additions & 2 deletions charts/sonarqube-dce/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ Expand the Application Image name.
{{- define "postgresql.hostname" -}}
{{- if .Values.postgresql.enabled -}}
{{- printf "%s-%s" .Release.Name "postgresql" | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s" .Values.postgresql.postgresqlServer -}}
{{- end -}}
{{- end -}}

Expand Down
2 changes: 1 addition & 1 deletion charts/sonarqube/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ All changes to this chart will be documented in this file.
* Update ingress-nginx subchart to 4.11.3
* Support Kubernetes v1.32
* Remove the default passcode provided with `monitoringPasscode`
* Remove deprecated `elasticsearch.configureNode` and `image.pullSecret`
* Remove deprecated `elasticsearch.configureNode`, `image.pullSecret` and `postgresql.postgresqlServer`

## [10.8.1]
* Update Chart's version to 10.8.1
Expand Down
2 changes: 1 addition & 1 deletion charts/sonarqube/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ annotations:
- kind: changed
description: "Remove the default passcode provided with 'monitoringPasscode'"
- kind: removed
description: "Remove deprecated `elasticsearch.configureNode` and `image.pullSecret`"
description: "Remove deprecated `elasticsearch.configureNode`, `image.pullSecret` and `postgresql.postgresqlServer`"
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/images: |
- name: sonarqube
Expand Down
1 change: 0 additions & 1 deletion charts/sonarqube/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,6 @@ The bundled PostgreSQL Chart is deprecated. Please see <https://artifacthub.io/p
| -------------------------------------------------------- | ---------------------------------------------------------------------- | --------------- |
| `postgresql.enabled` | Set to `false` to use external server | `true` |
| `postgresql.existingSecret` | existingSecret Name of existing secret to use for PostgreSQL passwords | `nil` |
| `postgresql.postgresqlServer` | (DEPRECATED) Hostname of the external PostgreSQL server | `nil` |
| `postgresql.postgresqlUsername` | PostgreSQL database user | `sonarUser` |
| `postgresql.postgresqlPassword` | PostgreSQL database password | `sonarPass` |
| `postgresql.postgresqlDatabase` | PostgreSQL database name | `sonarDB` |
Expand Down
2 changes: 0 additions & 2 deletions charts/sonarqube/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ Expand the Application Image name.
{{- define "postgresql.hostname" -}}
{{- if .Values.postgresql.enabled -}}
{{- printf "%s-%s" .Release.Name "postgresql" | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s" .Values.postgresql.postgresqlServer -}}
{{- end -}}
{{- end -}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ metadata:
heritage: Helm
data:
SONAR_JDBC_USERNAME: sonarUser
SONAR_JDBC_URL: "jdbc:postgresql://%!s(<nil>):5432/sonarDB"
SONAR_JDBC_URL: "jdbc:postgresql://:5432/sonarDB"
---
# Source: sonarqube-dce/templates/service.yaml
apiVersion: v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ metadata:
heritage: Helm
data:
SONAR_JDBC_USERNAME: sonarUser
SONAR_JDBC_URL: "jdbc:postgresql://%!s(<nil>):5432/sonarDB"
SONAR_JDBC_URL: "jdbc:postgresql://:5432/sonarDB"
---
# Source: sonarqube/templates/service.yaml
apiVersion: v1
Expand Down

0 comments on commit 77820fc

Please sign in to comment.