diff options
author | Srivahni <srivahni.chivukula@intel.com> | 2019-09-03 15:44:22 -0700 |
---|---|---|
committer | Srivahni Chivukula <srivahni.chivukula@intel.com> | 2019-09-06 17:24:02 +0000 |
commit | 9df8a9088ee55e32c2fb1f337b77c7bb9a3ced9f (patch) | |
tree | 6201c8273e3b90d41b50ca3297e8b27475661d91 /vnfs/DAaaS/deploy/operator/charts/visualization-operator/templates/role.yaml | |
parent | c3ef7c3f40f6aa4a14a98301ae12bfa11b1a12c3 (diff) |
Helm chart for visualization-operator
Issue-ID: ONAPARC-393
Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
Change-Id: If841ce54d5d6da4576484084330f401ea537da86
Diffstat (limited to 'vnfs/DAaaS/deploy/operator/charts/visualization-operator/templates/role.yaml')
-rw-r--r-- | vnfs/DAaaS/deploy/operator/charts/visualization-operator/templates/role.yaml | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/vnfs/DAaaS/deploy/operator/charts/visualization-operator/templates/role.yaml b/vnfs/DAaaS/deploy/operator/charts/visualization-operator/templates/role.yaml new file mode 100644 index 00000000..11a7a900 --- /dev/null +++ b/vnfs/DAaaS/deploy/operator/charts/visualization-operator/templates/role.yaml @@ -0,0 +1,68 @@ +{{- if .Values.enabled }} +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + creationTimestamp: null + name: visualization-operator + labels: + app: {{ template "visualization-operator.name" . }} + chart: {{ template "visualization-operator.chart" . }} + component: role + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} +rules: +- apiGroups: + - "" + resources: + - pods + - services + - endpoints + - persistentvolumeclaims + - events + - configmaps + - secrets + verbs: + - '*' +- apiGroups: + - apps + resources: + - deployments + - daemonsets + - replicasets + - statefulsets + verbs: + - '*' +- apiGroups: + - monitoring.coreos.com + resources: + - servicemonitors + verbs: + - get + - create +- apiGroups: + - apps + resourceNames: + - visualization-operator + resources: + - deployments/finalizers + verbs: + - update +- apiGroups: + - "" + resources: + - pods + verbs: + - get +- apiGroups: + - apps + resources: + - replicasets + verbs: + - get +- apiGroups: + - onap.org + resources: + - '*' + verbs: + - '*' +{{- end }}
\ No newline at end of file |