Skip to content

Commit

Permalink
Add privileges for Storage Operator
Browse files Browse the repository at this point in the history
  • Loading branch information
ajanikow committed Oct 15, 2019
1 parent cbbc8af commit e01eee8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }}
release: {{ .Release.Name }}
rules:
- apiGroups: [""]
resources: ["persistentvolumes", "persistentvolumeclaims", "endpoints", "events", "services"]
verbs: ["*"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get"]
Expand Down
3 changes: 0 additions & 3 deletions chart/kube-arangodb/templates/storage-operator/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }}
release: {{ .Release.Name }}
rules:
- apiGroups: [""]
resources: ["persistentvolumes", "persistentvolumeclaims", "endpoints", "events", "services"]
verbs: ["*"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "update"]
Expand Down
6 changes: 3 additions & 3 deletions manifests/arango-storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ metadata:
app.kubernetes.io/instance: storage
release: storage
rules:
- apiGroups: [""]
resources: ["persistentvolumes", "persistentvolumeclaims", "endpoints", "events", "services"]
verbs: ["*"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get"]
Expand Down Expand Up @@ -95,9 +98,6 @@ metadata:
app.kubernetes.io/instance: storage
release: storage
rules:
- apiGroups: [""]
resources: ["persistentvolumes", "persistentvolumeclaims", "endpoints", "events", "services"]
verbs: ["*"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "update"]
Expand Down

0 comments on commit e01eee8

Please sign in to comment.