From d61558c73595beebf7b39edc2714ca82c0bcc4b2 Mon Sep 17 00:00:00 2001 From: Bastian Hofmann Date: Wed, 25 Jun 2025 00:59:54 +0200 Subject: [PATCH] Revert " Added conditions for securityContexts (#328)" (#352) This reverts commit 9cc5728d5be6d1651c7a834323e3703b073c410d. --- charts/qdrant/templates/statefulset.yaml | 4 ---- charts/qdrant/values.yaml | 2 -- 2 files changed, 6 deletions(-) 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