From 815f450a5790cd97ea0f2c6281ea85e5905d68e2 Mon Sep 17 00:00:00 2001 From: Erik Godding Boye Date: Mon, 22 Jul 2024 21:00:51 +0200 Subject: [PATCH] test(e2e): refresh nginx test image (#1044) --- test/e2e/workload-scan/scan-cron-job/00-assert.yaml | 4 ++-- test/e2e/workload-scan/scan-cron-job/00-create.yaml | 2 +- test/e2e/workload-scan/scan-cron-job/01-assert.yaml | 4 ++-- test/e2e/workload-scan/scan-daemon-set/00-assert.yaml | 4 ++-- test/e2e/workload-scan/scan-daemon-set/00-create.yaml | 2 +- test/e2e/workload-scan/scan-daemon-set/01-assert.yaml | 4 ++-- test/e2e/workload-scan/scan-deployment/00-assert.yaml | 4 ++-- test/e2e/workload-scan/scan-deployment/00-create.yaml | 2 +- test/e2e/workload-scan/scan-deployment/01-assert.yaml | 4 ++-- test/e2e/workload-scan/scan-job/00-assert.yaml | 4 ++-- test/e2e/workload-scan/scan-job/00-create.yaml | 2 +- test/e2e/workload-scan/scan-job/01-assert.yaml | 4 ++-- test/e2e/workload-scan/scan-pod/00-assert.yaml | 4 ++-- test/e2e/workload-scan/scan-pod/00-create.yaml | 2 +- test/e2e/workload-scan/scan-pod/01-assert.yaml | 4 ++-- test/e2e/workload-scan/scan-replica-set/00-assert.yaml | 4 ++-- test/e2e/workload-scan/scan-replica-set/00-create.yaml | 2 +- test/e2e/workload-scan/scan-replica-set/01-assert.yaml | 4 ++-- test/e2e/workload-scan/scan-stateful-set/00-assert.yaml | 4 ++-- test/e2e/workload-scan/scan-stateful-set/00-create.yaml | 2 +- test/e2e/workload-scan/scan-stateful-set/01-assert.yaml | 4 ++-- 21 files changed, 35 insertions(+), 35 deletions(-) diff --git a/test/e2e/workload-scan/scan-cron-job/00-assert.yaml b/test/e2e/workload-scan/scan-cron-job/00-assert.yaml index 6a61e505..b6e316df 100644 --- a/test/e2e/workload-scan/scan-cron-job/00-assert.yaml +++ b/test/e2e/workload-scan/scan-cron-job/00-assert.yaml @@ -2,9 +2,9 @@ apiVersion: stas.statnett.no/v1alpha1 kind: ContainerImageScan metadata: - name: cronjob-echo-app-94a2e + name: cronjob-echo-app-ab50d spec: - digest: 'sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4' + digest: 'sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191' name: docker.io/nginxinc/nginx-unprivileged workload: containerName: app diff --git a/test/e2e/workload-scan/scan-cron-job/00-create.yaml b/test/e2e/workload-scan/scan-cron-job/00-create.yaml index d5e96c89..906145ba 100644 --- a/test/e2e/workload-scan/scan-cron-job/00-create.yaml +++ b/test/e2e/workload-scan/scan-cron-job/00-create.yaml @@ -15,7 +15,7 @@ spec: - name: app # Using image digest to avoid fragile tests image: >- - docker.io/nginxinc/nginx-unprivileged@sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4 + docker.io/nginxinc/nginx-unprivileged@sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191 command: - sleep - 10s diff --git a/test/e2e/workload-scan/scan-cron-job/01-assert.yaml b/test/e2e/workload-scan/scan-cron-job/01-assert.yaml index 2ddfe14f..9d76a16f 100644 --- a/test/e2e/workload-scan/scan-cron-job/01-assert.yaml +++ b/test/e2e/workload-scan/scan-cron-job/01-assert.yaml @@ -2,9 +2,9 @@ apiVersion: stas.statnett.no/v1alpha1 kind: ContainerImageScan metadata: - name: cronjob-echo-app-94a2e + name: cronjob-echo-app-ab50d spec: - digest: 'sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4' + digest: 'sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191' name: docker.io/nginxinc/nginx-unprivileged status: vulnerabilitySummary: diff --git a/test/e2e/workload-scan/scan-daemon-set/00-assert.yaml b/test/e2e/workload-scan/scan-daemon-set/00-assert.yaml index 3ec596bf..0ce6b532 100644 --- a/test/e2e/workload-scan/scan-daemon-set/00-assert.yaml +++ b/test/e2e/workload-scan/scan-daemon-set/00-assert.yaml @@ -2,9 +2,9 @@ apiVersion: stas.statnett.no/v1alpha1 kind: ContainerImageScan metadata: - name: daemonset-echo-app-94a2e + name: daemonset-echo-app-ab50d spec: - digest: 'sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4' + digest: 'sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191' name: docker.io/nginxinc/nginx-unprivileged workload: containerName: app diff --git a/test/e2e/workload-scan/scan-daemon-set/00-create.yaml b/test/e2e/workload-scan/scan-daemon-set/00-create.yaml index c70d659b..0488e70f 100644 --- a/test/e2e/workload-scan/scan-daemon-set/00-create.yaml +++ b/test/e2e/workload-scan/scan-daemon-set/00-create.yaml @@ -18,7 +18,7 @@ spec: - name: app # Using image digest to avoid fragile tests image: >- - docker.io/nginxinc/nginx-unprivileged@sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4 + docker.io/nginxinc/nginx-unprivileged@sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191 ports: - name: app containerPort: 8080 diff --git a/test/e2e/workload-scan/scan-daemon-set/01-assert.yaml b/test/e2e/workload-scan/scan-daemon-set/01-assert.yaml index 1e2c34c7..92b0b766 100644 --- a/test/e2e/workload-scan/scan-daemon-set/01-assert.yaml +++ b/test/e2e/workload-scan/scan-daemon-set/01-assert.yaml @@ -2,9 +2,9 @@ apiVersion: stas.statnett.no/v1alpha1 kind: ContainerImageScan metadata: - name: daemonset-echo-app-94a2e + name: daemonset-echo-app-ab50d spec: - digest: 'sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4' + digest: 'sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191' name: docker.io/nginxinc/nginx-unprivileged status: vulnerabilitySummary: diff --git a/test/e2e/workload-scan/scan-deployment/00-assert.yaml b/test/e2e/workload-scan/scan-deployment/00-assert.yaml index 24970d3d..ae7a2e68 100644 --- a/test/e2e/workload-scan/scan-deployment/00-assert.yaml +++ b/test/e2e/workload-scan/scan-deployment/00-assert.yaml @@ -2,9 +2,9 @@ apiVersion: stas.statnett.no/v1alpha1 kind: ContainerImageScan metadata: - name: deployment-echo-app-94a2e + name: deployment-echo-app-ab50d spec: - digest: 'sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4' + digest: 'sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191' name: docker.io/nginxinc/nginx-unprivileged workload: containerName: app diff --git a/test/e2e/workload-scan/scan-deployment/00-create.yaml b/test/e2e/workload-scan/scan-deployment/00-create.yaml index 7d768a6c..eae152d5 100644 --- a/test/e2e/workload-scan/scan-deployment/00-create.yaml +++ b/test/e2e/workload-scan/scan-deployment/00-create.yaml @@ -18,7 +18,7 @@ spec: - name: app # Using image digest to avoid fragile tests image: >- - docker.io/nginxinc/nginx-unprivileged@sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4 + docker.io/nginxinc/nginx-unprivileged@sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191 ports: - name: app containerPort: 8080 diff --git a/test/e2e/workload-scan/scan-deployment/01-assert.yaml b/test/e2e/workload-scan/scan-deployment/01-assert.yaml index 6627059a..8982b1e0 100644 --- a/test/e2e/workload-scan/scan-deployment/01-assert.yaml +++ b/test/e2e/workload-scan/scan-deployment/01-assert.yaml @@ -2,9 +2,9 @@ apiVersion: stas.statnett.no/v1alpha1 kind: ContainerImageScan metadata: - name: deployment-echo-app-94a2e + name: deployment-echo-app-ab50d spec: - digest: 'sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4' + digest: 'sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191' name: docker.io/nginxinc/nginx-unprivileged status: vulnerabilitySummary: diff --git a/test/e2e/workload-scan/scan-job/00-assert.yaml b/test/e2e/workload-scan/scan-job/00-assert.yaml index 940491cd..8f8776da 100644 --- a/test/e2e/workload-scan/scan-job/00-assert.yaml +++ b/test/e2e/workload-scan/scan-job/00-assert.yaml @@ -2,9 +2,9 @@ apiVersion: stas.statnett.no/v1alpha1 kind: ContainerImageScan metadata: - name: job-echo-app-94a2e + name: job-echo-app-ab50d spec: - digest: 'sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4' + digest: 'sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191' name: docker.io/nginxinc/nginx-unprivileged workload: containerName: app diff --git a/test/e2e/workload-scan/scan-job/00-create.yaml b/test/e2e/workload-scan/scan-job/00-create.yaml index 7fe549ae..64ade47e 100644 --- a/test/e2e/workload-scan/scan-job/00-create.yaml +++ b/test/e2e/workload-scan/scan-job/00-create.yaml @@ -12,7 +12,7 @@ spec: - name: app # Using image digest to avoid fragile tests image: >- - docker.io/nginxinc/nginx-unprivileged@sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4 + docker.io/nginxinc/nginx-unprivileged@sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191 command: - sleep - 10s diff --git a/test/e2e/workload-scan/scan-job/01-assert.yaml b/test/e2e/workload-scan/scan-job/01-assert.yaml index d58ad9fe..8e38e515 100644 --- a/test/e2e/workload-scan/scan-job/01-assert.yaml +++ b/test/e2e/workload-scan/scan-job/01-assert.yaml @@ -2,9 +2,9 @@ apiVersion: stas.statnett.no/v1alpha1 kind: ContainerImageScan metadata: - name: job-echo-app-94a2e + name: job-echo-app-ab50d spec: - digest: 'sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4' + digest: 'sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191' name: docker.io/nginxinc/nginx-unprivileged status: vulnerabilitySummary: diff --git a/test/e2e/workload-scan/scan-pod/00-assert.yaml b/test/e2e/workload-scan/scan-pod/00-assert.yaml index 350778c9..2dab0548 100644 --- a/test/e2e/workload-scan/scan-pod/00-assert.yaml +++ b/test/e2e/workload-scan/scan-pod/00-assert.yaml @@ -2,9 +2,9 @@ apiVersion: stas.statnett.no/v1alpha1 kind: ContainerImageScan metadata: - name: pod-echo-app-94a2e + name: pod-echo-app-ab50d spec: - digest: 'sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4' + digest: 'sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191' name: docker.io/nginxinc/nginx-unprivileged workload: containerName: app diff --git a/test/e2e/workload-scan/scan-pod/00-create.yaml b/test/e2e/workload-scan/scan-pod/00-create.yaml index 0cdbb6fe..4e0aca58 100644 --- a/test/e2e/workload-scan/scan-pod/00-create.yaml +++ b/test/e2e/workload-scan/scan-pod/00-create.yaml @@ -10,7 +10,7 @@ spec: - name: app # Using image digest to avoid fragile tests image: >- - docker.io/nginxinc/nginx-unprivileged@sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4 + docker.io/nginxinc/nginx-unprivileged@sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191 ports: - name: app containerPort: 8080 diff --git a/test/e2e/workload-scan/scan-pod/01-assert.yaml b/test/e2e/workload-scan/scan-pod/01-assert.yaml index bf7471e2..b48f19dc 100644 --- a/test/e2e/workload-scan/scan-pod/01-assert.yaml +++ b/test/e2e/workload-scan/scan-pod/01-assert.yaml @@ -2,9 +2,9 @@ apiVersion: stas.statnett.no/v1alpha1 kind: ContainerImageScan metadata: - name: pod-echo-app-94a2e + name: pod-echo-app-ab50d spec: - digest: 'sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4' + digest: 'sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191' name: docker.io/nginxinc/nginx-unprivileged status: vulnerabilitySummary: diff --git a/test/e2e/workload-scan/scan-replica-set/00-assert.yaml b/test/e2e/workload-scan/scan-replica-set/00-assert.yaml index 5594a018..bdcae265 100644 --- a/test/e2e/workload-scan/scan-replica-set/00-assert.yaml +++ b/test/e2e/workload-scan/scan-replica-set/00-assert.yaml @@ -2,9 +2,9 @@ apiVersion: stas.statnett.no/v1alpha1 kind: ContainerImageScan metadata: - name: replicaset-echo-app-94a2e + name: replicaset-echo-app-ab50d spec: - digest: 'sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4' + digest: 'sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191' name: docker.io/nginxinc/nginx-unprivileged workload: containerName: app diff --git a/test/e2e/workload-scan/scan-replica-set/00-create.yaml b/test/e2e/workload-scan/scan-replica-set/00-create.yaml index 749bb97d..2b0746ef 100644 --- a/test/e2e/workload-scan/scan-replica-set/00-create.yaml +++ b/test/e2e/workload-scan/scan-replica-set/00-create.yaml @@ -18,7 +18,7 @@ spec: - name: app # Using image digest to avoid fragile tests image: >- - docker.io/nginxinc/nginx-unprivileged@sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4 + docker.io/nginxinc/nginx-unprivileged@sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191 ports: - name: app containerPort: 8080 diff --git a/test/e2e/workload-scan/scan-replica-set/01-assert.yaml b/test/e2e/workload-scan/scan-replica-set/01-assert.yaml index 6253e7cf..36c11f16 100644 --- a/test/e2e/workload-scan/scan-replica-set/01-assert.yaml +++ b/test/e2e/workload-scan/scan-replica-set/01-assert.yaml @@ -2,9 +2,9 @@ apiVersion: stas.statnett.no/v1alpha1 kind: ContainerImageScan metadata: - name: replicaset-echo-app-94a2e + name: replicaset-echo-app-ab50d spec: - digest: 'sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4' + digest: 'sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191' name: docker.io/nginxinc/nginx-unprivileged status: vulnerabilitySummary: diff --git a/test/e2e/workload-scan/scan-stateful-set/00-assert.yaml b/test/e2e/workload-scan/scan-stateful-set/00-assert.yaml index 3acbf10a..0b1c1720 100644 --- a/test/e2e/workload-scan/scan-stateful-set/00-assert.yaml +++ b/test/e2e/workload-scan/scan-stateful-set/00-assert.yaml @@ -2,9 +2,9 @@ apiVersion: stas.statnett.no/v1alpha1 kind: ContainerImageScan metadata: - name: statefulset-echo-app-94a2e + name: statefulset-echo-app-ab50d spec: - digest: 'sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4' + digest: 'sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191' name: docker.io/nginxinc/nginx-unprivileged workload: containerName: app diff --git a/test/e2e/workload-scan/scan-stateful-set/00-create.yaml b/test/e2e/workload-scan/scan-stateful-set/00-create.yaml index 5803d71f..c4ffbc02 100644 --- a/test/e2e/workload-scan/scan-stateful-set/00-create.yaml +++ b/test/e2e/workload-scan/scan-stateful-set/00-create.yaml @@ -19,7 +19,7 @@ spec: - name: app # Using image digest to avoid fragile tests image: >- - docker.io/nginxinc/nginx-unprivileged@sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4 + docker.io/nginxinc/nginx-unprivileged@sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191 ports: - name: app containerPort: 8080 diff --git a/test/e2e/workload-scan/scan-stateful-set/01-assert.yaml b/test/e2e/workload-scan/scan-stateful-set/01-assert.yaml index 9dd2f5bc..f27f243e 100644 --- a/test/e2e/workload-scan/scan-stateful-set/01-assert.yaml +++ b/test/e2e/workload-scan/scan-stateful-set/01-assert.yaml @@ -2,9 +2,9 @@ apiVersion: stas.statnett.no/v1alpha1 kind: ContainerImageScan metadata: - name: statefulset-echo-app-94a2e + name: statefulset-echo-app-ab50d spec: - digest: 'sha256:6da1811b094adbea1eb34c3e48fc2833b1a11a351ec7b36cc390e740a64fbae4' + digest: 'sha256:1645798310a56491acb75d750ed6a4693a35506c9860503d21a877cc54d95191' name: docker.io/nginxinc/nginx-unprivileged status: vulnerabilitySummary: