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

SONAR-21534 fix digest too long #560

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/sonarqube-dce/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ All changes to this chart will be documented in this file.
* Refactor Route to be subparameter of OpenShift
* Make OpenShift.createSCC false by default
* Support ApplicationNodes.extraVolumes and ApplicationNodes.extraVolumeMounts
* Ensure kubernetes.io/version label is smaller than 63 chars

## [10.6.0]
* Upgrade SonarQube to 10.6.0
Expand Down
2 changes: 2 additions & 0 deletions charts/sonarqube-dce/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ annotations:
description: "Make OpenShift.createSCC false by default"
- kind: added
description: "Support ApplicationNodes.extraVolumes and ApplicationNodes.extraVolumeMounts"
- kind: added
description: "Ensure kubernetes.io/version label is smaller than 63 chars"
artifacthub.io/links: |
- name: support
url: https://community.sonarsource.com/
Expand Down
2 changes: 1 addition & 1 deletion charts/sonarqube-dce/templates/sonarqube-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: sonarqube
app.kubernetes.io/component: {{ template "sonarqube.fullname" . }}
app.kubernetes.io/version: {{ .Values.ApplicationNodes.image.tag | quote }}
app.kubernetes.io/version: {{ (tpl .Values.ApplicationNodes.image.tag .) | trunc 63 | trimSuffix "-" | quote }}
spec:
{{- if not .Values.ApplicationNodes.hpa.enabled }}
replicas: {{ .Values.ApplicationNodes.replicaCount }}
Expand Down
2 changes: 1 addition & 1 deletion charts/sonarqube-dce/templates/sonarqube-search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: sonarqube
app.kubernetes.io/component: {{ template "sonarqube.fullname" . }}
app.kubernetes.io/version: {{ .Values.searchNodes.image.tag | quote }}
app.kubernetes.io/version: {{ (tpl .Values.searchNodes.image.tag .) | trunc 63 | trimSuffix "-" | quote }}
spec:
podManagementPolicy : Parallel
replicas: {{ .Values.searchNodes.replicaCount }}
Expand Down
1 change: 1 addition & 0 deletions charts/sonarqube/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ All changes to this chart will be documented in this file.
* Refactor Route to be subparameter of OpenShift
* Make OpenShift.createSCC false by default
* Deprecate peristence.volumes and persistence.mounts in favor or extraVolumes and extraVolumeMounts
* Ensure kubernetes.io/version label is smaller than 63 chars

## [10.6.0]
* Update SonarQube to 10.6.0
Expand Down
2 changes: 2 additions & 0 deletions charts/sonarqube/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ annotations:
description: "Make OpenShift.createSCC false by default"
- kind: changed
description: "Deprecate peristence.volumes and persistence.mounts in favor or extraVolumes and extraVolumeMounts"
- kind: added
description: "Ensure kubernetes.io/version label is smaller than 63 chars"
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/images: |
- name: sonarqube
Expand Down
2 changes: 1 addition & 1 deletion charts/sonarqube/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: sonarqube
app.kubernetes.io/component: {{ include "sonarqube.fullname" . }}
app.kubernetes.io/version: {{ tpl .Values.image.tag . | quote }}
app.kubernetes.io/version: {{ (tpl .Values.image.tag .) | trunc 63 | trimSuffix "-" | quote }}
{{- end -}}

{{/*
Expand Down
Loading
Loading