Skip to content

Commit

Permalink
feat: add ability to add deployment labels
Browse files Browse the repository at this point in the history
  • Loading branch information
JuniorJPDJ committed Jun 18, 2024
1 parent e29cdc3 commit b6e254c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion invidious/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions invidious/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions invidious/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ resources: {}
# cpu: 800m
# memory: 512Mi

deploymentLabels: {}

podSecurityContext:
runAsUser: 1000
runAsGroup: 1000
Expand Down

0 comments on commit b6e254c

Please sign in to comment.