feat(helm): add and unify labels
This commit is contained in:
parent
060e5a4f14
commit
d09c18f654
3 changed files with 23 additions and 1 deletions
|
|
@ -2,13 +2,17 @@ apiVersion: apps/v1
|
|||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ .Chart.Name }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/component: backend
|
||||
spec:
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: {{ .Chart.Name }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/component: backend
|
||||
template:
|
||||
spec:
|
||||
{{- if .Values.dockerconfigjsonBase64 }}
|
||||
|
|
|
|||
Reference in a new issue