invidious: Fix ambigious directory structure

This commit is contained in:
Rob Watson 2022-05-19 21:46:14 +02:00
parent 786286991c
commit 8dfa4651b4
1 changed files with 8 additions and 8 deletions

View File

@ -21,15 +21,15 @@ spec:
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: init-invidious-repo name: init-invidious-repo
volumeMounts: volumeMounts:
- mountPath: /repo - mountPath: /data
name: repo name: data
command: ["git", "clone", "--depth", "1", "https://github.com/iv-org/invidious.git", "/repo"] command: ["git", "clone", "--depth", "1", "https://github.com/iv-org/invidious.git", "/data/repo"]
- image: jbergknoff/postgresql-client:latest - image: jbergknoff/postgresql-client:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: init-invidious-db name: init-invidious-db
volumeMounts: volumeMounts:
- mountPath: /repo - mountPath: /data
name: repo name: data
env: env:
- name: PGHOST - name: PGHOST
valueFrom: valueFrom:
@ -63,8 +63,8 @@ spec:
name: invidious-credentials name: invidious-credentials
key: database-password key: database-password
optional: false optional: false
workingDir: /repo workingDir: /data/repo
command: ["sh", "/repo/docker/init-invidious-db.sh"] command: ["sh", "docker/init-invidious-db.sh"]
containers: containers:
- image: quay.io/invidious/invidious:latest - image: quay.io/invidious/invidious:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
@ -108,7 +108,7 @@ spec:
successThreshold: 1 successThreshold: 1
timeoutSeconds: 10 timeoutSeconds: 10
volumes: volumes:
- name: repo - name: data
emptyDir: {} emptyDir: {}
- name: config - name: config
configMap: configMap: