Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
Fix RBAC
Browse files Browse the repository at this point in the history
  • Loading branch information
grampelberg committed May 14, 2019
1 parent b0754d1 commit c1f7698
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions chart/templates/deployment.yaml
Expand Up @@ -19,6 +19,7 @@ spec:
app.kubernetes.io/name: {{ include "smi-metrics.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
serviceAccountName: {{ include "smi-metrics.fullname" . }}
containers:
- name: shim
image: {{ .Values.image.name }}
Expand Down
1 change: 1 addition & 0 deletions chart/templates/rbac.yaml
Expand Up @@ -18,6 +18,7 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
name: {{ include "smi-metrics.fullname" . }}
namespace: kube-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand Down

0 comments on commit c1f7698

Please sign in to comment.