File tree Expand file tree Collapse file tree
apps/faf-legacy-deployment/templates Expand file tree Collapse file tree 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,16 @@ 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 " ]
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"
5250 restartPolicy : Never
5351 volumes :
52+ - name : faf-deploy-scripts
53+ configMap :
54+ name : " faf-deploy-scripts"
5455 - name : faf-deploy-coop-maps
5556 configMap :
5657 name : " faf-deploy-coop-maps"
You can’t perform that action at this time.
0 commit comments