mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #116005 from gjkim42/fix-createStaticPod
Fix createStaticPod to not use container.RestartPolicy
This commit is contained in:
commit
10cdaefc1f
@ -213,7 +213,7 @@ spec:
|
||||
containers:
|
||||
- name: test
|
||||
image: %s
|
||||
restartPolicy: %s
|
||||
restartPolicy: %s
|
||||
`
|
||||
file := staticPodPath(dir, name, namespace)
|
||||
podYaml := fmt.Sprintf(template, name, namespace, image, string(restart))
|
||||
|
Loading…
Reference in New Issue
Block a user