From c2286737b8774a6b51ce763c2f856814cbdb05e2 Mon Sep 17 00:00:00 2001 From: gshaibi <39763067+gshaibi@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:28:20 +0200 Subject: [PATCH] RUN-24030 Status exporter init container bugfix (#104) --- .../templates/status-exporter/hostpath-init-configmap.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/fake-gpu-operator/templates/status-exporter/hostpath-init-configmap.yaml b/deploy/fake-gpu-operator/templates/status-exporter/hostpath-init-configmap.yaml index acebeda..c9fa170 100644 --- a/deploy/fake-gpu-operator/templates/status-exporter/hostpath-init-configmap.yaml +++ b/deploy/fake-gpu-operator/templates/status-exporter/hostpath-init-configmap.yaml @@ -12,5 +12,6 @@ data: # Allow containers to read/write to RUNAI_DIR chmod 777 $RUNAI_DIR - chcon -Rt svirt_sandbox_file_t $RUNAI_DIR + chcon -Rt svirt_sandbox_file_t $RUNAI_DIR || echo "Failed to set SELinux context, this is expected if SELinux is not enabled" +