From 41aa8ce5ae250d000809d84ef5ec8f860738fd08 Mon Sep 17 00:00:00 2001 From: Neaj Morshad Date: Tue, 23 Apr 2024 20:47:47 +0600 Subject: [PATCH] Remove RunAsGroup field from securityContext Signed-off-by: Neaj Morshad --- charts/kubedb-catalog/templates/mssql/mssql-2022.yaml | 3 +-- charts/kubedb-catalog/values.yaml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/charts/kubedb-catalog/templates/mssql/mssql-2022.yaml b/charts/kubedb-catalog/templates/mssql/mssql-2022.yaml index 5bb1b442d..393104553 100644 --- a/charts/kubedb-catalog/templates/mssql/mssql-2022.yaml +++ b/charts/kubedb-catalog/templates/mssql/mssql-2022.yaml @@ -3,7 +3,7 @@ {{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }} {{- end }} -{{ if $featureGates.MSSQL }} +{{ if $featureGates.MSSQLServer }} apiVersion: catalog.kubedb.com/v1alpha1 kind: MSSQLVersion @@ -19,7 +19,6 @@ spec: initContainer: image: '{{ include "image.dockerHub" (merge (dict "_repo" "neajmorshad/mssql-init-docker") $) }}:0.1' securityContext: - runAsGroup: 10001 runAsUser: 10001 version: "2022" {{ end }} diff --git a/charts/kubedb-catalog/values.yaml b/charts/kubedb-catalog/values.yaml index d7e86e044..8060863e2 100644 --- a/charts/kubedb-catalog/values.yaml +++ b/charts/kubedb-catalog/values.yaml @@ -88,7 +88,7 @@ enableVersions: Kafka: [] MariaDB: [] Memcached: [] - MSSQL: [] + MSSQLServer: [] MongoDB: [] MySQL: [] PerconaXtraDB: []