Skip to content

Commit

Permalink
Update guestbook frontend image
Browse files Browse the repository at this point in the history
The `gcr.io/google-samples/gb-frontend:v4` image was deleted from the
container registry. The new image was obtained from the
GoogleCloudPlatform repository:
https://github.com/GoogleCloudPlatform/kubernetes-engine-samples.

Ref: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook
  • Loading branch information
rquitales committed Dec 5, 2023
1 parent c0f5a91 commit ba8fac3
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions provider/pkg/await/deployment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2136,7 +2136,7 @@ func regressionDeploymentScaled3Input() *unstructured.Unstructured {
"metadata": { "labels": { "app": "frontend" } },
"spec": { "containers": [{
"name": "php-redis",
"image": "gcr.io/google-samples/gb-frontend:v4",
"image": "us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5",
"resources": { "requests": { "cpu": "100m", "memory": "100Mi" } },
"env": [{ "name": "GET_HOSTS_FROM", "value": "dns" }],
"ports": [{ "containerPort": 80 }]
Expand Down Expand Up @@ -2202,7 +2202,7 @@ func regressionDeploymentScaled3() *unstructured.Unstructured {
"value": "dns"
}
],
"image": "gcr.io/google-samples/gb-frontend:v4",
"image": "us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5",
"imagePullPolicy": "IfNotPresent",
"name": "php-redis",
"ports": [
Expand Down Expand Up @@ -2314,7 +2314,7 @@ func regressionDeploymentScaled5() *unstructured.Unstructured {
"value": "dns"
}
],
"image": "gcr.io/google-samples/gb-frontend:v4",
"image": "us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5",
"imagePullPolicy": "IfNotPresent",
"name": "php-redis",
"ports": [
Expand Down Expand Up @@ -2432,7 +2432,7 @@ func regressionReplicaSetScaled3() *unstructured.Unstructured {
"value": "dns"
}
],
"image": "gcr.io/google-samples/gb-frontend:v4",
"image": "us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5",
"imagePullPolicy": "IfNotPresent",
"name": "php-redis",
"ports": [
Expand Down Expand Up @@ -2531,7 +2531,7 @@ func regressionReplicaSetScaled5() *unstructured.Unstructured {
"value": "dns"
}
],
"image": "gcr.io/google-samples/gb-frontend:v4",
"image": "us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5",
"imagePullPolicy": "IfNotPresent",
"name": "php-redis",
"ports": [
Expand Down
2 changes: 1 addition & 1 deletion tests/sdk/dotnet/guestbook/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ static Task<int> Main(string[] args)
new ContainerArgs
{
Name = "php-redis",
Image = "gcr.io/google-samples/gb-frontend:v4",
Image = "us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5",
Resources = new ResourceRequirementsArgs
{
Requests = {
Expand Down
2 changes: 1 addition & 1 deletion tests/sdk/go/yaml/guestbook-all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ spec:
spec:
containers:
- name: php-redis
image: gcr.io/google-samples/gb-frontend:v4
image: us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion tests/sdk/nodejs/examples/guestbook/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ let frontendDeployment = new k8s.apps.v1.Deployment("frontend", {
spec: {
containers: [{
name: "php-redis",
image: "gcr.io/google-samples/gb-frontend:v4",
image: "us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5",
resources: {
requests: {
cpu: "100m",
Expand Down
2 changes: 1 addition & 1 deletion tests/sdk/nodejs/examples/ingress/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ let frontendDeployment = new k8s.apps.v1.Deployment("frontend", {
spec: {
containers: [{
name: "php-redis",
image: "gcr.io/google-samples/gb-frontend:v4",
image: "us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5",
resources: {
requests: {
cpu: "100m",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ spec:
spec:
containers:
- name: php-redis
image: gcr.io/google-samples/gb-frontend:v4
image: us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion tests/sdk/python/guestbook-old/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
"spec": {
"containers": [{
"name": "php-redis",
"image": "gcr.io/google-samples/gb-frontend:v4",
"image": "us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5",
"resources": {
"requests": {
"cpu": "100m",
Expand Down
2 changes: 1 addition & 1 deletion tests/sdk/python/guestbook/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
spec=PodSpecArgs(
containers=[ContainerArgs(
name="php-redis",
image="gcr.io/google-samples/gb-frontend:v4",
image="us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5",
resources=ResourceRequirementsArgs(
requests={
"cpu": "100m",
Expand Down

0 comments on commit ba8fac3

Please sign in to comment.