diff --git a/bitnami/haproxy/Chart.yaml b/bitnami/haproxy/Chart.yaml index 55ecdca1c..e368c9c4c 100644 --- a/bitnami/haproxy/Chart.yaml +++ b/bitnami/haproxy/Chart.yaml @@ -23,4 +23,4 @@ name: haproxy sources: - https://github.com/bitnami/containers/tree/main/bitnami/haproxy - https://github.com/haproxytech/haproxy -version: 0.6.1 +version: 0.6.2 diff --git a/bitnami/haproxy/templates/ingress.yaml b/bitnami/haproxy/templates/ingress.yaml index 68ce289af..79478d0d8 100644 --- a/bitnami/haproxy/templates/ingress.yaml +++ b/bitnami/haproxy/templates/ingress.yaml @@ -8,6 +8,7 @@ metadata: {{- if .Values.commonLabels }} {{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 4 }} {{- end }} + {{- if or .Values.commonAnnotations .Values.ingress.annotations }} annotations: {{- if .Values.commonAnnotations }} {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} @@ -15,6 +16,7 @@ metadata: {{- if .Values.ingress.annotations }} {{- include "common.tplvalues.render" (dict "value" .Values.ingress.annotations "context" $) | nindent 4 }} {{- end }} + {{- end }} spec: {{- if and .Values.ingress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) }} ingressClassName: {{ .Values.ingress.ingressClassName | quote }} diff --git a/bitnami/haproxy/templates/service.yaml b/bitnami/haproxy/templates/service.yaml index e14be91ca..3ee20f511 100644 --- a/bitnami/haproxy/templates/service.yaml +++ b/bitnami/haproxy/templates/service.yaml @@ -12,6 +12,7 @@ metadata: {{- if .Values.service.labels }} {{- include "common.tplvalues.render" (dict "value" .Values.service.labels "context" $) | nindent 4 }} {{- end }} + {{- if or .Values.service.annotations .Values.commonAnnotations }} annotations: {{- if .Values.service.annotations }} {{- include "common.tplvalues.render" ( dict "value" .Values.service.annotations "context" $ ) | nindent 4 }} @@ -19,6 +20,7 @@ metadata: {{- if .Values.commonAnnotations }} {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} {{- end }} + {{- end }} spec: type: {{ .Values.service.type }} {{- if .Values.clusterIP }}