Fix Labels in Controller-Manager

The incorrect label causes hard reboot of cluster to fail

This patch set is meant to correct that behavior

Change-Id: I83d0709482d1097e68b4d0bba5d360e6840a3496
This commit is contained in:
Anthony Lin 2017-11-06 23:06:17 +00:00
parent 15142c66bb
commit 68be7f5e1e
1 changed files with 2 additions and 2 deletions

View File

@ -25,11 +25,11 @@ kind: DaemonSet
metadata:
name: {{ .Values.service.name }}-anchor
spec:
{{ tuple $envAll "controller_manager" | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }}
{{ tuple $envAll "kubernetes-controller-manager-anchor" | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }}
template:
metadata:
labels:
{{ tuple $envAll "kubernetes" "controller-manager-anchor" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
{{ tuple $envAll "kubernetes" "kubernetes-controller-manager-anchor" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}