From 0c94a999eeb443b7ac1019e223345037bfa8cb04 Mon Sep 17 00:00:00 2001 From: "Randal S. Harisch" Date: Mon, 25 Sep 2023 00:08:06 -0600 Subject: [PATCH] chore: updated deployment with pull secrets --- upload-to-nextcloud/templates/deployment.yaml | 2 ++ upload-to-nextcloud/values.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/upload-to-nextcloud/templates/deployment.yaml b/upload-to-nextcloud/templates/deployment.yaml index ebf7675..e4127cf 100644 --- a/upload-to-nextcloud/templates/deployment.yaml +++ b/upload-to-nextcloud/templates/deployment.yaml @@ -44,6 +44,8 @@ spec: volumeMounts: - mountPath: /conversion name: pvc-conversion + imagePullSecrets: + - name: {{ .Values.image.pullSecret }} dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler diff --git a/upload-to-nextcloud/values.yaml b/upload-to-nextcloud/values.yaml index 14478a4..5bc37de 100644 --- a/upload-to-nextcloud/values.yaml +++ b/upload-to-nextcloud/values.yaml @@ -7,6 +7,7 @@ replicaCount: 1 image: repository: quay01.ipa.endofday.com/goghvideo/upload-to-nextcloud pullPolicy: Always + pullSecret: goghvideo-openshift-builder-pull-secret # Overrides the image tag whose default is the chart appVersion. tag: "latest"