aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-galera/templates/statefulset.yaml
diff options
context:
space:
mode:
authorThomas Kulik <thomas.kulik@telekom.de>2024-08-15 11:20:02 +0000
committerGerrit Code Review <gerrit@onap.org>2024-08-15 11:20:02 +0000
commit815ca17f55ee259725a62de0a987aa2e938e18da (patch)
tree97d14564c8903ac6f252e8d5f8dd5cfd7320b9a1 /kubernetes/common/mariadb-galera/templates/statefulset.yaml
parent43acd647a2b56011aebeb6442323b07be372ddfb (diff)
parentfec27ccdd5fc0c8fc4ff749697fd147407acfdc6 (diff)
Merge "[COMMON][TIMESCALEDB] TemporalDB and securityContext settings"
Diffstat (limited to 'kubernetes/common/mariadb-galera/templates/statefulset.yaml')
-rw-r--r--kubernetes/common/mariadb-galera/templates/statefulset.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/kubernetes/common/mariadb-galera/templates/statefulset.yaml b/kubernetes/common/mariadb-galera/templates/statefulset.yaml
index 2b8951979d..66ce8abc6e 100644
--- a/kubernetes/common/mariadb-galera/templates/statefulset.yaml
+++ b/kubernetes/common/mariadb-galera/templates/statefulset.yaml
@@ -66,6 +66,7 @@ spec:
runAsGroup: {{ .Values.securityContext.group_id }}
readOnlyRootFilesystem: false
runAsUser: 0
+ runAsNonRoot: false
seccompProfile:
type: RuntimeDefault
volumeMounts:
@@ -181,7 +182,7 @@ spec:
successThreshold: {{ .Values.startupProbe.successThreshold }}
failureThreshold: {{ .Values.startupProbe.failureThreshold }}
{{- end }}
- {{ include "common.securityContext" . | indent 10 | trim }}
+ {{ include "common.containerSecurityContext" . | indent 10 | trim }}
resources: {{ include "common.resources" . | nindent 12 }}
volumeMounts:
- name: previous-boot