[stable/cluster-autoscaler] Update rolebinding.yaml (#1749)

* Update rolebinding.yaml

This is a RoleBinding resource, not ClusterRoleBinding

* Use correct resource names in RoleBinding resource

fix ref RoleName and serviceAccount name

* Bump cluster-autoscaler version to v0.1.1
This commit is contained in:
Victor Unegbu
2017-08-16 10:17:06 -05:00
committed by Michael Goodness
parent 0fd8e5529b
commit 5495873372
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
@@ -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 -}}