From 4885be4c0fde704fd1c56df408871be0647b6e4f Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Wed, 15 Jan 2025 16:20:03 +0100 Subject: [COMMON] Fix errors in mariadb operator template - remove SecurytyContext settings - remove fixed primary pod index from template Issue-ID: OOM-3324 Change-Id: I535477ec43cde42cc63f1ab2620cf632eb64c943 Signed-off-by: Andreas Geissler --- kubernetes/common/common/Chart.yaml | 2 +- kubernetes/common/common/templates/_mariadb.tpl | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'kubernetes') diff --git a/kubernetes/common/common/Chart.yaml b/kubernetes/common/common/Chart.yaml index 591f24f4ee..6fce57f83b 100644 --- a/kubernetes/common/common/Chart.yaml +++ b/kubernetes/common/common/Chart.yaml @@ -17,4 +17,4 @@ apiVersion: v2 description: Common templates for inclusion in other charts name: common -version: 13.2.10 +version: 13.2.11 diff --git a/kubernetes/common/common/templates/_mariadb.tpl b/kubernetes/common/common/templates/_mariadb.tpl index 0e46e5ef26..c1447cd0ac 100644 --- a/kubernetes/common/common/templates/_mariadb.tpl +++ b/kubernetes/common/common/templates/_mariadb.tpl @@ -312,6 +312,7 @@ spec: authDelegatorRoleName: {{ $dbinst }}-auth gracefulShutdownTimeout: 5s securityContext: + readOnlyFileSystem: true allowPrivilegeEscalation: false capabilities: drop: @@ -320,11 +321,8 @@ spec: privileged: false runAsNonRoot: true runAsUser: 10001 - seccompProfile: - type: RuntimeDefault primary: automaticFailover: true - podIndex: 0 recovery: enabled: true clusterHealthyTimeout: 30s @@ -344,8 +342,6 @@ spec: privileged: false runAsNonRoot: true runAsUser: 10001 - seccompProfile: - type: RuntimeDefault config: reuseStorageVolume: false volumeClaimTemplate: -- cgit 1.2.3-korg