File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
apps/faf-legacy-deployment/templates Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,9 @@ metadata:
55 labels :
66 app : faf-deploy-coop-maps
77data :
8- PATCH_VERSION : " 65 "
8+ PATCH_VERSION : " v9.0.2 "
99 DATABASE_HOST : " mariadb"
1010 DATABASE_NAME : " faf_lobby"
11- "deploy-coop-maps.py" : |-
12- {{ tpl ( .Files.Get "scripts/deploy-coop-maps.py" ) . | indent 4 }}
1311
1412---
1513
@@ -44,13 +42,22 @@ spec:
4442 - secretRef :
4543 name : faf-legacy-deployment
4644 command : [ "sh" ]
47- args : [ "-c", "pip install mysql-connector-python && python3 /tmp/deploy-coop-maps.py" ]
45+ args : [ "-c", "pip install mysql-connector-python && python3 /tmp/deploy-coop-maps.py $PATCH_VERSION --git-directory /tmp/maps " ]
4846 volumeMounts :
4947 - mountPath : /tmp/deploy-coop-maps.py
50- name : faf-deploy-coop-maps
48+ name : faf-deploy-scripts
5149 subPath : " deploy-coop-maps.py"
50+ - mountPath : /opt/faf/data/maps
51+ name : faf-maps
5252 restartPolicy : Never
5353 volumes :
54+ - name : faf-deploy-scripts
55+ configMap :
56+ name : " faf-deploy-scripts"
5457 - name : faf-deploy-coop-maps
5558 configMap :
5659 name : " faf-deploy-coop-maps"
60+ - name : faf-maps
61+ hostPath :
62+ path : /opt/faf/data/maps
63+ type : Directory
You can’t perform that action at this time.
0 commit comments