From 54548e2976408297bcf167c449bfc08b63164b89 Mon Sep 17 00:00:00 2001 From: Jian Zhang Date: Sun, 27 Apr 2025 18:14:31 +0800 Subject: [PATCH] set the SElinux type Signed-off-by: Jian Zhang --- .../operator-controller/patches/manager_deployment_cert.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/components/tls/operator-controller/patches/manager_deployment_cert.yaml b/config/components/tls/operator-controller/patches/manager_deployment_cert.yaml index 8fbdb5592..462600d81 100644 --- a/config/components/tls/operator-controller/patches/manager_deployment_cert.yaml +++ b/config/components/tls/operator-controller/patches/manager_deployment_cert.yaml @@ -16,3 +16,6 @@ - op: add path: /spec/template/spec/containers/0/args/- value: "--tls-key=/var/certs/tls.key" +- op: add + path: /spec/template/spec/securityContext/seLinuxOptions + value: {"type":"spc_t"} \ No newline at end of file