diff --git a/templates/ingress.yaml b/templates/ingress.yaml index 14ab39f..a290ebd 100644 --- a/templates/ingress.yaml +++ b/templates/ingress.yaml @@ -11,10 +11,8 @@ metadata: name: {{ $fullName }} labels: {{- include "owncloud.labels" . | nindent 4 }} - {{- with .Values.ingress.annotations }} annotations: - {{- . | toYaml | nindent 4 }} - {{- end }} + {{- .Values.ingress.annotations | toYaml | nindent 4 }} spec: {{- if .Values.ingress.tls }} tls: