fix network access

This commit is contained in:
2025-01-15 00:03:52 +01:00
parent f6ed51c99b
commit dce93c1e13
4 changed files with 17 additions and 16 deletions

View File

@ -24,6 +24,8 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
serviceAccountName: {{ include "owncloud.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}

View File

@ -63,13 +63,12 @@ podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
securityContext:
privileged: true
capabilities:
add:
- SYS_ADMIN # Required for mount operations
- DAC_READ_SEARCH
service:
type: LoadBalancer