Skip to content

Commit 29d69af

Browse files
authored
fix: Ingress annotations format (#13)
1 parent 737ba4f commit 29d69af

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

charts/backstage/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.6.0
18+
version: 0.6.1
1919

2020
dependencies:
2121
- name: common

charts/backstage/templates/ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
{{- end }}
1212
annotations:
1313
{{- if .Values.ingress.annotations }}
14-
{{ include "common.tplvalues.render" ( dict "value" .Values.ingress.annotations "context" $) | nindent 4 }}
14+
{{- include "common.tplvalues.render" ( dict "value" .Values.ingress.annotations "context" $) | nindent 4 }}
1515
{{- end }}
1616
{{- if .Values.commonAnnotations }}
1717
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
@@ -37,4 +37,4 @@ spec:
3737
name: {{ include "common.names.fullname" . }}
3838
port:
3939
number: {{ .Values.service.ports.backend }}
40-
{{- end }}
40+
{{- end }}

charts/backstage/values.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,7 @@ ingress:
6565
className: ""
6666

6767
## @param ingress.annotations Additional annotations for the Ingress resource
68-
annotations: '{
69-
"nginx.ingress.kubernetes.io/rewrite-target": "/",
70-
"nginx.ingress.kubernetes.io/ssl-redirect": "false"
71-
}'
68+
annotations: {}
7269

7370
## @param host Hostname to be used to expose the route to access the backstage application (e.g: backstage.IP.nip.io)
7471
host: ""

0 commit comments

Comments
 (0)