Fix two redundant securityContext problem

This patchset fix the two redundant securityContext
in statefulset-compute-ironic.yaml template.

Change-Id: Id40529b78465585bf85769ff8648213f97d2dbc6
This commit is contained in:
Dong Ma 2025-02-19 23:59:23 +08:00
parent 0f27364fb3
commit ff4e2792d6

View File

@ -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: