Compare commits

..

No commits in common. "47bc5c3fcef375487fd79628ba107bfc5e84c4c5" and "cc7aef5212198db32dc2a8a69a261b16428731fd" have entirely different histories.

3 changed files with 1 additions and 21 deletions

View File

@ -27,9 +27,7 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /data - mountPath: /data
name: data name: data
- mountPath: /scripts command: ["git", "clone", "--depth", "1", "https://github.com/iv-org/invidious.git", "/data/repo"]
name: scripts
command: ["/bin/sh", "/scripts/init.sh"]
- image: jbergknoff/postgresql-client:latest - image: jbergknoff/postgresql-client:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: init-invidious-db name: init-invidious-db
@ -119,6 +117,3 @@ spec:
- name: config - name: config
configMap: configMap:
name: invidious-config name: invidious-config
- name: scripts
configMap:
name: invidious-scripts

View File

@ -1,6 +0,0 @@
if [ -d /data/repo ]; then
cd /data/repo
git pull
else
git clone --depth 1 https://github.com/iv-org/invidious.git /data/repo
fi

View File

@ -108,15 +108,6 @@ configMapGenerator:
files: files:
- init-directory-structure.sh=gitea-init-directory-structure.sh - init-directory-structure.sh=gitea-init-directory-structure.sh
- setup.sh=gitea-setup.sh - setup.sh=gitea-setup.sh
options:
labels:
app: gitea
- name: invidious-scripts
files:
- init.sh=invidious-init.sh
options:
labels:
app: invidious
secretGenerator: secretGenerator:
- name: aws-do-external-dns-credentials - name: aws-do-external-dns-credentials