mirror of https://github.com/k3s-io/k3s
commit
cb59c3da91
|
@ -89,8 +89,8 @@ Once a pod is created, its secret volumes will not change, even if the secret
|
||||||
resource is modified. To change the secret used, the original pod must be
|
resource is modified. To change the secret used, the original pod must be
|
||||||
deleted, and a new pod (perhaps with an identical PodSpec) must be created.
|
deleted, and a new pod (perhaps with an identical PodSpec) must be created.
|
||||||
Therefore, updating a secret follows the same workflow as deploying a new
|
Therefore, updating a secret follows the same workflow as deploying a new
|
||||||
container image. The `kubectl rollingupdate` command can be used ([man
|
container image. The `kubectl rolling-update` command can be used ([man
|
||||||
page](kubectl-rollingupdate.md)).
|
page](kubectl_rolling-update.md)).
|
||||||
|
|
||||||
The resourceVersion of the secret is not specified when it is referenced.
|
The resourceVersion of the secret is not specified when it is referenced.
|
||||||
Therefore, if a secret is updated at about the same time as pods are starting,
|
Therefore, if a secret is updated at about the same time as pods are starting,
|
||||||
|
|
Loading…
Reference in New Issue