From 70c74b22c51efb997606fa4b3bc98a0802312948 Mon Sep 17 00:00:00 2001 From: Gabriel Ladzaretti Date: Mon, 5 May 2025 18:43:35 +0300 Subject: [PATCH 1/3] support optional TLS secretName and dynamic backend port in template --- helm-charts/mend-renovate-ce/templates/ingress.yaml | 6 ++++++ helm-charts/mend-renovate-ee/templates/ingress.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/helm-charts/mend-renovate-ce/templates/ingress.yaml b/helm-charts/mend-renovate-ce/templates/ingress.yaml index 9915ddfd..025b7b4c 100644 --- a/helm-charts/mend-renovate-ce/templates/ingress.yaml +++ b/helm-charts/mend-renovate-ce/templates/ingress.yaml @@ -25,7 +25,9 @@ spec: {{- range .hosts }} - {{ . | quote }} {{- end }} + {{- if .secretName }} secretName: {{ .secretName }} + {{- end }} {{- end }} {{- end }} rules: @@ -40,7 +42,11 @@ spec: service: name: {{ $fullName }} port: + {{- if $p.port }} + {{ toYaml $p.port | indent 8 }} + {{- else }} name: http + {{- end }} {{- end -}} {{- end }} {{- end }} diff --git a/helm-charts/mend-renovate-ee/templates/ingress.yaml b/helm-charts/mend-renovate-ee/templates/ingress.yaml index 781c74d0..c459960e 100644 --- a/helm-charts/mend-renovate-ee/templates/ingress.yaml +++ b/helm-charts/mend-renovate-ee/templates/ingress.yaml @@ -25,7 +25,9 @@ spec: {{- range .hosts }} - {{ . | quote }} {{- end }} + {{- if .secretName }} secretName: {{ .secretName }} + {{- end }} {{- end }} {{- end }} rules: @@ -40,7 +42,11 @@ spec: service: name: {{ $fullName }}-svc-server port: + {{- if $p.port }} + {{ toYaml $p.port | indent 8 }} + {{- else }} name: http + {{- end }} {{- end -}} {{- end }} {{- end }} From d9b3753042fa2e7dadbfce10f1656e60f171d3c8 Mon Sep 17 00:00:00 2001 From: Gabriel Ladzaretti Date: Mon, 5 May 2025 20:34:52 +0300 Subject: [PATCH 2/3] nindent and qoute --- helm-charts/mend-renovate-ce/templates/ingress.yaml | 4 ++-- helm-charts/mend-renovate-ee/templates/ingress.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/helm-charts/mend-renovate-ce/templates/ingress.yaml b/helm-charts/mend-renovate-ce/templates/ingress.yaml index 025b7b4c..e2af4547 100644 --- a/helm-charts/mend-renovate-ce/templates/ingress.yaml +++ b/helm-charts/mend-renovate-ce/templates/ingress.yaml @@ -26,7 +26,7 @@ spec: - {{ . | quote }} {{- end }} {{- if .secretName }} - secretName: {{ .secretName }} + secretName: {{ .secretName | quote }} {{- end }} {{- end }} {{- end }} @@ -43,7 +43,7 @@ spec: name: {{ $fullName }} port: {{- if $p.port }} - {{ toYaml $p.port | indent 8 }} + {{ toYaml $p.port | nindent 18 }} {{- else }} name: http {{- end }} diff --git a/helm-charts/mend-renovate-ee/templates/ingress.yaml b/helm-charts/mend-renovate-ee/templates/ingress.yaml index c459960e..aff30bfc 100644 --- a/helm-charts/mend-renovate-ee/templates/ingress.yaml +++ b/helm-charts/mend-renovate-ee/templates/ingress.yaml @@ -26,7 +26,7 @@ spec: - {{ . | quote }} {{- end }} {{- if .secretName }} - secretName: {{ .secretName }} + secretName: {{ .secretName | quote }} {{- end }} {{- end }} {{- end }} @@ -43,7 +43,7 @@ spec: name: {{ $fullName }}-svc-server port: {{- if $p.port }} - {{ toYaml $p.port | indent 8 }} + {{ toYaml $p.port | nindent 18 }} {{- else }} name: http {{- end }} From bbd9b30da097703a6663cf9e911bbed82a29502a Mon Sep 17 00:00:00 2001 From: Gabriel Ladzaretti Date: Tue, 6 May 2025 15:30:11 +0300 Subject: [PATCH 3/3] bump chart version --- helm-charts/mend-renovate-ce/Chart.yaml | 2 +- helm-charts/mend-renovate-ee/Chart.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm-charts/mend-renovate-ce/Chart.yaml b/helm-charts/mend-renovate-ce/Chart.yaml index 34bb3a46..363ca4fb 100644 --- a/helm-charts/mend-renovate-ce/Chart.yaml +++ b/helm-charts/mend-renovate-ce/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: mend-renovate-ce -version: 9.10.0 +version: 9.10.1 appVersion: 9.10.0 description: Mend Renovate Community Edition home: https://github.com/mend/renovate-ce-ee diff --git a/helm-charts/mend-renovate-ee/Chart.yaml b/helm-charts/mend-renovate-ee/Chart.yaml index 542da985..a8c305c7 100644 --- a/helm-charts/mend-renovate-ee/Chart.yaml +++ b/helm-charts/mend-renovate-ee/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: mend-renovate-enterprise-edition -version: 3.10.0 +version: 3.10.1 appVersion: 9.10.0 description: Mend Renovate Enterprise Edition home: https://github.com/mend/renovate-ce-ee