Skip to content

Commit

Permalink
Add apprepositories-webhook ClusterRole in kupeapps chart (#2151)
Browse files Browse the repository at this point in the history
* Add apprepositories-webhook ClusterRole in kupeapps chart

Rel PR #2150

* Renamed apprepositories-webhook to apprepositories-refresh
  • Loading branch information
antgamdia committed Nov 16, 2020
1 parent be572e8 commit b8524e8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions chart/kubeapps/templates/apprepository-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,19 @@ rules:
- secrets
verbs:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: "kubeapps:{{ .Release.Namespace }}:apprepositories-refresh"
labels:{{ include "kubeapps.extraAppLabels" . | nindent 4 }}
app: {{ template "kubeapps.apprepository.fullname" . }}
rules:
- apiGroups:
- kubeapps.com
resources:
- apprepositories
verbs:
- get
- update
{{- end -}}

0 comments on commit b8524e8

Please sign in to comment.