From 19da4af45391ac588ad0d3ed8fa3d1a850408a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20B=C3=A4rnthaler?= Date: Sat, 29 Jan 2022 05:43:10 +0000 Subject: [PATCH] Override image digest in test --- .../testdata/build-kustomization/podinfo-kustomization.yaml | 3 +++ cmd/flux/testdata/build-kustomization/podinfo-result.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/flux/testdata/build-kustomization/podinfo-kustomization.yaml b/cmd/flux/testdata/build-kustomization/podinfo-kustomization.yaml index 6d3eabed..6fa83078 100644 --- a/cmd/flux/testdata/build-kustomization/podinfo-kustomization.yaml +++ b/cmd/flux/testdata/build-kustomization/podinfo-kustomization.yaml @@ -13,3 +13,6 @@ spec: kind: GitRepository name: podinfo targetNamespace: default + images: + - name: ghcr.io/stefanprodan/podinfo + digest: "sha256:d15a206e4ee462e82ab722ed84dfa514ab9ed8d85100d591c04314ae7c2162ee" diff --git a/cmd/flux/testdata/build-kustomization/podinfo-result.yaml b/cmd/flux/testdata/build-kustomization/podinfo-result.yaml index e4646dd3..102ffc4f 100644 --- a/cmd/flux/testdata/build-kustomization/podinfo-result.yaml +++ b/cmd/flux/testdata/build-kustomization/podinfo-result.yaml @@ -38,7 +38,7 @@ spec: env: - name: PODINFO_UI_COLOR value: '#34577c' - image: ghcr.io/stefanprodan/podinfo:6.0.10 + image: ghcr.io/stefanprodan/podinfo@sha256:d15a206e4ee462e82ab722ed84dfa514ab9ed8d85100d591c04314ae7c2162ee imagePullPolicy: IfNotPresent livenessProbe: exec: