Browse Source

Update 'hommer-deployment.yml'

master
anpham 1 week ago
parent
commit
9d85c59734
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      hommer-deployment.yml

+ 6
- 1
hommer-deployment.yml View File

@ -27,7 +27,12 @@ spec:
initContainers:
- name: git-cloner
image: alpine/git:latest
command: ["git", "clone", "https://git.anpham.me/DurianLAB/Homepage-Dashboard.git", "/shared-git-data/Homepage-Dashboard"]
command:
- sh
- -c
- | # <--- This indicates a multi-line string. Indent the lines below it.
rm -rf /shared-git-data/Homepage-Dashboard && \
git clone https://git.anpham.me/DurianLAB/Homepage-Dashboard.git /shared-git-data/Homepage-Dashboard
volumeMounts:
- name: git-repo-volume
mountPath: /shared-git-data


Loading…
Cancel
Save