From 29d69af4682a1ef8fe1c3f3986d7cf217e66c5c3 Mon Sep 17 00:00:00 2001 From: Tom Coufal <7453394+tumido@users.noreply.github.com> Date: Thu, 8 Dec 2022 21:09:14 +0100 Subject: [PATCH] fix: Ingress annotations format (#13) --- charts/backstage/Chart.yaml | 2 +- charts/backstage/templates/ingress.yaml | 4 ++-- charts/backstage/values.yaml | 5 +---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/charts/backstage/Chart.yaml b/charts/backstage/Chart.yaml index 588a4e2..df5f00c 100644 --- a/charts/backstage/Chart.yaml +++ b/charts/backstage/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.6.0 +version: 0.6.1 dependencies: - name: common diff --git a/charts/backstage/templates/ingress.yaml b/charts/backstage/templates/ingress.yaml index 4e52119..c597c9f 100644 --- a/charts/backstage/templates/ingress.yaml +++ b/charts/backstage/templates/ingress.yaml @@ -11,7 +11,7 @@ metadata: {{- end }} annotations: {{- if .Values.ingress.annotations }} - {{ include "common.tplvalues.render" ( dict "value" .Values.ingress.annotations "context" $) | nindent 4 }} + {{- include "common.tplvalues.render" ( dict "value" .Values.ingress.annotations "context" $) | nindent 4 }} {{- end }} {{- if .Values.commonAnnotations }} {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} @@ -37,4 +37,4 @@ spec: name: {{ include "common.names.fullname" . }} port: number: {{ .Values.service.ports.backend }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/charts/backstage/values.yaml b/charts/backstage/values.yaml index 2fcf035..3a14c39 100644 --- a/charts/backstage/values.yaml +++ b/charts/backstage/values.yaml @@ -65,10 +65,7 @@ ingress: className: "" ## @param ingress.annotations Additional annotations for the Ingress resource - annotations: '{ - "nginx.ingress.kubernetes.io/rewrite-target": "/", - "nginx.ingress.kubernetes.io/ssl-redirect": "false" - }' + annotations: {} ## @param host Hostname to be used to expose the route to access the backstage application (e.g: backstage.IP.nip.io) host: ""