From 0452f26aaccbe9e1c0df65fa0cb187a4d626602e Mon Sep 17 00:00:00 2001 From: Frederic Gurr Date: Tue, 19 Nov 2024 22:37:47 +0100 Subject: [PATCH] Cephfs Migrations --- instances/iot.hono/config.jsonnet | 1 + instances/iot.hono/target/config.json | 1 + instances/iot.hono/target/jenkins/configuration.yml | 4 ++-- instances/iot.hono/target/k8s/configmap-jenkins-config.yml | 4 ++-- instances/iot.hono/target/k8s/statefulset.json | 7 ++++++- instances/modeling.mmt.qvt-oml/config.jsonnet | 1 + instances/modeling.mmt.qvt-oml/target/config.json | 1 + .../modeling.mmt.qvt-oml/target/jenkins/configuration.yml | 4 ++-- .../target/k8s/configmap-jenkins-config.yml | 4 ++-- instances/modeling.mmt.qvt-oml/target/k8s/statefulset.json | 7 ++++++- 10 files changed, 24 insertions(+), 10 deletions(-) diff --git a/instances/iot.hono/config.jsonnet b/instances/iot.hono/config.jsonnet index 7ddd969fd..525ba1102 100644 --- a/instances/iot.hono/config.jsonnet +++ b/instances/iot.hono/config.jsonnet @@ -3,4 +3,5 @@ fullName: "iot.hono", displayName: "Eclipse Hono", }, + seLinuxLevel: "s0:c41,c40", } diff --git a/instances/iot.hono/target/config.json b/instances/iot.hono/target/config.json index bd56d0dbf..940f4660e 100644 --- a/instances/iot.hono/target/config.json +++ b/instances/iot.hono/target/config.json @@ -896,6 +896,7 @@ }, "generate": false }, + "seLinuxLevel": "s0:c41,c40", "secrets": { "dockerconfigjson": { "dockerconfigjson-for-pull-as-default": { diff --git a/instances/iot.hono/target/jenkins/configuration.yml b/instances/iot.hono/target/jenkins/configuration.yml index 6cca23ece..baf717a3a 100644 --- a/instances/iot.hono/target/jenkins/configuration.yml +++ b/instances/iot.hono/target/jenkins/configuration.yml @@ -702,7 +702,7 @@ unclassified: createAccountBasedOnEmail: true useExistingAccountWithSameEmail: true jobConfigHistory: - excludePattern: "queue\\.xml|nodeMonitors\\.xml|UpdateCenter\\.xml|global-build-stats|LockableResourcesManager\\.xml|MilestoneStep\\.xml" + excludePattern: "queue\\.xml|nodeMonitors\\.xml|UpdateCenter\\.xml|global-build-stats|LockableResourcesManager\\.xml|MilestoneStep\\.xml|hudson.plugins.xvnc.Xvnc\\.xml" maxDaysToKeepEntries: "60" maxEntriesPerPage: "12" maxHistoryEntries: "500" @@ -843,7 +843,7 @@ tool: - installSource: installers: - antFromApache: - id: "1.10.12" + id: "1.10.15" maven: installations: - name: "apache-maven-latest" diff --git a/instances/iot.hono/target/k8s/configmap-jenkins-config.yml b/instances/iot.hono/target/k8s/configmap-jenkins-config.yml index 137ec2a11..20513ad95 100644 --- a/instances/iot.hono/target/k8s/configmap-jenkins-config.yml +++ b/instances/iot.hono/target/k8s/configmap-jenkins-config.yml @@ -725,7 +725,7 @@ data: createAccountBasedOnEmail: true useExistingAccountWithSameEmail: true jobConfigHistory: - excludePattern: "queue\\.xml|nodeMonitors\\.xml|UpdateCenter\\.xml|global-build-stats|LockableResourcesManager\\.xml|MilestoneStep\\.xml" + excludePattern: "queue\\.xml|nodeMonitors\\.xml|UpdateCenter\\.xml|global-build-stats|LockableResourcesManager\\.xml|MilestoneStep\\.xml|hudson.plugins.xvnc.Xvnc\\.xml" maxDaysToKeepEntries: "60" maxEntriesPerPage: "12" maxHistoryEntries: "500" @@ -866,7 +866,7 @@ data: - installSource: installers: - antFromApache: - id: "1.10.12" + id: "1.10.15" maven: installations: - name: "apache-maven-latest" diff --git a/instances/iot.hono/target/k8s/statefulset.json b/instances/iot.hono/target/k8s/statefulset.json index 55be59572..222b4b2af 100644 --- a/instances/iot.hono/target/k8s/statefulset.json +++ b/instances/iot.hono/target/k8s/statefulset.json @@ -119,7 +119,12 @@ "cpu": "250m" } }, - "securityContext": { }, + "securityContext": { + "seLinuxOptions": { + "level": "s0:c41,c40", + "type": "spc_t" + } + }, "volumeMounts": [ { "mountPath": "/var/jenkins", diff --git a/instances/modeling.mmt.qvt-oml/config.jsonnet b/instances/modeling.mmt.qvt-oml/config.jsonnet index 1d93d7199..2865899e5 100644 --- a/instances/modeling.mmt.qvt-oml/config.jsonnet +++ b/instances/modeling.mmt.qvt-oml/config.jsonnet @@ -9,4 +9,5 @@ "gerrit-trigger", ], }, + seLinuxLevel: "s0:c51,c50", } diff --git a/instances/modeling.mmt.qvt-oml/target/config.json b/instances/modeling.mmt.qvt-oml/target/config.json index 208bbba5c..5ac7352a5 100644 --- a/instances/modeling.mmt.qvt-oml/target/config.json +++ b/instances/modeling.mmt.qvt-oml/target/config.json @@ -900,6 +900,7 @@ }, "generate": false }, + "seLinuxLevel": "s0:c51,c50", "secrets": { "dockerconfigjson": { "dockerconfigjson-for-pull-as-default": { diff --git a/instances/modeling.mmt.qvt-oml/target/jenkins/configuration.yml b/instances/modeling.mmt.qvt-oml/target/jenkins/configuration.yml index 7fd525f4a..6383f6903 100644 --- a/instances/modeling.mmt.qvt-oml/target/jenkins/configuration.yml +++ b/instances/modeling.mmt.qvt-oml/target/jenkins/configuration.yml @@ -704,7 +704,7 @@ unclassified: createAccountBasedOnEmail: true useExistingAccountWithSameEmail: true jobConfigHistory: - excludePattern: "queue\\.xml|nodeMonitors\\.xml|UpdateCenter\\.xml|global-build-stats|LockableResourcesManager\\.xml|MilestoneStep\\.xml" + excludePattern: "queue\\.xml|nodeMonitors\\.xml|UpdateCenter\\.xml|global-build-stats|LockableResourcesManager\\.xml|MilestoneStep\\.xml|hudson.plugins.xvnc.Xvnc\\.xml" maxDaysToKeepEntries: "60" maxEntriesPerPage: "12" maxHistoryEntries: "500" @@ -845,7 +845,7 @@ tool: - installSource: installers: - antFromApache: - id: "1.10.12" + id: "1.10.15" maven: installations: - name: "apache-maven-latest" diff --git a/instances/modeling.mmt.qvt-oml/target/k8s/configmap-jenkins-config.yml b/instances/modeling.mmt.qvt-oml/target/k8s/configmap-jenkins-config.yml index 915eb5c02..97b16fe83 100644 --- a/instances/modeling.mmt.qvt-oml/target/k8s/configmap-jenkins-config.yml +++ b/instances/modeling.mmt.qvt-oml/target/k8s/configmap-jenkins-config.yml @@ -727,7 +727,7 @@ data: createAccountBasedOnEmail: true useExistingAccountWithSameEmail: true jobConfigHistory: - excludePattern: "queue\\.xml|nodeMonitors\\.xml|UpdateCenter\\.xml|global-build-stats|LockableResourcesManager\\.xml|MilestoneStep\\.xml" + excludePattern: "queue\\.xml|nodeMonitors\\.xml|UpdateCenter\\.xml|global-build-stats|LockableResourcesManager\\.xml|MilestoneStep\\.xml|hudson.plugins.xvnc.Xvnc\\.xml" maxDaysToKeepEntries: "60" maxEntriesPerPage: "12" maxHistoryEntries: "500" @@ -868,7 +868,7 @@ data: - installSource: installers: - antFromApache: - id: "1.10.12" + id: "1.10.15" maven: installations: - name: "apache-maven-latest" diff --git a/instances/modeling.mmt.qvt-oml/target/k8s/statefulset.json b/instances/modeling.mmt.qvt-oml/target/k8s/statefulset.json index 7a8f08fb0..bbf00e344 100644 --- a/instances/modeling.mmt.qvt-oml/target/k8s/statefulset.json +++ b/instances/modeling.mmt.qvt-oml/target/k8s/statefulset.json @@ -119,7 +119,12 @@ "cpu": "250m" } }, - "securityContext": { }, + "securityContext": { + "seLinuxOptions": { + "level": "s0:c51,c50", + "type": "spc_t" + } + }, "volumeMounts": [ { "mountPath": "/var/jenkins",