From 4d09adcbcba7a2fdd7904a84edd6a609eb5c2ae0 Mon Sep 17 00:00:00 2001 From: Valentin Delaye Date: Wed, 15 Jun 2022 14:31:26 +0200 Subject: [PATCH] Fix Openshift route name (#231) --- charts/sonarqube/CHANGELOG.md | 3 +++ charts/sonarqube/Chart.yaml | 3 ++- charts/sonarqube/templates/route.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/sonarqube/CHANGELOG.md b/charts/sonarqube/CHANGELOG.md index 67d05ca01..41196236c 100644 --- a/charts/sonarqube/CHANGELOG.md +++ b/charts/sonarqube/CHANGELOG.md @@ -1,6 +1,9 @@ # SonarQube Chart Changelog All changes to this chart will be documented in this file. +## [4.0.2] +* Fix issue with Openshift route name to use use fullname instead of name + ## [4.0.1] * Add documentation for ingress annotations diff --git a/charts/sonarqube/Chart.yaml b/charts/sonarqube/Chart.yaml index b1705fbb3..73652ea9d 100644 --- a/charts/sonarqube/Chart.yaml +++ b/charts/sonarqube/Chart.yaml @@ -1,8 +1,9 @@ apiVersion: v1 name: sonarqube description: SonarQube offers Code Quality and Code Security analysis for up to 27 languages. Find Bugs, Vulnerabilities, Security Hotspots and Code Smells throughout your workflow. -version: 4.0.1 +version: 4.0.2 appVersion: 9.5.0 + keywords: - coverage - security diff --git a/charts/sonarqube/templates/route.yaml b/charts/sonarqube/templates/route.yaml index 52f72e997..8ef3c753f 100644 --- a/charts/sonarqube/templates/route.yaml +++ b/charts/sonarqube/templates/route.yaml @@ -3,7 +3,7 @@ kind: Route apiVersion: route.openshift.io/v1 metadata: - name: {{ template "sonarqube.name" . }} + name: {{ template "sonarqube.fullname" . }} labels: app: {{ template "sonarqube.name" . }} chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}