mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-14 20:10:50 -04:00
Fix createStaticPod to not use container.RestartPolicy
This commit is contained in:
parent
70c129fea5
commit
f690a0ce41
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue