Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePodTemplate ¶ added in v1.7.1
func CreatePodTemplate(template v1.PodTemplateSpec, generation int64, hash string) v1.PodTemplateSpec
CreatePodTemplate returns copy of provided template with additional label which contains templateGeneration (for backward compatibility), hash of provided template and sets default daemon tolerations.
func IsPodUpdated ¶
IsPodUpdate checks if pod contains label value that either matches templateGeneration or hash
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.