From 9676caf01963e464608b56075afeb1b61ab11bfd Mon Sep 17 00:00:00 2001 From: Markus Rudy Date: Wed, 21 Feb 2024 17:22:08 +0100 Subject: [PATCH] ci: pin image for simple test We did run into an issue where Github Actions computed a policy for a newer version of `fedora:38`, while AKS used an older variant from cache, which resulted in a policy fail. This commit pins the image by hash, and replaces the fedora image with busybox, which should have less churn and longer availability. --- deployments/simple/initializer.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deployments/simple/initializer.yml b/deployments/simple/initializer.yml index 43ec95ff84..aa8059c947 100644 --- a/deployments/simple/initializer.yml +++ b/deployments/simple/initializer.yml @@ -30,11 +30,11 @@ spec: memory: 50Mi containers: - name: workload - image: "fedora:38" + image: "docker.io/library/busybox:1.36.1-musl@sha256:d4707523ce6e12afdbe9a3be5ad69027150a834870ca0933baf7516dd1fe0f56" command: - - /bin/bash + - /bin/sh - "-c" - - echo Workload started ; sleep inf + - echo Workload started ; while true; do sleep 60; done volumeMounts: - name: tls-certs mountPath: /tls-config