Skip to content

Commit

Permalink
RELEASE/MAJOR: haproxy: Tag release 1.19.0
Browse files Browse the repository at this point in the history
Changes in haproxy:
- Update base image to HAProxy 2.7.5
- Allow changing configMount file/location for EE images
- Fix includesMountPath default location

Signed-off-by: Dinko Korunic <[email protected]>
  • Loading branch information
dkorunic committed May 19, 2023
1 parent 84ce744 commit 8025055
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 18 deletions.
12 changes: 5 additions & 7 deletions haproxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ apiVersion: v2
name: haproxy
description: A Helm chart for HAProxy on Kubernetes
type: application
version: 1.18.0
appVersion: 2.6.9
version: 1.19.0
appVersion: 2.7.5
kubeVersion: ">=1.17.0-0"
keywords:
- haproxy
Expand All @@ -31,8 +31,6 @@ maintainers:
engine: gotpl
annotations:
artifacthub.io/changes: |
- Update base image to HAProxy 2.6.9
- Update HPA API version (#172)
- Fix HPA spec (#173)
- Ensure api version capabilities of PodDisruptionBudget (#175)
- Add additionalPorts to service (#177)
- Update base image to HAProxy 2.7.5
- Allow changing configMount file/location for EE images
- Fix includesMountPath default location
2 changes: 1 addition & 1 deletion haproxy/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ Node IP can be found with:
For more examples and up to date documentation, please visit:
* Helm chart documentation: https://github.com/haproxytech/helm-charts/tree/main/haproxy
* HAProxy Alpine Docker container documentation: https://github.com/haproxytech/haproxy-docker-alpine
* HAProxy documentation: https://www.haproxy.org/download/2.2/doc/configuration.txt
* HAProxy documentation: https://www.haproxy.org/download/2.7/doc/configuration.txt
4 changes: 2 additions & 2 deletions haproxy/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ spec:
{{- end }}
volumeMounts:
- name: haproxy-config
mountPath: /usr/local/etc/haproxy/haproxy.cfg
subPath: haproxy.cfg
mountPath: {{ .Values.configMount.mountPath }}
subPath: {{ .Values.configMount.subPath }}
{{- if .Values.includes }}
- name: includes
mountPath: {{ .Values.includesMountPath }}
Expand Down
4 changes: 2 additions & 2 deletions haproxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ spec:
{{- end }}
volumeMounts:
- name: haproxy-config
mountPath: /usr/local/etc/haproxy/haproxy.cfg
subPath: haproxy.cfg
mountPath: {{ .Values.configMount.mountPath }}
subPath: {{ .Values.configMount.subPath }}
{{- if .Values.includes }}
- name: includes
mountPath: {{ .Values.includesMountPath }}
Expand Down
18 changes: 12 additions & 6 deletions haproxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ shareProcessNamespace:
# ref: https://kubernetes.io/docs/concepts/workloads/pods/#workload-resources-for-managing-pods
# ref: https://kubernetes.io/docs/concepts/workloads/pods/#how-pods-manage-multiple-containers
sidecarContainers: []

## Reflex
# ref: https://github.com/cespare/reflex
# ref: https://hub.docker.com/r/acim/go-reflex
Expand Down Expand Up @@ -90,7 +91,7 @@ minReadySeconds: 0
## Command line arguments to pass to HAProxy
args:
enabled: true # EE images require disabling this due to S6-overlay
# ref: http://cbonte.github.io/haproxy-dconv/2.2/management.html#3
# ref: http://cbonte.github.io/haproxy-dconv/2.6/management.html#3
defaults: ["-f", "/usr/local/etc/haproxy/haproxy.cfg"]
extraArgs: [] # EE images require disabling this due to S6-overlay

Expand Down Expand Up @@ -216,7 +217,7 @@ extraVolumes: []
# emptyDir: {}

## HAProxy daemon configuration
# ref: https://www.haproxy.org/download/2.2/doc/configuration.txt
# ref: https://www.haproxy.org/download/2.6/doc/configuration.txt
config: |
global
log stdout format raw local0
Expand All @@ -235,9 +236,14 @@ config: |
backend be_main
server web1 10.0.0.1:8080 check
# Mount path and sub path for config file
configMount:
mountPath: /usr/local/etc/haproxy/haproxy.cfg # EE images use /etc/hapee-VERSION/hapee-lb.cfg
subPath: haproxy.cfg # EE images use hapee-lb.cfg

## Basic features : Maps
# ref: http://cbonte.github.io/haproxy-dconv/2.2/configuration.html#7.3.1-map
# ref: http://cbonte.github.io/haproxy-dconv/2.2/intro.html#3.3.8
# ref: http://cbonte.github.io/haproxy-dconv/2.6/configuration.html#7.3.1-map
# ref: http://cbonte.github.io/haproxy-dconv/2.6/intro.html#3.3.8
includes:
# routes.map: |
# www.example.com/v1 www.example2.com/v2
Expand All @@ -252,8 +258,8 @@ includes:
# Check passed.
# </body></html>

## Mount path includes file and maps
includesMountPath: /etc/haproxy
## Mount path for includes and maps
includesMountPath: /usr/local/etc/haproxy # EE images use /etc/hapee-VERSION

## Additional secrets to mount as volumes
## This is expected to be an array of dictionaries specifying the volume name, secret name and mount path
Expand Down

0 comments on commit 8025055

Please sign in to comment.