From d0bca9f1c3f23876ad951302bdefdd49027d54fb Mon Sep 17 00:00:00 2001 From: Neaj Morshad Date: Fri, 5 Apr 2024 21:30:33 +0600 Subject: [PATCH] Refactor Signed-off-by: Neaj Morshad --- catalog/kubedb/raw/mssql/mssql-2022.yaml | 5 ++--- charts/kubedb-catalog/README.md | 1 - charts/kubedb-catalog/templates/mssql/mssql-2022.yaml | 3 +++ charts/kubedb-catalog/values.yaml | 1 - charts/kubedb-webhook-server/README.md | 1 - charts/kubedb-webhook-server/values.yaml | 1 - 6 files changed, 5 insertions(+), 7 deletions(-) diff --git a/catalog/kubedb/raw/mssql/mssql-2022.yaml b/catalog/kubedb/raw/mssql/mssql-2022.yaml index eed0cb921..21acdf31a 100644 --- a/catalog/kubedb/raw/mssql/mssql-2022.yaml +++ b/catalog/kubedb/raw/mssql/mssql-2022.yaml @@ -9,8 +9,7 @@ spec: image: mcr.microsoft.com/mssql/server:2022-CU12-ubuntu-22.04 initContainer: image: neajmorshad/mssql-init-docker:0.1 - securityContext: - runAsGroup: 10001 - runAsUser: 10001 + runAsGroup: 10001 + runAsUser: 10001 version: "2022" diff --git a/charts/kubedb-catalog/README.md b/charts/kubedb-catalog/README.md index 97b4b2087..647820e9d 100644 --- a/charts/kubedb-catalog/README.md +++ b/charts/kubedb-catalog/README.md @@ -61,7 +61,6 @@ The following table lists the configurable parameters of the `kubedb-catalog` ch | featureGates.Kafka | | true | | featureGates.MariaDB | | true | | featureGates.Memcached | | true | -| featureGates.MicrosoftSQLServer | | false | | featureGates.MongoDB | | true | | featureGates.MySQL | | true | | featureGates.PerconaXtraDB | | true | diff --git a/charts/kubedb-catalog/templates/mssql/mssql-2022.yaml b/charts/kubedb-catalog/templates/mssql/mssql-2022.yaml index 8d5b3c9fb..3908f6a6f 100644 --- a/charts/kubedb-catalog/templates/mssql/mssql-2022.yaml +++ b/charts/kubedb-catalog/templates/mssql/mssql-2022.yaml @@ -18,5 +18,8 @@ spec: image: '{{ include "image.microsoft" (merge (dict "_repo" "mssql/server") $) }}:2022-CU12-ubuntu-22.04' 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 a686a1553..7e879671e 100644 --- a/charts/kubedb-catalog/values.yaml +++ b/charts/kubedb-catalog/values.yaml @@ -31,7 +31,6 @@ featureGates: Kafka: true MariaDB: true Memcached: true - MicrosoftSQLServer: false MongoDB: true MySQL: true PerconaXtraDB: true diff --git a/charts/kubedb-webhook-server/README.md b/charts/kubedb-webhook-server/README.md index aa694897b..5161a7dae 100644 --- a/charts/kubedb-webhook-server/README.md +++ b/charts/kubedb-webhook-server/README.md @@ -62,7 +62,6 @@ The following table lists the configurable parameters of the `kubedb-webhook-ser | featureGates.Kafka | | true | | featureGates.MariaDB | | true | | featureGates.Memcached | | false | -| featureGates.MicrosoftSQLServer | | false | | featureGates.MongoDB | | true | | featureGates.MySQL | | true | | featureGates.PerconaXtraDB | | true | diff --git a/charts/kubedb-webhook-server/values.yaml b/charts/kubedb-webhook-server/values.yaml index 438308e37..8a173b049 100644 --- a/charts/kubedb-webhook-server/values.yaml +++ b/charts/kubedb-webhook-server/values.yaml @@ -43,7 +43,6 @@ featureGates: Kafka: true MariaDB: true Memcached: false - MicrosoftSQLServer: false MongoDB: true MySQL: true PerconaXtraDB: true