From a8148f9b3437a249d0ec368f57754ca35cd2f89d Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Tue, 30 Apr 2024 11:37:32 +0200 Subject: [PATCH] templates/openshift/maintenance: fix service account --- templates/openshift/maintenance.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/templates/openshift/maintenance.yml b/templates/openshift/maintenance.yml index 87e1efac6..d205ba3a0 100644 --- a/templates/openshift/maintenance.yml +++ b/templates/openshift/maintenance.yml @@ -28,7 +28,7 @@ objects: spec: template: spec: - serviceAccountName: image-builder + serviceAccountName: image-builder-maintenance restartPolicy: Never containers: - image: "${IMAGE_NAME}:${IMAGE_TAG}" @@ -156,6 +156,13 @@ objects: - name: MAX_CONCURRENT_REQUESTS value: "${MAINTENANCE_MAX_CONCURRENT_REQUESTS}" +- apiVersion: v1 + kind: ServiceAccount + metadata: + name: image-builder-maintenance + imagePullSecrets: + - name: quay.io + parameters: - description: maintenance image name name: IMAGE_NAME