diff --git a/charts/qdrant/templates/statefulset.yaml b/charts/qdrant/templates/statefulset.yaml index 95a99ed..7b45cc4 100644 --- a/charts/qdrant/templates/statefulset.yaml +++ b/charts/qdrant/templates/statefulset.yaml @@ -166,12 +166,10 @@ spec: {{- end }} resources: {{- toYaml .Values.resources | nindent 12 }} - {{- if .Values.containerSecurityContext.enabled }} {{- with .Values.containerSecurityContext }} securityContext: {{- toYaml . | nindent 12 }} {{- end }} - {{- end }} {{- with .Values.lifecycle }} lifecycle: {{- toYaml . | nindent 12 }} @@ -207,12 +205,10 @@ spec: {{- if .Values.additionalVolumeMounts }} {{- toYaml .Values.additionalVolumeMounts | default "" | nindent 10 }} {{- end}} - {{- if .Values.podSecurityContext.enabled }} {{- with .Values.podSecurityContext }} securityContext: {{- toYaml . | nindent 8 }} {{- end }} - {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/qdrant/values.yaml b/charts/qdrant/values.yaml index 15a10c2..12da648 100644 --- a/charts/qdrant/values.yaml +++ b/charts/qdrant/values.yaml @@ -94,7 +94,6 @@ resources: {} # memory: 128Mi containerSecurityContext: - enabled: true runAsNonRoot: true runAsUser: 1000 runAsGroup: 2000 @@ -103,7 +102,6 @@ containerSecurityContext: readOnlyRootFilesystem: true podSecurityContext: - enabled: true fsGroup: 3000 fsGroupChangePolicy: Always