Skip to content

Commit 1c15397

Browse files
committed
RELEASE/MINOR: haproxy: Tag release 1.19.2
Changes in haproxy: - Update base image to HAProxy 2.8.1 - Derive Configmap haproxy.includes from haproxy.fullname (#180) Signed-off-by: Dinko Korunic <[email protected]>
1 parent 9b0268f commit 1c15397

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

haproxy/Chart.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ apiVersion: v2
1616
name: haproxy
1717
description: A Helm chart for HAProxy on Kubernetes
1818
type: application
19-
version: 1.19.1
20-
appVersion: 2.8.0
19+
version: 1.19.2
20+
appVersion: 2.8.1
2121
kubeVersion: ">=1.17.0-0"
2222
keywords:
2323
- haproxy
@@ -31,4 +31,5 @@ maintainers:
3131
engine: gotpl
3232
annotations:
3333
artifacthub.io/changes: |
34-
- Update base image to HAProxy 2.8.0
34+
- Update base image to HAProxy 2.8.1
35+
- Derive Configmap haproxy.includes from haproxy.fullname (#180)

haproxy/templates/_helpers.tpl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ Create the name of the service account to use
8888
{{- end }}
8989
{{- end }}
9090

91+
{{/*
92+
Create includes name
93+
*/}}
94+
{{- define "haproxy.includes" -}}
95+
{{- printf "%s-%s" (include "haproxy.fullname" .) "includes" | trunc 63 | trimSuffix "-" }}
96+
{{- end }}
97+
9198
{{/*
9299
Encode an imagePullSecret string.
93100
*/}}

haproxy/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ data:
3232
apiVersion: v1
3333
kind: ConfigMap
3434
metadata:
35-
name: includes
35+
name: {{ include "haproxy.includes" . }}
3636
namespace: {{ include "haproxy.namespace" . }}
3737
data:
3838
{{- range $key, $val := .Values.includes }}

0 commit comments

Comments
 (0)