From 1932b220fa8d5336ca381fd343e509633aa2f1b8 Mon Sep 17 00:00:00 2001 From: Valentin Zayash Date: Fri, 4 Oct 2019 21:47:12 +0300 Subject: [PATCH] [stable/redis-ha] Fix missing priorityClassName definition for haproxy (#17602) * [stable/redis-ha] Fix missing priorityClassName definition for haproxy deployment Signed-off-by: Valentin Zayash * Bump chart version Signed-off-by: Valentin Zayash --- stable/redis-ha/Chart.yaml | 2 +- stable/redis-ha/templates/redis-haproxy-deployment.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/stable/redis-ha/Chart.yaml b/stable/redis-ha/Chart.yaml index aa67ea05c8..dcfedb46f9 100644 --- a/stable/redis-ha/Chart.yaml +++ b/stable/redis-ha/Chart.yaml @@ -6,7 +6,7 @@ keywords: - redis - keyvalue - database -version: 3.7.15 +version: 3.7.16 appVersion: 5.0.5 description: Highly available Kubernetes implementation of Redis icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png diff --git a/stable/redis-ha/templates/redis-haproxy-deployment.yaml b/stable/redis-ha/templates/redis-haproxy-deployment.yaml index 50eb51ee41..bd8f5cd961 100644 --- a/stable/redis-ha/templates/redis-haproxy-deployment.yaml +++ b/stable/redis-ha/templates/redis-haproxy-deployment.yaml @@ -90,6 +90,9 @@ spec: mountPath: /usr/local/etc/haproxy - name: shared-socket mountPath: /run/haproxy +{{- if .Values.haproxy.priorityClassName }} + priorityClassName: {{ .Values.haproxy.priorityClassName }} +{{- end }} volumes: - name: config-volume configMap: