Skip to content

Commit

Permalink
specifying namespace in rolebinding to fix #95
Browse files Browse the repository at this point in the history
Adding namespace to rolebinding
  • Loading branch information
robscott authored and Andrew Suderman committed May 17, 2019
1 parent 399924a commit 6ac07df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/helm/polaris/templates/webhook.rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: {{ include "polaris.fullname" . }}-webhook
namespace: {{ .Release.Namespace }}
labels:
{{- include "polaris.labels" . | nindent 4 }}
rules:
Expand All @@ -75,6 +76,7 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: {{ include "polaris.fullname" . }}-webhook
namespace: {{ .Release.Namespace }}
labels:
{{- include "polaris.labels" . | nindent 4 }}
roleRef:
Expand Down
2 changes: 2 additions & 0 deletions deploy/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: polaris-webhook
namespace: polaris
labels:
app: polaris
rules:
Expand All @@ -148,6 +149,7 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: polaris-webhook
namespace: polaris
labels:
app: polaris
roleRef:
Expand Down

0 comments on commit 6ac07df

Please sign in to comment.