diff --git a/serving/samples/autoscale-go/README.md b/serving/samples/autoscale-go/README.md index 5ff405bb5..e26c05d29 100644 --- a/serving/samples/autoscale-go/README.md +++ b/serving/samples/autoscale-go/README.md @@ -22,7 +22,7 @@ docker build \ docker push "${REPO}/sample/autoscale" # Replace the image reference with our published image. -perl -pi -e "s@github.com/knative/serving/sample/autoscale@${REPO}/sample/autoscale@g" sample/autoscale/sample.yaml +perl -pi -e "s@github.com/knative/docs/serving/samples/autoscale-go@${REPO}/sample/autoscale@g" sample/autoscale/sample.yaml # Deploy the Knative Serving sample kubectl apply -f sample/autoscale/sample.yaml diff --git a/serving/samples/autoscale-go/sample.yaml b/serving/samples/autoscale-go/sample.yaml index 3877bec43..1a58e8e05 100644 --- a/serving/samples/autoscale-go/sample.yaml +++ b/serving/samples/autoscale-go/sample.yaml @@ -35,7 +35,7 @@ spec: container: # This is the Go import path for the binary to containerize # and substitute here. - image: github.com/knative/serving/sample/autoscale + image: github.com/knative/docs/serving/samples/autoscale-go # When scaling up Knative controller doesn't have a way to # know if the user container is good for serving. Having a # readiness probe prevents traffic to be routed to a pod diff --git a/serving/samples/gitwebhook-go/README.md b/serving/samples/gitwebhook-go/README.md index 295ce935f..c6e6dd580 100644 --- a/serving/samples/gitwebhook-go/README.md +++ b/serving/samples/gitwebhook-go/README.md @@ -24,7 +24,7 @@ docker build \ docker push "${REPO}/sample/gitwebhook" # Replace the image reference with our published image. -perl -pi -e "s@github.com/knative/serving/sample/gitwebhook@${REPO}/sample/gitwebhook@g" sample/gitwebhook/*.yaml +perl -pi -e "s@github.com/knative/docs/serving/samples/gitwebhook-go@${REPO}/sample/gitwebhook@g" sample/gitwebhook/*.yaml # Deploy the Knative Serving sample kubectl apply -f sample/gitwebhook/sample.yaml diff --git a/serving/samples/gitwebhook-go/sample.yaml b/serving/samples/gitwebhook-go/sample.yaml index bf5787e7a..0efaab6be 100644 --- a/serving/samples/gitwebhook-go/sample.yaml +++ b/serving/samples/gitwebhook-go/sample.yaml @@ -36,7 +36,7 @@ spec: container: # This is the Go import path for the binary to containerize # and substitute here. - image: github.com/knative/serving/sample/gitwebhook + image: github.com/knative/docs/serving/samples/gitwebhook-go env: - name: SECRET_TOKEN valueFrom: diff --git a/serving/samples/grpc-ping-go/README.md b/serving/samples/grpc-ping-go/README.md index cfe0f043e..78cbbd29c 100644 --- a/serving/samples/grpc-ping-go/README.md +++ b/serving/samples/grpc-ping-go/README.md @@ -25,7 +25,7 @@ docker build \ docker push "${REPO}/sample/grpc-ping" # Replace the image reference with our published image. -perl -pi -e "s@github.com/knative/serving/sample/grpc-ping@${REPO}/sample/grpc-ping@g" sample/grpc-ping/*.yaml +perl -pi -e "s@github.com/knative/docs/serving/samples/grpc-ping-go@${REPO}/sample/grpc-ping@g" sample/grpc-ping/*.yaml # Deploy the Knative sample kubectl apply -f sample/grpc-ping/sample.yaml diff --git a/serving/samples/grpc-ping-go/sample.yaml b/serving/samples/grpc-ping-go/sample.yaml index 2a4897d06..2566c0af7 100644 --- a/serving/samples/grpc-ping-go/sample.yaml +++ b/serving/samples/grpc-ping-go/sample.yaml @@ -21,4 +21,4 @@ spec: knative.dev/type: app spec: container: - image: github.com/knative/serving/sample/grpc-ping + image: github.com/knative/docs/serving/samples/grpc-ping-go diff --git a/serving/samples/knative-routing-go/README.md b/serving/samples/knative-routing-go/README.md index e948028f2..13ca244d6 100644 --- a/serving/samples/knative-routing-go/README.md +++ b/serving/samples/knative-routing-go/README.md @@ -37,7 +37,7 @@ docker build \ docker push "${REPO}/sample/knative-routing" # Replace the image reference with our published image. -perl -pi -e "s@github.com/knative/serving/sample/knative-routing@${REPO}/sample/knative-routing@g" sample/knative-routing/*.yaml +perl -pi -e "s@github.com/knative/docs/serving/samples/knative-routing-go@${REPO}/sample/knative-routing@g" sample/knative-routing/*.yaml # Deploy the "Search" and "Login" services. kubectl apply -f sample/knative-routing/sample.yaml diff --git a/serving/samples/knative-routing-go/sample.yaml b/serving/samples/knative-routing-go/sample.yaml index 49a0913bf..c575fb559 100644 --- a/serving/samples/knative-routing-go/sample.yaml +++ b/serving/samples/knative-routing-go/sample.yaml @@ -25,7 +25,7 @@ spec: container: # This is the Go import path for the binary to containerize # and substitute here. - image: github.com/knative/serving/sample/knative-routing + image: github.com/knative/docs/serving/samples/knative-routing-go env: - name: SERVICE_NAME value: Search Service @@ -48,7 +48,7 @@ spec: container: # This is the Go import path for the binary to containerize # and substitute here. - image: github.com/knative/serving/sample/knative-routing + image: github.com/knative/docs/serving/samples/knative-routing-go env: - name: SERVICE_NAME value: Login Service diff --git a/serving/samples/rest-api-go/README.md b/serving/samples/rest-api-go/README.md index 5757391e6..d2ef34efb 100644 --- a/serving/samples/rest-api-go/README.md +++ b/serving/samples/rest-api-go/README.md @@ -24,7 +24,7 @@ docker build \ docker push "${REPO}/sample/stock-rest-app" # Replace the image reference with our published image. -perl -pi -e "s@github.com/knative/serving/sample/stock-rest-app@${REPO}/sample/stock-rest-app@g" sample/stock-rest-app/*.yaml +perl -pi -e "s@github.com/knative/docs/serving/samples/rest-api-go@${REPO}/sample/stock-rest-app@g" sample/stock-rest-app/*.yaml # Deploy the Knative Serving sample kubectl apply -f sample/stock-rest-app/sample.yaml diff --git a/serving/samples/rest-api-go/sample.yaml b/serving/samples/rest-api-go/sample.yaml index 9e1d51115..c836f242f 100644 --- a/serving/samples/rest-api-go/sample.yaml +++ b/serving/samples/rest-api-go/sample.yaml @@ -36,7 +36,7 @@ spec: container: # This is the Go import path for the binary to containerize # and substitute here. - image: github.com/knative/serving/sample/stock-rest-app + image: github.com/knative/docs/serving/samples/rest-api-go env: - name: RESOURCE value: stock diff --git a/serving/samples/rest-api-go/updated_configuration.yaml b/serving/samples/rest-api-go/updated_configuration.yaml index a58398ae1..a57bf5b1c 100644 --- a/serving/samples/rest-api-go/updated_configuration.yaml +++ b/serving/samples/rest-api-go/updated_configuration.yaml @@ -26,7 +26,7 @@ spec: container: # This is the Go import path for the binary to containerize # and substitute here. - image: github.com/knative/serving/sample/stock-rest-app + image: github.com/knative/docs/serving/samples/rest-api-go env: - name: RESOURCE value: share diff --git a/serving/samples/telemetry-go/README.md b/serving/samples/telemetry-go/README.md index b7133464e..1422face9 100644 --- a/serving/samples/telemetry-go/README.md +++ b/serving/samples/telemetry-go/README.md @@ -29,7 +29,7 @@ docker build \ docker push "${REPO}/sample/telemetrysample" # Replace the image reference with our published image. -perl -pi -e "s@github.com/knative/serving/sample/telemetrysample@${REPO}/sample/telemetrysample@g" sample/telemetrysample/*.yaml +perl -pi -e "s@github.com/knative/docs/serving/samples/telemetry-go@${REPO}/sample/telemetrysample@g" sample/telemetrysample/*.yaml # Deploy the Knative Serving sample kubectl apply -f sample/telemetrysample/ diff --git a/serving/samples/telemetry-go/configuration.yaml b/serving/samples/telemetry-go/configuration.yaml index 03cbff0c5..6e5ab149f 100644 --- a/serving/samples/telemetry-go/configuration.yaml +++ b/serving/samples/telemetry-go/configuration.yaml @@ -28,4 +28,4 @@ spec: container: # This is the Go import path for the binary to containerize # and substitute here. - image: github.com/knative/serving/sample/telemetrysample + image: github.com/knative/docs/serving/samples/telemetry-go