Fixing more errors

This commit is contained in:
Jonathan Ervine
2020-08-06 14:40:48 +08:00
parent 068d6a85e1
commit ab66c05022
5 changed files with 19 additions and 19 deletions
+6 -6
View File
@@ -1,6 +1,6 @@
{{- if .Values.ingress.enabled -}}
{{- if .Values.guacamole.ingress.enabled -}}
{{- $fullName := include "guacamole.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- $svcPort := .Values.guacamole.service.port -}}
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
@@ -11,14 +11,14 @@ metadata:
name: {{ $fullName }}
labels:
{{- include "guacamole.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
{{- with .Values.guacamole.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.tls }}
{{- if .Values.guacamole.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
{{- range .Values.guacamole.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
@@ -27,7 +27,7 @@ spec:
{{- end }}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
{{- range .Values.guacamole.ingress.hosts }}
- host: {{ .host | quote }}
http:
paths: