Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update k8s.gcr.io to registry.k8s.io #503

Merged
merged 1 commit into from
Feb 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions best-practices/require_probes/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
containers:
- name: goproxy
image: k8s.gcr.io/goproxy:0.1
image: registry.k8s.io/goproxy:0.1
readinessProbe:
tcpSocket:
port: 8080
Expand All @@ -26,7 +26,7 @@ metadata:
spec:
containers:
- name: goproxy
image: k8s.gcr.io/goproxy:0.1
image: registry.k8s.io/goproxy:0.1
readinessProbe:
tcpSocket:
port: 8080
Expand Down Expand Up @@ -55,7 +55,7 @@ metadata:
spec:
containers:
- name: goproxy
image: k8s.gcr.io/goproxy:0.1
image: registry.k8s.io/goproxy:0.1
ports:
- containerPort: 8080
readinessProbe:
Expand Down Expand Up @@ -86,7 +86,7 @@ metadata:
spec:
containers:
- name: goproxy
image: k8s.gcr.io/goproxy:0.1
image: registry.k8s.io/goproxy:0.1
ports:
- containerPort: 8080
---
Expand All @@ -99,7 +99,7 @@ metadata:
spec:
containers:
- name: goproxy
image: k8s.gcr.io/goproxy:0.1
image: registry.k8s.io/goproxy:0.1
ports:
- containerPort: 8080
readinessProbe:
Expand Down
6 changes: 3 additions & 3 deletions best-practices/restrict_image_registries/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
containers:
- name: k8s-nginx
image: k8s.gcr.io/nginx:1.7.9
image: registry.k8s.io/nginx:1.7.9
---
apiVersion: v1
kind: Pod
Expand All @@ -14,7 +14,7 @@ metadata:
spec:
containers:
- name: k8s-nginx
image: k8s.gcr.io/nginx:1.7.9
image: registry.k8s.io/nginx:1.7.9
- name: busybox
image: bar.io/busybox
---
Expand All @@ -25,7 +25,7 @@ metadata:
spec:
containers:
- name: k8s-nginx
image: k8s.gcr.io/nginx:1.7.9
image: registry.k8s.io/nginx:1.7.9
- name: busybox
image: eu.foo.io/busybox
---
Expand Down
4 changes: 2 additions & 2 deletions other/disallow_all_secrets/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ metadata:
spec:
containers:
- name: test-container
image: k8s.gcr.io/busybox
image: registry.k8s.io/busybox
command: [ "/bin/sh", "-c", "env" ]
envFrom:
- secretRef:
Expand All @@ -45,7 +45,7 @@ spec:
secretName: mysecret
containers:
- name: test-container
image: k8s.gcr.io/busybox
image: registry.k8s.io/busybox
volumeMounts:
- name: secret-volume
readOnly: true
Expand Down
2 changes: 1 addition & 1 deletion other/disallow_secrets_from_env_vars/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ metadata:
spec:
containers:
- name: test-container
image: k8s.gcr.io/busybox
image: registry.k8s.io/busybox
command: [ "/bin/sh", "-c", "env" ]
envFrom:
- secretRef:
Expand Down
4 changes: 2 additions & 2 deletions other/ensure_probes_different/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: goproxy
image: k8s.gcr.io/goproxy:0.1
image: registry.k8s.io/goproxy:0.1
ports:
- containerPort: 8080
readinessProbe:
Expand Down Expand Up @@ -51,7 +51,7 @@ spec:
spec:
containers:
- name: goproxy
image: k8s.gcr.io/goproxy:0.1
image: registry.k8s.io/goproxy:0.1
ports:
- containerPort: 8080
readinessProbe:
Expand Down
4 changes: 2 additions & 2 deletions other/require_pod_priorityclassname/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
priorityClassName: foo
containers:
- name: goproxy
image: k8s.gcr.io/goproxy:0.1
image: registry.k8s.io/goproxy:0.1
---
apiVersion: v1
kind: Pod
Expand All @@ -19,4 +19,4 @@ metadata:
spec:
containers:
- name: goproxy
image: k8s.gcr.io/goproxy:0.1
image: registry.k8s.io/goproxy:0.1
4 changes: 2 additions & 2 deletions other/restrict_secrets_by_label/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ metadata:
spec:
containers:
- name: test-container
image: k8s.gcr.io/busybox
image: registry.k8s.io/busybox
command: [ "/bin/sh", "-c", "env" ]
envFrom:
- secretRef:
Expand All @@ -46,7 +46,7 @@ spec:
secretName: mysecret
containers:
- name: test-container
image: k8s.gcr.io/busybox
image: registry.k8s.io/busybox
volumeMounts:
- name: secret-volume
readOnly: true
Expand Down