From ff4e2792d66908e5be6e6cd520916bf4bb950b95 Mon Sep 17 00:00:00 2001 From: Dong Ma Date: Wed, 19 Feb 2025 23:59:23 +0800 Subject: [PATCH] Fix two redundant securityContext problem This patchset fix the two redundant securityContext in statefulset-compute-ironic.yaml template. Change-Id: Id40529b78465585bf85769ff8648213f97d2dbc6 --- nova/templates/statefulset-compute-ironic.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/nova/templates/statefulset-compute-ironic.yaml b/nova/templates/statefulset-compute-ironic.yaml index b6bee8d36d..e26afd3a3f 100644 --- a/nova/templates/statefulset-compute-ironic.yaml +++ b/nova/templates/statefulset-compute-ironic.yaml @@ -51,8 +51,6 @@ spec: {{ tuple $envAll "nova" "compute-ironic" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }} nodeSelector: {{ .Values.labels.agent.compute_ironic.node_selector_key }}: {{ .Values.labels.agent.compute_ironic.node_selector_value }} - securityContext: - runAsUser: 0 hostPID: true dnsPolicy: ClusterFirstWithHostNet initContainers: