Skip to content

Commit

Permalink
chore: migrate image registry to registry.k8s.io (#1207) (#1210)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `2.x` to `1.x`:
 - [chore: migrate image registry to registry.k8s.io (#1207)](#1207)



### Questions ?
Please refer to the [Backport tool documentation](https://github.com/sqren/backport)
  • Loading branch information
cdk8s-automation authored May 16, 2023
1 parent b8cd24b commit 3be7148
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 3be7148

Please sign in to comment.