mirror of https://github.com/kubernetes/kops.git
Fix rendering of the Node Authorizer template
This commit is contained in:
parent
b550db283c
commit
bcd882e88e
|
@ -1,7 +1,7 @@
|
|||
{{- $proxy := .EgressProxy }}
|
||||
{{- $na := .NodeAuthorization.NodeAuthorizer }}
|
||||
{{- $name := "node-authorizer" }}
|
||||
{{- $namespace := "kube-system" }}
|
||||
{{- $proxy := .EgressProxy -}}
|
||||
{{- $na := .NodeAuthorization.NodeAuthorizer -}}
|
||||
{{- $name := "node-authorizer" -}}
|
||||
{{- $namespace := "kube-system" -}}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
|
@ -97,7 +97,7 @@ subjects:
|
|||
name: {{ $name }}
|
||||
namespace: {{ $namespace }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: kops:{{ $name }}:nodes-viewer
|
||||
|
|
Loading…
Reference in New Issue