From 672ee031a893c54ddd3a79704444b50b203eb769 Mon Sep 17 00:00:00 2001 From: Sally Wahba Date: Mon, 21 Sep 2020 03:16:50 -0400 Subject: [PATCH] [mariadb] Add heritage label to pods in statefulset template (#3720) This change adds heritage label to pods in both statefulset templates. This way the labels in the pods are consistent with the other k8s resources. --- bitnami/mariadb/Chart.yaml | 2 +- bitnami/mariadb/templates/master-statefulset.yaml | 1 + bitnami/mariadb/templates/slave-statefulset.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bitnami/mariadb/Chart.yaml b/bitnami/mariadb/Chart.yaml index f7fbd61b21..77dd7fa45b 100644 --- a/bitnami/mariadb/Chart.yaml +++ b/bitnami/mariadb/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: mariadb -version: 7.10.1 +version: 7.10.2 appVersion: 10.3.24 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. Highly available MariaDB cluster. keywords: diff --git a/bitnami/mariadb/templates/master-statefulset.yaml b/bitnami/mariadb/templates/master-statefulset.yaml index b80a71761e..e57444417a 100644 --- a/bitnami/mariadb/templates/master-statefulset.yaml +++ b/bitnami/mariadb/templates/master-statefulset.yaml @@ -32,6 +32,7 @@ spec: app: {{ template "mariadb.name" . }} chart: {{ template "mariadb.chart" . }} release: {{ .Release.Name }} + heritage: {{ .Release.Service }} component: master {{- include "mariadb.podLabels" . | nindent 8 }} spec: diff --git a/bitnami/mariadb/templates/slave-statefulset.yaml b/bitnami/mariadb/templates/slave-statefulset.yaml index a648ea642d..cca7fc8061 100644 --- a/bitnami/mariadb/templates/slave-statefulset.yaml +++ b/bitnami/mariadb/templates/slave-statefulset.yaml @@ -33,6 +33,7 @@ spec: app: {{ template "mariadb.name" . }} chart: {{ template "mariadb.chart" . }} release: {{ .Release.Name }} + heritage: {{ .Release.Service }} component: slave {{- include "mariadb.podLabels" . | nindent 8 }} spec: