mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Michael Goodness
parent
0fd8e5529b
commit
5495873372
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user