CD sets image for Kubernetes CRLs CronJob.
This ensures that the CronJon responsible for updating CRLs is using the most up-to-date image. Previously, it used the "latest" tag. Since the K8s Docker environment caches image tags, "latest" would not always be up-to-date.
This commit is contained in:
parent
0b5acde4c4
commit
3e0b7b1c5f
@ -228,6 +228,7 @@ jobs:
|
||||
kubectl set image deployment.apps/atst atst=${AZURE_SERVER_NAME}/atat:atat-${CIRCLE_SHA1} --namespace=atat
|
||||
kubectl set image deployment.apps/atst-worker atst-worker=${AZURE_SERVER_NAME}/atat:atat-${CIRCLE_SHA1} --namespace=atat
|
||||
kubectl set image deployment.apps/atst-beat atst-beat=${AZURE_SERVER_NAME}/atat:atat-${CIRCLE_SHA1} --namespace=atat
|
||||
kubectl set image cronjobs.batch/crls crls=${AZURE_SERVER_NAME}/atat:atat-${CIRCLE_SHA1} --namespace=atat
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user