Merge "Glance: Fix RBAC object creation for storage-init job"

This commit is contained in:
Zuul 2017-12-28 17:31:51 +00:00 committed by Gerrit Code Review
commit a5fc6a860a

View File

@ -25,8 +25,6 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: {{ $serviceAccountName }}
annotations:
"helm.sh/hook": pre-delete
rules:
- apiGroups:
- ""
@ -41,8 +39,6 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: {{ $serviceAccountName }}
annotations:
"helm.sh/hook": pre-delete
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role