Skip to content

Commit

Permalink
Merge pull request #503 from rayandas/rayandas-registry.k8s.io
Browse files Browse the repository at this point in the history
Update k8s.gcr.io to registry.k8s.io
  • Loading branch information
chipzoller authored Feb 17, 2023
2 parents 3a398f4 + aa3cea3 commit a21a88d
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
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

0 comments on commit a21a88d

Please sign in to comment.