Skip to content

Commit b0e3a7e

Browse files
authored
[bitnami/haproxy: Use merge helper]: (#19048)
1 parent 29fb19d commit b0e3a7e

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

bitnami/haproxy/Chart.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: common
33
repository: oci://registry-1.docker.io/bitnamicharts
4-
version: 2.9.0
5-
digest: sha256:416ad278a896f0e9b51d5305bef5d875c7cca6fbb64b75e1f131b04763e2aff9
6-
generated: "2023-08-22T14:09:29.397523+02:00"
4+
version: 2.10.0
5+
digest: sha256:023ded170632d04528f30332370f34fc8fb96efb2886a01d934cb3bd6e6d2e09
6+
generated: "2023-09-05T11:32:58.826008+02:00"

bitnami/haproxy/Chart.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ annotations:
1010
apiVersion: v2
1111
appVersion: 2.8.2
1212
dependencies:
13-
- name: common
14-
repository: oci://registry-1.docker.io/bitnamicharts
15-
tags:
16-
- bitnami-common
17-
version: 2.x.x
13+
- name: common
14+
repository: oci://registry-1.docker.io/bitnamicharts
15+
tags:
16+
- bitnami-common
17+
version: 2.x.x
1818
description: HAProxy is a TCP proxy and a HTTP reverse proxy. It supports SSL termination and offloading, TCP and HTTP normalization, traffic regulation, caching and protection against DDoS attacks.
1919
home: https://bitnami.com
2020
icon: https://bitnami.com/assets/stacks/haproxy/img/haproxy-stack-220x234.png
2121
keywords:
22-
- haproxy
23-
- proxy
24-
- infrastructure
22+
- haproxy
23+
- proxy
24+
- infrastructure
2525
maintainers:
26-
- name: VMware, Inc.
27-
url: https://github.com/bitnami/charts
26+
- name: VMware, Inc.
27+
url: https://github.com/bitnami/charts
2828
name: haproxy
2929
sources:
3030
- https://github.com/bitnami/charts/tree/main/bitnami/haproxy
31-
version: 0.9.0
31+
version: 0.9.1

bitnami/haproxy/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
{{- if .Values.updateStrategy }}
2121
strategy: {{- toYaml .Values.updateStrategy | nindent 4 }}
2222
{{- end }}
23-
{{- $podLabels := merge .Values.podLabels .Values.commonLabels }}
23+
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
2424
selector:
2525
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
2626
app.kubernetes.io/component: haproxy

bitnami/haproxy/templates/pdb.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
{{- if .Values.pdb.maxUnavailable }}
2121
maxUnavailable: {{ .Values.pdb.maxUnavailable }}
2222
{{- end }}
23-
{{- $podLabels := merge .Values.podLabels .Values.commonLabels }}
23+
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
2424
selector:
2525
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
2626
app.kubernetes.io/component: haproxy

bitnami/haproxy/templates/service-account.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ metadata:
1212
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
1313
app.kubernetes.io/component: haproxy
1414
{{- if or .Values.serviceAccount.annotations .Values.commonAnnotations }}
15-
{{- $annotations := merge .Values.serviceAccount.annotations .Values.commonAnnotations }}
15+
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.serviceAccount.annotations .Values.commonAnnotations ) "context" . ) }}
1616
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
1717
{{- end }}
1818
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}

bitnami/haproxy/templates/service.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ kind: Service
99
metadata:
1010
name: {{ template "common.names.fullname" . }}
1111
namespace: {{ .Release.Namespace | quote }}
12-
{{- $labels := merge .Values.service.labels .Values.commonLabels }}
12+
{{- $labels := include "common.tplvalues.merge" ( dict "values" ( list .Values.service.labels .Values.commonLabels ) "context" . ) }}
1313
labels: {{- include "common.labels.standard" ( dict "customLabels" $labels "context" $ ) | nindent 4 }}
1414
app.kubernetes.io/component: haproxy
1515
{{- if or .Values.service.annotations .Values.commonAnnotations }}
16-
{{- $annotations := merge .Values.service.annotations .Values.commonAnnotations }}
16+
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.service.annotations .Values.commonAnnotations ) "context" . ) }}
1717
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
1818
{{- end }}
1919
spec:
@@ -37,7 +37,7 @@ spec:
3737
sessionAffinityConfig: {{- include "common.tplvalues.render" (dict "value" .Values.service.sessionAffinityConfig "context" $) | nindent 4 }}
3838
{{- end }}
3939
ports: {{- include "common.tplvalues.render" ( dict "value" .Values.service.ports "context" $ ) | nindent 4 }}
40-
{{- $podLabels := merge .Values.podLabels .Values.commonLabels }}
40+
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
4141
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
4242
app.kubernetes.io/component: haproxy
4343
{{- end }}

0 commit comments

Comments
 (0)