fix template

This commit is contained in:
stremovsky
2022-01-05 13:54:09 +02:00
parent a0779fcaf9
commit d54b8ae6e6

View File

@@ -7,13 +7,12 @@ metadata:
{{- if .Values.commonLabels }} {{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }} {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }} {{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- else }}
annotations: annotations:
service.beta.kubernetes.io/aws-load-balancer-name: "databunker-lb" service.beta.kubernetes.io/aws-load-balancer-name: "databunker-lb"
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "HTTPS" service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "HTTPS"
service.beta.kubernetes.io/aws-load-balancer-healthcheck-path: "/status" service.beta.kubernetes.io/aws-load-balancer-healthcheck-path: "/status"
{{- if .Values.commonAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }} {{- end }}
spec: spec:
type: {{ .Values.service.type }} type: {{ .Values.service.type }}