From 50e9c336edbec80399f29549ea0e8ce2cb0f7af5 Mon Sep 17 00:00:00 2001 From: irizzant Date: Sun, 26 Apr 2020 04:23:28 +0200 Subject: [PATCH] [incubator/haproxy-ingress] Wrong `app` label generated in manifests (#22117) * Fix `app` label Signed-off-by: Ivan Rizzante * Bump chart version Signed-off-by: Ivan Rizzante Co-authored-by: Ivan Rizzante --- incubator/haproxy-ingress/Chart.yaml | 2 +- incubator/haproxy-ingress/templates/_helpers.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/incubator/haproxy-ingress/Chart.yaml b/incubator/haproxy-ingress/Chart.yaml index b331afa74c..6939714075 100644 --- a/incubator/haproxy-ingress/Chart.yaml +++ b/incubator/haproxy-ingress/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: haproxy-ingress -version: 0.0.25 +version: 0.0.26 appVersion: 0.7.2 home: https://github.com/jcmoraisjr/haproxy-ingress description: Ingress controller implementation for haproxy loadbalancer. diff --git a/incubator/haproxy-ingress/templates/_helpers.tpl b/incubator/haproxy-ingress/templates/_helpers.tpl index 53496577d4..04f547ee90 100644 --- a/incubator/haproxy-ingress/templates/_helpers.tpl +++ b/incubator/haproxy-ingress/templates/_helpers.tpl @@ -10,14 +10,14 @@ Expand the name of the chart. Create the app label for controller */}} {{- define "haproxy-ingress.labels.app.controller" -}} -{{ default "haproxy-ingress.name" }}-controller +{{ default "haproxy-ingress-controller" }} {{- end -}} {{/* Create the app label for default backend */}} {{- define "haproxy-ingress.labels.app.default-backend" -}} -{{ default "haproxy-ingress.name" }}-default-backend +{{ default "haproxy-ingress-default-backend" }} {{- end -}} {{/*