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:
Andrew Sy Kim 2022-12-19 13:33:24 -05:00 committed by Kubernetes Publisher
parent fbb8099003
commit 2d94c4699b
1 changed files with 1 additions and 1 deletions

View File

@ -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()