From 2be18efc9873754d5f60bb6f9b6898ed626db515 Mon Sep 17 00:00:00 2001 From: firmansyahn <80936459+firmansyahn@users.noreply.github.com> Date: Thu, 9 Jun 2022 10:23:02 +0700 Subject: [PATCH] Add new label --- charts/adminer/templates/Deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/adminer/templates/Deployment.yaml b/charts/adminer/templates/Deployment.yaml index f05e6bc3..361a5670 100644 --- a/charts/adminer/templates/Deployment.yaml +++ b/charts/adminer/templates/Deployment.yaml @@ -4,6 +4,7 @@ metadata: name: {{ include "common.names.fullname" . }} namespace: {{ include "common.names.namespace" . | quote }} labels: {{- include "common.labels.standard" . | nindent 4 }} + app.kubernetes.io/component: adminer {{- if .Values.commonLabels }} {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }} {{- end }} @@ -17,6 +18,7 @@ spec: template: metadata: labels: {{- include "common.labels.standard" . | nindent 8 }} + app.kubernetes.io/component: adminer {{- if .Values.podLabels }} {{- include "common.tplvalues.render" (dict "value" .Values.podLabels "context" $) | nindent 8 }} {{- end }}