feat: add ability to add deployment labels

This commit is contained in:
JuniorJPDJ 2024-06-18 23:30:50 +02:00
parent e29cdc3ce6
commit b6e254ce5a
3 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,7 @@ description: Invidious is an alternative front-end to YouTube
type: application
version: 2.0.3
version: 2.0.4
appVersion: v2.20240427
dependencies:

View File

@ -4,6 +4,9 @@ metadata:
name: {{ template "invidious.fullname" . }}
labels:
{{- include "invidious.labels" . | nindent 4 }}
{{- with .Values.deploymentLabels }}
{{- toYaml . | nindent 4 }}
{{- end}}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}

View File

@ -48,6 +48,8 @@ resources: {}
# cpu: 800m
# memory: 512Mi
deploymentLabels: {}
podSecurityContext:
runAsUser: 1000
runAsGroup: 1000