From 6c661613cbe111c8a1ffa830e65f2304d079549d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20H=C3=B6sler?= Date: Wed, 11 Apr 2018 10:41:55 +0200 Subject: [PATCH] [stable/mariadb] add release to pod selector (#4840) * add release label to pod template * [stable/mariadb] add release to pod selector --- stable/mariadb/Chart.yaml | 2 +- stable/mariadb/templates/deployment.yaml | 1 + stable/mariadb/templates/svc.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/stable/mariadb/Chart.yaml b/stable/mariadb/Chart.yaml index df9cc238d7..7006cd261f 100644 --- a/stable/mariadb/Chart.yaml +++ b/stable/mariadb/Chart.yaml @@ -1,5 +1,5 @@ name: mariadb -version: 3.0.2 +version: 3.0.3 appVersion: 10.1.32 description: Fast, reliable, scalable, and easy to use open-source relational database system. MariaDB Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software. keywords: diff --git a/stable/mariadb/templates/deployment.yaml b/stable/mariadb/templates/deployment.yaml index 7e2f5ea2fb..43e3a8b0fd 100644 --- a/stable/mariadb/templates/deployment.yaml +++ b/stable/mariadb/templates/deployment.yaml @@ -12,6 +12,7 @@ spec: metadata: labels: app: {{ template "mariadb.name" . }} + release: "{{ .Release.Name }}" spec: {{- if .Values.image.pullSecrets }} imagePullSecrets: diff --git a/stable/mariadb/templates/svc.yaml b/stable/mariadb/templates/svc.yaml index 111608c104..3e96a2aa65 100644 --- a/stable/mariadb/templates/svc.yaml +++ b/stable/mariadb/templates/svc.yaml @@ -30,3 +30,4 @@ spec: {{- end }} selector: app: {{ template "mariadb.name" . }} + release: "{{ .Release.Name }}"