Allow (optional) customizing ingress backend

This commit is contained in:
David Burke 2022-08-19 11:06:40 -04:00
parent bd023cd048
commit 383f70c898
5 changed files with 9 additions and 4 deletions

View file

@ -1,9 +1,9 @@
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 11.7.2
version: 11.7.3
- name: redis
repository: https://charts.bitnami.com/bitnami
version: 17.0.11
digest: sha256:9f48089bf27f97be3c626a50ba70cd089f42e8b3f0c04a5d529752379b2cbc5b
generated: "2022-08-17T15:47:13.072704997-04:00"
digest: sha256:3f28c6b57295af8d15bde8ddb31795f63e4da411c8d0dae232d0dc6b0e232f23
generated: "2022-08-19T11:06:28.600412225-04:00"

View file

@ -14,7 +14,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.
version: 0.2.0
version: 0.2.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.

Binary file not shown.

Binary file not shown.

View file

@ -46,6 +46,10 @@ spec:
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ .pathType }}
{{- end }}
{{- if .backend }}
backend:
{{- toYaml .backend | nindent 14 }}
{{- else }}
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service:
@ -56,6 +60,7 @@ spec:
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}