From 13b28ed2e14540c9f5651d0b0856cea0928d6d37 Mon Sep 17 00:00:00 2001 From: "Randal S. Harisch" Date: Sun, 24 Sep 2023 14:56:59 -0600 Subject: [PATCH] chore: corrected template to deploy u2nc --- upload-to-nextcloud/templates/deployment.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/upload-to-nextcloud/templates/deployment.yaml b/upload-to-nextcloud/templates/deployment.yaml index a183c18..ebf7675 100644 --- a/upload-to-nextcloud/templates/deployment.yaml +++ b/upload-to-nextcloud/templates/deployment.yaml @@ -1,11 +1,18 @@ -apiVersion: apps.openshift.io/v1 +apiVersion: apps/v1 kind: Deployment metadata: + labels: + app: upload-to-nextcloud name: upload-to-nextcloud spec: replicas: 1 + selector: + matchLabels: + app: upload-to-nextcloud template: metadata: + labels: + app: upload-to-nextcloud spec: containers: - env: @@ -30,7 +37,7 @@ spec: key: password name: nextcloud-client image: "{{ .Values.image.repository }}:{{ trim .Values.image.tag | default .Chart.AppVersion }}" - imagePullPolicy: "{{ .Values.image.imagePullPolicy }}" + imagePullPolicy: "{{ .Values.image.PullPolicy }}" name: upload-to-nextcloud terminationMessagePath: /dev/termination-log terminationMessagePolicy: File