From cca639878e7f9ff07a7d9b61f5dc003db6bc2b9d Mon Sep 17 00:00:00 2001 From: Melissa Date: Fri, 14 Apr 2023 07:41:47 -0700 Subject: [PATCH] Update k8s.gcr.io to registry.k8s.io --- .../kind-kuttl/ingress-certificate/01-rc-with-cert.yaml | 2 +- .../ingress-manage-tls/00-certmanager-with-manage-tls.yaml | 2 +- .../ingress-manage-tls/01-certmanager-without-manage-tls.yaml | 2 +- .../ingress-manage-tls/02-certmanager-with-manage-tls.yaml | 2 +- .../03-certmanager-statefulset-with-manage-tls.yaml | 2 +- .../kind-kuttl/ingress-manage-tls/05-byo-with-manage-tls.yaml | 2 +- bundle/tests/scorecard/kind-kuttl/ingress/00-ingress.yaml | 2 +- .../tests/scorecard/kind-kuttl/ingress/02-delete-ingress.yaml | 2 +- .../tests/scorecard/kuttl/affinity/00-node-no-affinity.yaml | 2 +- .../tests/scorecard/kuttl/affinity/01-node-pod-affinity.yaml | 2 +- .../tests/scorecard/kuttl/affinity/03-pod-anti-affinity.yaml | 2 +- bundle/tests/scorecard/kuttl/affinity/05-node-affinity.yaml | 2 +- .../tests/scorecard/kuttl/annotations/00-rc-deployment.yaml | 2 +- bundle/tests/scorecard/kuttl/auto1/00-runtime-basic.yaml | 2 +- bundle/tests/scorecard/kuttl/auto2/00-runtime-basic.yaml | 2 +- bundle/tests/scorecard/kuttl/auto3/00-runtime-basic.yaml | 2 +- bundle/tests/scorecard/kuttl/basic/00-runtime-basic.yaml | 2 +- .../kuttl/deployment-strategy/00-runtime-rolling-update.yaml | 2 +- .../scorecard/kuttl/init-deployment/00-runtime-basic.yaml | 2 +- .../tests/scorecard/kuttl/init-stateful/00-runtime-basic.yaml | 2 +- .../kuttl/manage-tls/00-certmanager-with-manage-tls.yaml | 2 +- .../kuttl/manage-tls/01-certmanager-without-manage-tls.yaml | 2 +- .../02-certmanager-statefulset-with-manage-tls.yaml | 2 +- .../manage-tls/03-service-ca-statefulset-with-manage-tls.yaml | 2 +- .../kuttl/manage-tls/05-service-ca-with-manage-tls.yaml | 2 +- .../kuttl/manage-tls/06-service-ca-without-manage-tls.yaml | 2 +- .../scorecard/kuttl/manage-tls/08-byo-with-manage-tls.yaml | 2 +- .../00-multiple-network-policies.yaml | 4 ++-- .../network-policy/00-network-policy-enabled-default.yaml | 2 +- .../scorecard/kuttl/route-certificate/01-rc-with-cert.yaml | 2 +- bundle/tests/scorecard/kuttl/routes/00-route.yaml | 2 +- bundle/tests/scorecard/kuttl/routes/02-remove-route-spec.yaml | 2 +- bundle/tests/scorecard/kuttl/security-context/00-default.yaml | 2 +- .../tests/scorecard/kuttl/security-context/01-override.yaml | 2 +- .../kuttl/security-context/02-privileged-override.yaml | 2 +- .../kuttl/security-context/03-capabilities-override.yaml | 2 +- .../scorecard/kuttl/security-context/04-restore-default.yaml | 2 +- .../kuttl/service-account-name/00-default-sa-name.yaml | 2 +- .../scorecard/kuttl/service-binding1/00-service-binding.yaml | 2 +- .../scorecard/kuttl/service-binding2/00-service-binding.yaml | 2 +- .../scorecard/kuttl/service-certificate/01-rc-with-cert.yaml | 2 +- .../scorecard/kuttl/sidecar-deployment/00-runtime-basic.yaml | 2 +- .../scorecard/kuttl/sidecar-deployment/01-add-sidecar.yaml | 2 +- .../scorecard/kuttl/sidecar-stateful/00-runtime-basic.yaml | 2 +- .../scorecard/kuttl/sidecar-stateful/01-add-sidecar.yaml | 2 +- .../kuttl/statefulset-strategy/00-runtime-rolling-update.yaml | 2 +- bundle/tests/scorecard/kuttl/storage/00-runtime-storage.yaml | 2 +- .../kuttl/storage/03-runtime-storage-class-name.yaml | 2 +- bundle/tests/scorecard/kuttl/storage/05-pvc-overwrite.yaml | 2 +- .../scorecard/kuttl/volume/01-runtime-deployment-volume.yaml | 2 +- examples/affinity/01-coffeeshop-backend.yaml | 2 +- examples/affinity/02-coffeeshop-ui.yaml | 2 +- examples/affinity/README.adoc | 4 ++-- scripts/e2e-kind.sh | 2 +- 54 files changed, 56 insertions(+), 56 deletions(-) diff --git a/bundle/tests/scorecard/kind-kuttl/ingress-certificate/01-rc-with-cert.yaml b/bundle/tests/scorecard/kind-kuttl/ingress-certificate/01-rc-with-cert.yaml index 37adc72c6..1f9fd4d85 100644 --- a/bundle/tests/scorecard/kind-kuttl/ingress-certificate/01-rc-with-cert.yaml +++ b/bundle/tests/scorecard/kind-kuttl/ingress-certificate/01-rc-with-cert.yaml @@ -4,7 +4,7 @@ metadata: name: ingress-with-cert-rc spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true route: diff --git a/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/00-certmanager-with-manage-tls.yaml b/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/00-certmanager-with-manage-tls.yaml index f937dbd84..f1d94ebd5 100644 --- a/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/00-certmanager-with-manage-tls.yaml +++ b/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/00-certmanager-with-manage-tls.yaml @@ -4,7 +4,7 @@ kind: RuntimeComponent metadata: name: manage-tls-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true service: diff --git a/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/01-certmanager-without-manage-tls.yaml b/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/01-certmanager-without-manage-tls.yaml index b11f53618..e43fb2311 100644 --- a/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/01-certmanager-without-manage-tls.yaml +++ b/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/01-certmanager-without-manage-tls.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: manage-tls-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true manageTLS: false # Deletes the *-svc-tls-cm CertManager Certificate diff --git a/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/02-certmanager-with-manage-tls.yaml b/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/02-certmanager-with-manage-tls.yaml index 591121708..89036444f 100644 --- a/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/02-certmanager-with-manage-tls.yaml +++ b/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/02-certmanager-with-manage-tls.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: manage-tls-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true manageTLS: true # Restore default diff --git a/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/03-certmanager-statefulset-with-manage-tls.yaml b/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/03-certmanager-statefulset-with-manage-tls.yaml index 14d99d4e0..7cada121f 100644 --- a/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/03-certmanager-statefulset-with-manage-tls.yaml +++ b/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/03-certmanager-statefulset-with-manage-tls.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: manage-tls-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true service: diff --git a/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/05-byo-with-manage-tls.yaml b/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/05-byo-with-manage-tls.yaml index b1c80e563..420af4bda 100644 --- a/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/05-byo-with-manage-tls.yaml +++ b/bundle/tests/scorecard/kind-kuttl/ingress-manage-tls/05-byo-with-manage-tls.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: manage-tls-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true service: diff --git a/bundle/tests/scorecard/kind-kuttl/ingress/00-ingress.yaml b/bundle/tests/scorecard/kind-kuttl/ingress/00-ingress.yaml index ba643f051..4ca6caa4b 100644 --- a/bundle/tests/scorecard/kind-kuttl/ingress/00-ingress.yaml +++ b/bundle/tests/scorecard/kind-kuttl/ingress/00-ingress.yaml @@ -4,7 +4,7 @@ metadata: name: ingress spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true route: diff --git a/bundle/tests/scorecard/kind-kuttl/ingress/02-delete-ingress.yaml b/bundle/tests/scorecard/kind-kuttl/ingress/02-delete-ingress.yaml index 14a9ffb0d..fb13ef667 100644 --- a/bundle/tests/scorecard/kind-kuttl/ingress/02-delete-ingress.yaml +++ b/bundle/tests/scorecard/kind-kuttl/ingress/02-delete-ingress.yaml @@ -4,7 +4,7 @@ metadata: name: ingress spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: false diff --git a/bundle/tests/scorecard/kuttl/affinity/00-node-no-affinity.yaml b/bundle/tests/scorecard/kuttl/affinity/00-node-no-affinity.yaml index f9f42e314..3291d327d 100644 --- a/bundle/tests/scorecard/kuttl/affinity/00-node-no-affinity.yaml +++ b/bundle/tests/scorecard/kuttl/affinity/00-node-no-affinity.yaml @@ -4,7 +4,7 @@ kind: RuntimeComponent metadata: name: affinity-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 affinity: nodeAffinityLabels: diff --git a/bundle/tests/scorecard/kuttl/affinity/01-node-pod-affinity.yaml b/bundle/tests/scorecard/kuttl/affinity/01-node-pod-affinity.yaml index 3354666ab..d84ebf2a8 100644 --- a/bundle/tests/scorecard/kuttl/affinity/01-node-pod-affinity.yaml +++ b/bundle/tests/scorecard/kuttl/affinity/01-node-pod-affinity.yaml @@ -14,7 +14,7 @@ kind: RuntimeComponent metadata: name: affinity-other-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 affinity: podAffinity: diff --git a/bundle/tests/scorecard/kuttl/affinity/03-pod-anti-affinity.yaml b/bundle/tests/scorecard/kuttl/affinity/03-pod-anti-affinity.yaml index d7f700eca..1df1a668d 100644 --- a/bundle/tests/scorecard/kuttl/affinity/03-pod-anti-affinity.yaml +++ b/bundle/tests/scorecard/kuttl/affinity/03-pod-anti-affinity.yaml @@ -4,7 +4,7 @@ kind: RuntimeComponent metadata: name: anti-affinity-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 affinity: podAntiAffinity: diff --git a/bundle/tests/scorecard/kuttl/affinity/05-node-affinity.yaml b/bundle/tests/scorecard/kuttl/affinity/05-node-affinity.yaml index 05114501f..5044401df 100644 --- a/bundle/tests/scorecard/kuttl/affinity/05-node-affinity.yaml +++ b/bundle/tests/scorecard/kuttl/affinity/05-node-affinity.yaml @@ -4,7 +4,7 @@ kind: RuntimeComponent metadata: name: affinity-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 affinity: nodeAffinity: diff --git a/bundle/tests/scorecard/kuttl/annotations/00-rc-deployment.yaml b/bundle/tests/scorecard/kuttl/annotations/00-rc-deployment.yaml index b8c27bc82..0591633a2 100644 --- a/bundle/tests/scorecard/kuttl/annotations/00-rc-deployment.yaml +++ b/bundle/tests/scorecard/kuttl/annotations/00-rc-deployment.yaml @@ -7,7 +7,7 @@ metadata: conflict: component spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 deployment: annotations: diff --git a/bundle/tests/scorecard/kuttl/auto1/00-runtime-basic.yaml b/bundle/tests/scorecard/kuttl/auto1/00-runtime-basic.yaml index f542563ba..53e64a967 100644 --- a/bundle/tests/scorecard/kuttl/auto1/00-runtime-basic.yaml +++ b/bundle/tests/scorecard/kuttl/auto1/00-runtime-basic.yaml @@ -4,5 +4,5 @@ metadata: name: autoscaling1-rc spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 diff --git a/bundle/tests/scorecard/kuttl/auto2/00-runtime-basic.yaml b/bundle/tests/scorecard/kuttl/auto2/00-runtime-basic.yaml index d7318ccea..710ae817e 100644 --- a/bundle/tests/scorecard/kuttl/auto2/00-runtime-basic.yaml +++ b/bundle/tests/scorecard/kuttl/auto2/00-runtime-basic.yaml @@ -4,5 +4,5 @@ metadata: name: scale2-runtime-component spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 diff --git a/bundle/tests/scorecard/kuttl/auto3/00-runtime-basic.yaml b/bundle/tests/scorecard/kuttl/auto3/00-runtime-basic.yaml index 5fb5315f7..8221eae48 100644 --- a/bundle/tests/scorecard/kuttl/auto3/00-runtime-basic.yaml +++ b/bundle/tests/scorecard/kuttl/auto3/00-runtime-basic.yaml @@ -4,5 +4,5 @@ metadata: name: scale3-runtime-component spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 diff --git a/bundle/tests/scorecard/kuttl/basic/00-runtime-basic.yaml b/bundle/tests/scorecard/kuttl/basic/00-runtime-basic.yaml index c91e7282c..c2f6a0796 100644 --- a/bundle/tests/scorecard/kuttl/basic/00-runtime-basic.yaml +++ b/bundle/tests/scorecard/kuttl/basic/00-runtime-basic.yaml @@ -4,6 +4,6 @@ metadata: name: example-runtime-component spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 diff --git a/bundle/tests/scorecard/kuttl/deployment-strategy/00-runtime-rolling-update.yaml b/bundle/tests/scorecard/kuttl/deployment-strategy/00-runtime-rolling-update.yaml index 6b7f44855..af40c3790 100644 --- a/bundle/tests/scorecard/kuttl/deployment-strategy/00-runtime-rolling-update.yaml +++ b/bundle/tests/scorecard/kuttl/deployment-strategy/00-runtime-rolling-update.yaml @@ -4,7 +4,7 @@ metadata: name: deployment-strategy-rc spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 3 deployment: updateStrategy: diff --git a/bundle/tests/scorecard/kuttl/init-deployment/00-runtime-basic.yaml b/bundle/tests/scorecard/kuttl/init-deployment/00-runtime-basic.yaml index a22693a90..f9b6c476f 100644 --- a/bundle/tests/scorecard/kuttl/init-deployment/00-runtime-basic.yaml +++ b/bundle/tests/scorecard/kuttl/init-deployment/00-runtime-basic.yaml @@ -4,5 +4,5 @@ metadata: name: init-runtime-deployment spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 diff --git a/bundle/tests/scorecard/kuttl/init-stateful/00-runtime-basic.yaml b/bundle/tests/scorecard/kuttl/init-stateful/00-runtime-basic.yaml index b49e31c15..09448d32a 100644 --- a/bundle/tests/scorecard/kuttl/init-stateful/00-runtime-basic.yaml +++ b/bundle/tests/scorecard/kuttl/init-stateful/00-runtime-basic.yaml @@ -4,6 +4,6 @@ metadata: name: init-runtime-stateful spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 statefulSet: {} diff --git a/bundle/tests/scorecard/kuttl/manage-tls/00-certmanager-with-manage-tls.yaml b/bundle/tests/scorecard/kuttl/manage-tls/00-certmanager-with-manage-tls.yaml index f937dbd84..f1d94ebd5 100644 --- a/bundle/tests/scorecard/kuttl/manage-tls/00-certmanager-with-manage-tls.yaml +++ b/bundle/tests/scorecard/kuttl/manage-tls/00-certmanager-with-manage-tls.yaml @@ -4,7 +4,7 @@ kind: RuntimeComponent metadata: name: manage-tls-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true service: diff --git a/bundle/tests/scorecard/kuttl/manage-tls/01-certmanager-without-manage-tls.yaml b/bundle/tests/scorecard/kuttl/manage-tls/01-certmanager-without-manage-tls.yaml index b11f53618..e43fb2311 100644 --- a/bundle/tests/scorecard/kuttl/manage-tls/01-certmanager-without-manage-tls.yaml +++ b/bundle/tests/scorecard/kuttl/manage-tls/01-certmanager-without-manage-tls.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: manage-tls-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true manageTLS: false # Deletes the *-svc-tls-cm CertManager Certificate diff --git a/bundle/tests/scorecard/kuttl/manage-tls/02-certmanager-statefulset-with-manage-tls.yaml b/bundle/tests/scorecard/kuttl/manage-tls/02-certmanager-statefulset-with-manage-tls.yaml index 08c4d8ecd..c830cd487 100644 --- a/bundle/tests/scorecard/kuttl/manage-tls/02-certmanager-statefulset-with-manage-tls.yaml +++ b/bundle/tests/scorecard/kuttl/manage-tls/02-certmanager-statefulset-with-manage-tls.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: manage-tls-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true manageTLS: true diff --git a/bundle/tests/scorecard/kuttl/manage-tls/03-service-ca-statefulset-with-manage-tls.yaml b/bundle/tests/scorecard/kuttl/manage-tls/03-service-ca-statefulset-with-manage-tls.yaml index 77af1c57c..232977560 100644 --- a/bundle/tests/scorecard/kuttl/manage-tls/03-service-ca-statefulset-with-manage-tls.yaml +++ b/bundle/tests/scorecard/kuttl/manage-tls/03-service-ca-statefulset-with-manage-tls.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: manage-tls-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true service: diff --git a/bundle/tests/scorecard/kuttl/manage-tls/05-service-ca-with-manage-tls.yaml b/bundle/tests/scorecard/kuttl/manage-tls/05-service-ca-with-manage-tls.yaml index 7c1514fb9..f3db22e3e 100644 --- a/bundle/tests/scorecard/kuttl/manage-tls/05-service-ca-with-manage-tls.yaml +++ b/bundle/tests/scorecard/kuttl/manage-tls/05-service-ca-with-manage-tls.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: manage-tls-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true manageTLS: true diff --git a/bundle/tests/scorecard/kuttl/manage-tls/06-service-ca-without-manage-tls.yaml b/bundle/tests/scorecard/kuttl/manage-tls/06-service-ca-without-manage-tls.yaml index 833dc11de..43b29964f 100644 --- a/bundle/tests/scorecard/kuttl/manage-tls/06-service-ca-without-manage-tls.yaml +++ b/bundle/tests/scorecard/kuttl/manage-tls/06-service-ca-without-manage-tls.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: manage-tls-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true manageTLS: false # Disables usage of OpenShift service CA diff --git a/bundle/tests/scorecard/kuttl/manage-tls/08-byo-with-manage-tls.yaml b/bundle/tests/scorecard/kuttl/manage-tls/08-byo-with-manage-tls.yaml index 4cb20f69a..24cd57d21 100644 --- a/bundle/tests/scorecard/kuttl/manage-tls/08-byo-with-manage-tls.yaml +++ b/bundle/tests/scorecard/kuttl/manage-tls/08-byo-with-manage-tls.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: manage-tls-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true manageTLS: true diff --git a/bundle/tests/scorecard/kuttl/network-policy-multiple-apps/00-multiple-network-policies.yaml b/bundle/tests/scorecard/kuttl/network-policy-multiple-apps/00-multiple-network-policies.yaml index e3e860bea..9d312075f 100644 --- a/bundle/tests/scorecard/kuttl/network-policy-multiple-apps/00-multiple-network-policies.yaml +++ b/bundle/tests/scorecard/kuttl/network-policy-multiple-apps/00-multiple-network-policies.yaml @@ -4,7 +4,7 @@ metadata: name: network-policy-frontend-rc spec: applicationName: network-policy-test - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 expose: true service: port: 9080 @@ -18,7 +18,7 @@ metadata: name: network-policy-backend-rc spec: applicationName: network-policy-test - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 service: port: 9080 ports: diff --git a/bundle/tests/scorecard/kuttl/network-policy/00-network-policy-enabled-default.yaml b/bundle/tests/scorecard/kuttl/network-policy/00-network-policy-enabled-default.yaml index 1b20c8273..735199b49 100644 --- a/bundle/tests/scorecard/kuttl/network-policy/00-network-policy-enabled-default.yaml +++ b/bundle/tests/scorecard/kuttl/network-policy/00-network-policy-enabled-default.yaml @@ -3,6 +3,6 @@ kind: RuntimeComponent metadata: name: network-policy-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 service: port: 8080 diff --git a/bundle/tests/scorecard/kuttl/route-certificate/01-rc-with-cert.yaml b/bundle/tests/scorecard/kuttl/route-certificate/01-rc-with-cert.yaml index 645e66116..895105c64 100644 --- a/bundle/tests/scorecard/kuttl/route-certificate/01-rc-with-cert.yaml +++ b/bundle/tests/scorecard/kuttl/route-certificate/01-rc-with-cert.yaml @@ -4,7 +4,7 @@ metadata: name: route-with-cert-rc spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true route: diff --git a/bundle/tests/scorecard/kuttl/routes/00-route.yaml b/bundle/tests/scorecard/kuttl/routes/00-route.yaml index ad81614f4..60cdaa2b1 100644 --- a/bundle/tests/scorecard/kuttl/routes/00-route.yaml +++ b/bundle/tests/scorecard/kuttl/routes/00-route.yaml @@ -4,7 +4,7 @@ metadata: name: route spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true route: diff --git a/bundle/tests/scorecard/kuttl/routes/02-remove-route-spec.yaml b/bundle/tests/scorecard/kuttl/routes/02-remove-route-spec.yaml index 04845e8b8..0cbe90eeb 100644 --- a/bundle/tests/scorecard/kuttl/routes/02-remove-route-spec.yaml +++ b/bundle/tests/scorecard/kuttl/routes/02-remove-route-spec.yaml @@ -6,7 +6,7 @@ metadata: step: "02" spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 expose: true route: diff --git a/bundle/tests/scorecard/kuttl/security-context/00-default.yaml b/bundle/tests/scorecard/kuttl/security-context/00-default.yaml index c4bdc7a88..de2a75da4 100644 --- a/bundle/tests/scorecard/kuttl/security-context/00-default.yaml +++ b/bundle/tests/scorecard/kuttl/security-context/00-default.yaml @@ -3,5 +3,5 @@ kind: RuntimeComponent metadata: name: security-context-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 \ No newline at end of file diff --git a/bundle/tests/scorecard/kuttl/security-context/01-override.yaml b/bundle/tests/scorecard/kuttl/security-context/01-override.yaml index a9c757e9e..5e384addb 100644 --- a/bundle/tests/scorecard/kuttl/security-context/01-override.yaml +++ b/bundle/tests/scorecard/kuttl/security-context/01-override.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: security-context-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 securityContext: allowPrivilegeEscalation: true diff --git a/bundle/tests/scorecard/kuttl/security-context/02-privileged-override.yaml b/bundle/tests/scorecard/kuttl/security-context/02-privileged-override.yaml index 42a2b8767..328c67177 100644 --- a/bundle/tests/scorecard/kuttl/security-context/02-privileged-override.yaml +++ b/bundle/tests/scorecard/kuttl/security-context/02-privileged-override.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: security-context-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 securityContext: privileged: true \ No newline at end of file diff --git a/bundle/tests/scorecard/kuttl/security-context/03-capabilities-override.yaml b/bundle/tests/scorecard/kuttl/security-context/03-capabilities-override.yaml index 4540f9a0d..884a0312e 100644 --- a/bundle/tests/scorecard/kuttl/security-context/03-capabilities-override.yaml +++ b/bundle/tests/scorecard/kuttl/security-context/03-capabilities-override.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: security-context-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 securityContext: capabilities: diff --git a/bundle/tests/scorecard/kuttl/security-context/04-restore-default.yaml b/bundle/tests/scorecard/kuttl/security-context/04-restore-default.yaml index 9f2ec1dd4..a76c046f4 100644 --- a/bundle/tests/scorecard/kuttl/security-context/04-restore-default.yaml +++ b/bundle/tests/scorecard/kuttl/security-context/04-restore-default.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: security-context-rc spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 securityContext: allowPrivilegeEscalation: null diff --git a/bundle/tests/scorecard/kuttl/service-account-name/00-default-sa-name.yaml b/bundle/tests/scorecard/kuttl/service-account-name/00-default-sa-name.yaml index e4d965c5e..f0746a44c 100644 --- a/bundle/tests/scorecard/kuttl/service-account-name/00-default-sa-name.yaml +++ b/bundle/tests/scorecard/kuttl/service-account-name/00-default-sa-name.yaml @@ -4,7 +4,7 @@ metadata: name: sa-name-rc # Add fields here spec: - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 service: port: 9080 \ No newline at end of file diff --git a/bundle/tests/scorecard/kuttl/service-binding1/00-service-binding.yaml b/bundle/tests/scorecard/kuttl/service-binding1/00-service-binding.yaml index eb1a11217..741a0c68a 100644 --- a/bundle/tests/scorecard/kuttl/service-binding1/00-service-binding.yaml +++ b/bundle/tests/scorecard/kuttl/service-binding1/00-service-binding.yaml @@ -4,7 +4,7 @@ metadata: name: service-binding-rc spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 service: bindable: true diff --git a/bundle/tests/scorecard/kuttl/service-binding2/00-service-binding.yaml b/bundle/tests/scorecard/kuttl/service-binding2/00-service-binding.yaml index eb1a11217..741a0c68a 100644 --- a/bundle/tests/scorecard/kuttl/service-binding2/00-service-binding.yaml +++ b/bundle/tests/scorecard/kuttl/service-binding2/00-service-binding.yaml @@ -4,7 +4,7 @@ metadata: name: service-binding-rc spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 service: bindable: true diff --git a/bundle/tests/scorecard/kuttl/service-certificate/01-rc-with-cert.yaml b/bundle/tests/scorecard/kuttl/service-certificate/01-rc-with-cert.yaml index a3af1e256..75dba305b 100644 --- a/bundle/tests/scorecard/kuttl/service-certificate/01-rc-with-cert.yaml +++ b/bundle/tests/scorecard/kuttl/service-certificate/01-rc-with-cert.yaml @@ -4,7 +4,7 @@ metadata: name: service-with-cert-rc spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 service: certificateSecretRef: service-tls-secret diff --git a/bundle/tests/scorecard/kuttl/sidecar-deployment/00-runtime-basic.yaml b/bundle/tests/scorecard/kuttl/sidecar-deployment/00-runtime-basic.yaml index 215730ff8..0566b8b6c 100644 --- a/bundle/tests/scorecard/kuttl/sidecar-deployment/00-runtime-basic.yaml +++ b/bundle/tests/scorecard/kuttl/sidecar-deployment/00-runtime-basic.yaml @@ -4,6 +4,6 @@ metadata: name: sidecar-runtime-deployment spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 diff --git a/bundle/tests/scorecard/kuttl/sidecar-deployment/01-add-sidecar.yaml b/bundle/tests/scorecard/kuttl/sidecar-deployment/01-add-sidecar.yaml index 99b4beaaa..737e9f6d8 100644 --- a/bundle/tests/scorecard/kuttl/sidecar-deployment/01-add-sidecar.yaml +++ b/bundle/tests/scorecard/kuttl/sidecar-deployment/01-add-sidecar.yaml @@ -5,6 +5,6 @@ metadata: spec: # Add fields here sidecarContainers: - - image: k8s.gcr.io/pause:3.2 + - image: registry.k8s.io/pause:3.2 name: sidecar-container diff --git a/bundle/tests/scorecard/kuttl/sidecar-stateful/00-runtime-basic.yaml b/bundle/tests/scorecard/kuttl/sidecar-stateful/00-runtime-basic.yaml index 09c2b1af4..c02c03b22 100644 --- a/bundle/tests/scorecard/kuttl/sidecar-stateful/00-runtime-basic.yaml +++ b/bundle/tests/scorecard/kuttl/sidecar-stateful/00-runtime-basic.yaml @@ -4,7 +4,7 @@ metadata: name: sidecar-runtime-component spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 statefulSet: {} diff --git a/bundle/tests/scorecard/kuttl/sidecar-stateful/01-add-sidecar.yaml b/bundle/tests/scorecard/kuttl/sidecar-stateful/01-add-sidecar.yaml index a9059d726..f69ecef39 100644 --- a/bundle/tests/scorecard/kuttl/sidecar-stateful/01-add-sidecar.yaml +++ b/bundle/tests/scorecard/kuttl/sidecar-stateful/01-add-sidecar.yaml @@ -5,6 +5,6 @@ metadata: spec: # Add fields here sidecarContainers: - - image: k8s.gcr.io/pause:3.2 + - image: registry.k8s.io/pause:3.2 name: sidecar-container diff --git a/bundle/tests/scorecard/kuttl/statefulset-strategy/00-runtime-rolling-update.yaml b/bundle/tests/scorecard/kuttl/statefulset-strategy/00-runtime-rolling-update.yaml index 4c7e7db2e..2931363f3 100644 --- a/bundle/tests/scorecard/kuttl/statefulset-strategy/00-runtime-rolling-update.yaml +++ b/bundle/tests/scorecard/kuttl/statefulset-strategy/00-runtime-rolling-update.yaml @@ -4,7 +4,7 @@ metadata: name: statefulset-strategy-rc spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 3 statefulSet: updateStrategy: diff --git a/bundle/tests/scorecard/kuttl/storage/00-runtime-storage.yaml b/bundle/tests/scorecard/kuttl/storage/00-runtime-storage.yaml index 5981bc5d8..93c341001 100644 --- a/bundle/tests/scorecard/kuttl/storage/00-runtime-storage.yaml +++ b/bundle/tests/scorecard/kuttl/storage/00-runtime-storage.yaml @@ -6,7 +6,7 @@ metadata: name: storage-rc spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 statefulSet: storage: diff --git a/bundle/tests/scorecard/kuttl/storage/03-runtime-storage-class-name.yaml b/bundle/tests/scorecard/kuttl/storage/03-runtime-storage-class-name.yaml index 43af1c6aa..7de31e0be 100644 --- a/bundle/tests/scorecard/kuttl/storage/03-runtime-storage-class-name.yaml +++ b/bundle/tests/scorecard/kuttl/storage/03-runtime-storage-class-name.yaml @@ -6,7 +6,7 @@ metadata: name: storage-rc spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 statefulSet: storage: diff --git a/bundle/tests/scorecard/kuttl/storage/05-pvc-overwrite.yaml b/bundle/tests/scorecard/kuttl/storage/05-pvc-overwrite.yaml index c3721791f..100b8f12f 100644 --- a/bundle/tests/scorecard/kuttl/storage/05-pvc-overwrite.yaml +++ b/bundle/tests/scorecard/kuttl/storage/05-pvc-overwrite.yaml @@ -5,7 +5,7 @@ metadata: name: storage-rc spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 volumeMounts: - name: pvc diff --git a/bundle/tests/scorecard/kuttl/volume/01-runtime-deployment-volume.yaml b/bundle/tests/scorecard/kuttl/volume/01-runtime-deployment-volume.yaml index 29b147d0a..a107ae4a2 100644 --- a/bundle/tests/scorecard/kuttl/volume/01-runtime-deployment-volume.yaml +++ b/bundle/tests/scorecard/kuttl/volume/01-runtime-deployment-volume.yaml @@ -5,7 +5,7 @@ metadata: name: volume-rc spec: # Add fields here - applicationImage: k8s.gcr.io/pause:3.2 + applicationImage: registry.k8s.io/pause:3.2 replicas: 1 volumeMounts: - name: test-volume diff --git a/examples/affinity/01-coffeeshop-backend.yaml b/examples/affinity/01-coffeeshop-backend.yaml index acd06950e..0495747d6 100644 --- a/examples/affinity/01-coffeeshop-backend.yaml +++ b/examples/affinity/01-coffeeshop-backend.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: coffeeshop-backend spec: - applicationImage: 'k8s.gcr.io/pause:2.0' + applicationImage: 'registry.k8s.io/pause:3.2' replicas: 2 affinity: nodeAffinityLabels: diff --git a/examples/affinity/02-coffeeshop-ui.yaml b/examples/affinity/02-coffeeshop-ui.yaml index b8e10579f..2a375a74e 100644 --- a/examples/affinity/02-coffeeshop-ui.yaml +++ b/examples/affinity/02-coffeeshop-ui.yaml @@ -3,7 +3,7 @@ kind: RuntimeComponent metadata: name: coffeeshop-frontend spec: - applicationImage: 'k8s.gcr.io/pause:2.0' + applicationImage: 'registry.k8s.io/pause:3.2' replicas: 2 affinity: nodeAffinityLabels: diff --git a/examples/affinity/README.adoc b/examples/affinity/README.adoc index 0ae2d81ee..28f24364e 100644 --- a/examples/affinity/README.adoc +++ b/examples/affinity/README.adoc @@ -51,7 +51,7 @@ kind: RuntimeComponent metadata: name: coffeeshop-backend spec: - applicationImage: 'k8s.gcr.io/pause:2.0' + applicationImage: 'registry.k8s.io/pause:3.2' replicas: 2 affinity: nodeAffinityLabels: @@ -76,7 +76,7 @@ kind: RuntimeComponent metadata: name: coffeeshop-frontend spec: - applicationImage: 'k8s.gcr.io/pause:2.0' + applicationImage: 'registry.k8s.io/pause:3.2' replicas: 2 affinity: nodeAffinityLabels: diff --git a/scripts/e2e-kind.sh b/scripts/e2e-kind.sh index ef4ae0937..da2a91a1d 100755 --- a/scripts/e2e-kind.sh +++ b/scripts/e2e-kind.sh @@ -7,7 +7,7 @@ readonly BUILD_IMAGE="runtime-component-operator:latest" readonly RUNASUSER="\n securityContext:\n runAsUser: 1001" readonly APPIMAGE='applicationImage:\s' -readonly IMAGE='k8s.gcr.io\/pause:3.2' +readonly IMAGE='registry.k8s.io\/pause:3.2' main() { parse_args "$@"