Skip to content

Commit 967bd47

Browse files
authored
Update a redis image (#3917)
This is currently pointing at a v1 Docker manifest that's no longer supported on our GKS cluster: > Failed to pull image "k8s.gcr.io/redis:e2e": Docker Image Format v1 > and Docker Image manifest version 2, schema 1 support has been removed. > Suggest the author of k8s.gcr.io/redis:e2e to upgrade the image to the > OCI Format or Docker Image manifest v2, schema 2. More information at > https://docs.docker.com/go/deprecated-image-specs/ This updates the image to one which is valid, and it fixes our failing Dotnet test to no longer point at the contents of master. Fixes #3904.
1 parent f52a5b2 commit 967bd47

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/sdk/dotnet/dotnet_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func TestDotnet_YamlUrl(t *testing.T) {
8989
t *testing.T, stackInfo integration.RuntimeValidationStackInfo,
9090
) {
9191
assert.NotNil(t, stackInfo.Deployment)
92-
assert.Equal(t, 18, len(stackInfo.Deployment.Resources))
92+
assert.Equal(t, 8, len(stackInfo.Deployment.Resources))
9393
},
9494
})
9595
integration.ProgramTest(t, &test)

tests/sdk/dotnet/yaml-url/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ private ConfigFile MakeConfigFile(string name, string namespaceName, Provider pr
3636
{
3737
return new ConfigFile(name, new ConfigFileArgs
3838
{
39-
File = "https://raw.githubusercontent.com/pulumi/pulumi-kubernetes/master/tests/sdk/nodejs/examples/yaml-guestbook/yaml/guestbook.yaml",
39+
File = "https://raw.githubusercontent.com/kubernetes/website/a7c0537de79165b4c33eebe2af8f263426e8408e/content/en/examples/application/guestbook/redis-leader-deployment.yaml",
4040
ResourcePrefix = resourcePrefix,
4141
Transformations =
4242
{

tests/sdk/nodejs/examples/yaml-guestbook/yaml/guestbook.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
spec:
3636
containers:
3737
- name: master
38-
image: k8s.gcr.io/redis:e2e # or just image: redis
38+
image: docker.io/redis:6.0.5
3939
resources:
4040
requests:
4141
cpu: 100m

0 commit comments

Comments
 (0)