Use configmap instead of secrets

This commit is contained in:
2024-11-01 05:08:49 +08:00
parent 3d05f82767
commit a74f588640
4 changed files with 30 additions and 2 deletions

View File

@@ -18,4 +18,6 @@ run:
- -exc
- |
VERSION=$( cat commit.sha )
cat k8s/configmap.yaml >> deploy-confs/prod.yaml
echo "---"
sed "s/IMAGE_TAG/$VERSION/g" k8s/deployments.yaml >> deploy-confs/prod.yaml