apiserver: update lease identity prefix from kube-apiserver- to apiserver-
Signed-off-by: Andrew Sy Kim <andrewsy@google.com> Kubernetes-commit: fb066a883de2b56e533eb622677056bd723748ce
This commit is contained in:
parent
fbb8099003
commit
2d94c4699b
|
|
@ -346,7 +346,7 @@ func NewConfig(codecs serializer.CodecFactory) *Config {
|
|||
}
|
||||
|
||||
hash := sha256.Sum256([]byte(hostname))
|
||||
id = "kube-apiserver-" + strings.ToLower(base32.StdEncoding.WithPadding(base32.NoPadding).EncodeToString(hash[:16]))
|
||||
id = "apiserver-" + strings.ToLower(base32.StdEncoding.WithPadding(base32.NoPadding).EncodeToString(hash[:16]))
|
||||
}
|
||||
lifecycleSignals := newLifecycleSignals()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue