Skip to content

Commit

Permalink
Update some images in examples and tests
Browse files Browse the repository at this point in the history
Use artifact registry url for gb-frontend instead of gcr as images in gcr are not tagged anymore
Use registry.k8s.io instead of k8s.gcr.io
Use ghcr instead of dockerhub to pull busybox

Signed-off-by: Praveen Rewar <[email protected]>
  • Loading branch information
praveenrewar committed Dec 18, 2023
1 parent 75e9565 commit 146a5b7
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions examples/gitops/guestbook/all-in-one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
spec:
containers:
- name: primary
image: k8s.gcr.io/redis:e2e #! or just image: redis
image: registry.k8s.io/redis:e2e #! or just image: redis
resources:
requests:
cpu: 120m
Expand Down Expand Up @@ -140,7 +140,7 @@ spec:
spec:
containers:
- name: php-redis
image: gcr.io/google-samples/gb-frontend:v4
image: us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion examples/gitops/redis-with-configmap/redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ metadata:
spec:
containers:
- name: redis
image: k8s.gcr.io/redis:e2e
image: registry.k8s.io/redis:e2e
ports:
- containerPort: 6379
resources:
Expand Down
2 changes: 1 addition & 1 deletion examples/sts-alternative/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ metadata:
spec:
containers:
- name: redis
image: k8s.gcr.io/redis:e2e
image: registry.k8s.io/redis:e2e
ports:
- containerPort: 6379
resources:
Expand Down
8 changes: 4 additions & 4 deletions test/e2e/apply_wait_error_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
restartPolicy: Never
containers:
- name: my-job-fail
image: busybox
image: ghcr.io/chainguard-images/busybox
command: [ "sh", "-c", "exit 1" ]
backoffLimit: 0
---
Expand All @@ -51,7 +51,7 @@ spec:
restartPolicy: Never
containers:
- name: my-job-fail-2
image: busybox
image: ghcr.io/chainguard-images/busybox
command: [ "sh", "-c", "exit 1" ]
backoffLimit: 0
---
Expand All @@ -70,7 +70,7 @@ spec:
restartPolicy: Never
containers:
- name: my-job-succeed
image: busybox
image: ghcr.io/chainguard-images/busybox
command: [ "sh", "-c", "exit 0" ]
backoffLimit: 0
---
Expand Down Expand Up @@ -181,7 +181,7 @@ spec:
restartPolicy: Never
containers:
- name: my-job-succeed
image: busybox
image: ghcr.io/chainguard-images/busybox
command: [ "sh", "-c", "exit 0" ]
backoffLimit: 0
---
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/create_fallback_on_update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
spec:
containers:
- name: successful-job
image: busybox
image: ghcr.io/chainguard-images/busybox
command: ["/bin/sh", "-c", "sleep 10"]
restartPolicy: Never
---
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/formatted_error_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
spec:
containers:
- name: successful-job
image: busybox
image: ghcr.io/chainguard-images/busybox
command: ["/bin/sh", "-c", "sleep 11"]
restartPolicy: Never
`
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/wait_timeout_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestWaitTimeout(t *testing.T) {
spec:
containers:
- name: successful-job
image: busybox
image: ghcr.io/chainguard-images/busybox
command: ["/bin/sh", "-c", "sleep 10"]
restartPolicy: Never
`
Expand Down

0 comments on commit 146a5b7

Please sign in to comment.