Skip to content

Commit

Permalink
Merge pull request #7916 from appvia/node-authorizer-template-fix
Browse files Browse the repository at this point in the history
Fix rendering of the Node Authorizer template
  • Loading branch information
k8s-ci-robot authored Nov 13, 2019
2 parents b550db2 + bcd882e commit 07adf0c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 07adf0c

Please sign in to comment.