Rename DaemonSet and StatefulSet hash label

Make them share the same hash label "controller-revision-hash", for
consistency
This commit is contained in:
Janet Kuo
2017-06-14 15:48:05 -07:00
parent e08dfeb739
commit 25a67fc5cd
10 changed files with 14 additions and 18 deletions

View File

@@ -25,8 +25,9 @@ import (
const (
// StatefulSetInitAnnotation if present, and set to false, indicates that a Pod's readiness should be ignored.
StatefulSetInitAnnotation = "pod.alpha.kubernetes.io/initialized"
StatefulSetRevisionLabel = "statefulset.beta.kubernetes.io/revision"
StatefulSetInitAnnotation = "pod.alpha.kubernetes.io/initialized"
ControllerRevisionHashLabelKey = "controller-revision-hash"
StatefulSetRevisionLabel = ControllerRevisionHashLabelKey
)
// ScaleSpec describes the attributes of a scale subresource