mirror of
https://github.com/bitnami/charts.git
synced 2026-02-20 03:58:02 +08:00
[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:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user