From 72118d6618856b1db8eac3231f60c056cc781a18 Mon Sep 17 00:00:00 2001 From: "sebastien.heurtematte" Date: Thu, 17 Oct 2024 00:52:28 +0200 Subject: [PATCH] feat: Migrate to CephFS - technology.cbi Signed-off-by: sebastien.heurtematte --- instances/technology.cbi/config.jsonnet | 1 + instances/technology.cbi/target/config.json | 1 + instances/technology.cbi/target/k8s/statefulset.json | 7 ++++++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/instances/technology.cbi/config.jsonnet b/instances/technology.cbi/config.jsonnet index fb694fed3..46bb4f3a1 100644 --- a/instances/technology.cbi/config.jsonnet +++ b/instances/technology.cbi/config.jsonnet @@ -41,4 +41,5 @@ develocity+: { generate: true, }, + seLinuxLevel: "s0:c27,c9", } \ No newline at end of file diff --git a/instances/technology.cbi/target/config.json b/instances/technology.cbi/target/config.json index 5fc5d1471..11b52f1c0 100644 --- a/instances/technology.cbi/target/config.json +++ b/instances/technology.cbi/target/config.json @@ -992,6 +992,7 @@ }, "generate": false }, + "seLinuxLevel": "s0:c27,c9", "secrets": { "dockerconfigjson": { "dockerconfigjson-for-pull-as-cbi": { diff --git a/instances/technology.cbi/target/k8s/statefulset.json b/instances/technology.cbi/target/k8s/statefulset.json index 5231ca82b..7e182addb 100644 --- a/instances/technology.cbi/target/k8s/statefulset.json +++ b/instances/technology.cbi/target/k8s/statefulset.json @@ -119,7 +119,12 @@ "cpu": "1900m" } }, - "securityContext": { }, + "securityContext": { + "seLinuxOptions": { + "level": "s0:c27,c9", + "type": "spc_t" + } + }, "volumeMounts": [ { "mountPath": "/var/jenkins",