[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.
This commit is contained in:
Sally Wahba
2020-09-21 03:16:50 -04:00
committed by GitHub
parent 79e8ce217d
commit 672ee031a8
3 changed files with 3 additions and 1 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -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: