From 0482a86635e95bc514cdcbaee888b433755e8d00 Mon Sep 17 00:00:00 2001 From: portdirect Date: Thu, 28 Dec 2017 00:49:24 -0500 Subject: [PATCH] Glance: Fix RBAC object creation for storage-init job This PS fixes the RBAC object creation for storage-init job, by removing the helm hook annotation that was erroniosly applied to the object manifests. Change-Id: I98d2cec660199f607a8c18c1a2cc9e54937e3cb8 --- glance/templates/job-storage-init.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/glance/templates/job-storage-init.yaml b/glance/templates/job-storage-init.yaml index 27b61bdbed..d6865cf025 100644 --- a/glance/templates/job-storage-init.yaml +++ b/glance/templates/job-storage-init.yaml @@ -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