chart-unifi_network_application: allow setting security context of app as well

This commit is contained in:
2024-08-25 23:39:36 +02:00
parent dd4bb7d7cc
commit 6408e471c3
2 changed files with 7 additions and 0 deletions

View File

@ -76,6 +76,8 @@ spec:
labels: labels:
name: {{ include "template.fullname" . }}-app name: {{ include "template.fullname" . }}-app
spec: spec:
securityContext:
{{ .Values.podSecurityContext | toYaml | nindent 8 }}
volumes: volumes:
- name: {{ include "template.fullname" . }}-app-config-volume - name: {{ include "template.fullname" . }}-app-config-volume
persistentVolumeClaim: persistentVolumeClaim:

View File

@ -61,6 +61,11 @@ persistence:
# -- size limit for the PVC # -- size limit for the PVC
size: 128Mi size: 128Mi
podSecurityContext: {}
# Settings for NFS running as nobody(65534):
# runAsUser: 65534
# runAsGroup: 65534
mongodb: mongodb:
# -- image to pull and use; for arm64 (eg Raspberry Pi 4), use "arm64v8/mongo" # -- image to pull and use; for arm64 (eg Raspberry Pi 4), use "arm64v8/mongo"
image: mongo image: mongo