Skip to content

Commit

Permalink
chore: migrate image registry to registry.k8s.io (#1207)
Browse files Browse the repository at this point in the history
Kubernetes has switched to `registry.k8s.io` as their default [image registry](kubernetes/k8s.io#4780).

This PR is updating instances of old registry [k8s.gcr.io](http://k8s.gcr.io/) in our codebase.
  • Loading branch information
vinayak-kukreja authored May 16, 2023
1 parent dfc32ed commit be39113
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions test/__snapshots__/yaml.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/guestbook-all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
spec:
containers:
- name: master
image: k8s.gcr.io/redis:e2e # or just image: redis
image: registry.k8s.io/redis:e2e # or just image: redis
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion test/yaml.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('load', () => {
});

test('from url', () => {
expect(Yaml.load('https://raw.githubusercontent.com/kubernetes/examples/52158f68ddc508eac9f15a9bb7260b838e644c9f/guestbook/all-in-one/guestbook-all-in-one.yaml')).toMatchSnapshot();
expect(Yaml.load('https://raw.githubusercontent.com/kubernetes/examples/33dfad21f4f4364c9eb7d48741b954915552ca0a/guestbook/all-in-one/guestbook-all-in-one.yaml')).toMatchSnapshot();
});

test('empty documents are filtered out', () => {
Expand Down

0 comments on commit be39113

Please sign in to comment.