Staging instance, all changes can be removed at any time

Skip to content

components/svix: Define svix image version

Guillaume Samson requested to merge define_svix_image_version into production

Related to swh/infra/sysadm-environment#5165 (closed)

The svix image was declared with the tag latest. As the imagePullPolicy is defined to IfNotPresent, the image will never be updated.
With these modifications we can control which svix-server version is deployed.

Helm diff
./helm-diff.sh cluster-components
[cluster-components] Comparing changes between branches production and define_svix_image_version...
Your branch is up to date with 'origin/production'.
[cluster-components] Generate config in production branch for cluster-components/values/admin-rke2.yaml...
[cluster-components] Generate config in production branch for cluster-components/values/archive-production-rke2.yaml...
[cluster-components] Generate config in production branch for cluster-components/values/archive-staging-rke2.yaml...
[cluster-components] Generate config in production branch for cluster-components/values/gitlab-production.yaml...
[cluster-components] Generate config in production branch for cluster-components/values/gitlab-staging.yaml...
[cluster-components] Generate config in production branch for cluster-components/values/minikube.yaml...
[cluster-components] Generate config in production branch for cluster-components/values/rancher.yaml...
[cluster-components] Generate config in production branch for cluster-components/values/test-staging-rke2.yaml...
Your branch is up to date with 'origin/define_svix_image_version'.
[cluster-components] Generate config in define_svix_image_version branch for cluster-components/values/admin-rke2.yaml...
[cluster-components] Generate config in define_svix_image_version branch for cluster-components/values/archive-production-rke2.yaml...
[cluster-components] Generate config in define_svix_image_version branch for cluster-components/values/archive-staging-rke2.yaml...
[cluster-components] Generate config in define_svix_image_version branch for cluster-components/values/gitlab-production.yaml...
[cluster-components] Generate config in define_svix_image_version branch for cluster-components/values/gitlab-staging.yaml...
[cluster-components] Generate config in define_svix_image_version branch for cluster-components/values/minikube.yaml...
[cluster-components] Generate config in define_svix_image_version branch for cluster-components/values/rancher.yaml...
[cluster-components] Generate config in define_svix_image_version branch for cluster-components/values/test-staging-rke2.yaml...


------------- diff for cluster-components/values/admin-rke2.yaml -------------

No differences


------------- diff for cluster-components/values/archive-production-rke2.yaml -------------

No differences


------------- diff for cluster-components/values/archive-staging-rke2.yaml -------------

--- /tmp/swh-chart.cluster-components.eltG2p17/archive-staging-rke2.yaml.before	2023-12-11 17:51:17.499533728 +0100
+++ /tmp/swh-chart.cluster-components.eltG2p17/archive-staging-rke2.yaml.after	2023-12-11 17:51:18.639552403 +0100
@@ -96,21 +96,21 @@
     metadata:
       labels:
         app: svix-server
     spec:
       containers:
         - name: svix-server
           resources:
             requests:
               memory: 100Mi
               cpu: 100m
-          image: svix/svix-server:latest
+          image: svix/svix-server:v1.13
           imagePullPolicy: IfNotPresent
           ports:
             - containerPort: 8071
               name: svix
           readinessProbe:
             httpGet:
               path: /
               port: svix
             initialDelaySeconds: 5
             failureThreshold: 30


------------- diff for cluster-components/values/gitlab-production.yaml -------------

No differences


------------- diff for cluster-components/values/gitlab-staging.yaml -------------

No differences


------------- diff for cluster-components/values/minikube.yaml -------------

No differences


------------- diff for cluster-components/values/rancher.yaml -------------

No differences


------------- diff for cluster-components/values/test-staging-rke2.yaml -------------

--- /tmp/swh-chart.cluster-components.eltG2p17/test-staging-rke2.yaml.before	2023-12-11 17:51:18.431548995 +0100
+++ /tmp/swh-chart.cluster-components.eltG2p17/test-staging-rke2.yaml.after	2023-12-11 17:51:19.623568522 +0100
@@ -255,21 +255,21 @@
     metadata:
       labels:
         app: svix-server
     spec:
       containers:
         - name: svix-server
           resources:
             requests:
               memory: 100Mi
               cpu: 100m
-          image: svix/svix-server:latest
+          image: svix/svix-server:v1.14
           imagePullPolicy: IfNotPresent
           ports:
             - containerPort: 8071
               name: svix
           readinessProbe:
             httpGet:
               path: /
               port: svix
             initialDelaySeconds: 5
             failureThreshold: 30

Merge request reports

Loading