diff --git a/stable/cluster-autoscaler/Chart.yaml b/stable/cluster-autoscaler/Chart.yaml index 1a917c051e..94c6a983d4 100644 --- a/stable/cluster-autoscaler/Chart.yaml +++ b/stable/cluster-autoscaler/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: Scales worker nodes within autoscaling groups. icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png name: cluster-autoscaler -version: 0.1.0 +version: 0.1.1 sources: - https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler - https://github.com/spotinst/kubernetes-autoscaler/tree/master/cluster-autoscaler diff --git a/stable/cluster-autoscaler/templates/rolebinding.yaml b/stable/cluster-autoscaler/templates/rolebinding.yaml index 025fa8e12c..7ba52c339e 100644 --- a/stable/cluster-autoscaler/templates/rolebinding.yaml +++ b/stable/cluster-autoscaler/templates/rolebinding.yaml @@ -1,6 +1,6 @@ {{- if .Values.rbac.create -}} apiVersion: rbac.authorization.k8s.io/v1beta1 -kind: ClusterRoleBinding +kind: RoleBinding metadata: labels: app: {{ template "name" . }} @@ -11,9 +11,9 @@ metadata: roleRef: apiGroup: rbac.authorization.k8s.io kind: Role - name: cluster-autoscaler + name: {{ template "fullname" . }} subjects: - kind: ServiceAccount - name: cluster-autoscaler + name: {{ template "fullname" . }} namespace: {{ .Release.Namespace }} {{- end -}}