set termination grace period 0

Addresses: https://github.com/rancher/rancher/issues/24751 With termination grace period set to 0, the pod is terminated immediately which reduces the probability of collision. Also, checks are added on rancher side as well to check for pods from previous scan
parent 257371cd
......@@ -14,6 +14,7 @@ metadata:
run: sonobuoy-master
spec:
serviceAccountName: s-sa-{{ .Release.Name }}
terminationGracePeriodSeconds: 0
volumes:
- configMap:
name: s-config-cm-{{ .Release.Name }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment