chore: corrected template to deploy u2nc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user