aboutsummaryrefslogtreecommitdiff
path: root/templates/deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/deployment.yaml')
-rw-r--r--templates/deployment.yaml11
1 files changed, 3 insertions, 8 deletions
diff --git a/templates/deployment.yaml b/templates/deployment.yaml
index ea1bab5..f0ac30f 100644
--- a/templates/deployment.yaml
+++ b/templates/deployment.yaml
@@ -4,21 +4,16 @@ kind: Deployment
metadata:
name: {{ template "invidious.fullname" . }}
labels:
- app: {{ template "invidious.name" . }}
- chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
- release: {{ .Release.Name }}
+ {{- include "invidious.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
- app: {{ template "invidious.name" . }}
- release: {{ .Release.Name }}
+ {{- include "invidious.selectorLabels" . | nindent 6 }}
template:
metadata:
labels:
- app: {{ template "invidious.name" . }}
- chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
- release: {{ .Release.Name }}
+ {{- include "invidious.selectorLabels" . | nindent 8 }}
spec:
securityContext:
runAsUser: {{ .Values.securityContext.runAsUser }}