[Review App] Ensure new deployments are deployed each time Unicorn/Sidekiq components are updated
What does this MR do?
This adds commit SHA annotations to the Unicorn and Sidekiq deployments. This should make sure new deployments are deployed each time a Review App Unicorn or Sidekiq components are updated.
This also updates the Chart version we use to 3.3.3
.
Unicorn
apiVersion: apps/v1
kind: Deployment
[...]
spec:
[...]
template:
metadata:
annotations:
checksum/config: 0900b1af80a78354f7d981a7ef4d6a77d86af33e473efdc64dc1ce917b6878f6
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
commit: 5318627d
prometheus.io/path: /-/metrics
prometheus.io/port: "8080"
prometheus.io/scrape: "true"
Sidekiq
apiVersion: apps/v1
kind: Deployment
[...]
spec:
[...]
template:
metadata:
annotations:
checksum/configmap: e07202bc5d729c2fe4fdf3d7189b7516159164c1a17dfa83e4c8d9859514ae9c
checksum/configmap-pod: 4f8a0fe23c1f429953562b744f825d7515f99e23c6ae46d58121875bf3d15aab
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
commit: 5318627d
prometheus.io/port: "3807"
prometheus.io/scrape: "true"
Closes #212643 (closed).
Edited by Rémy Coutable