Fix the mismatch process for creating ksvc based on hello-go (#2664)

This commit is contained in:
Peng Li 2020-09-10 18:23:51 +08:00 committed by GitHub
parent 13259eb376
commit 35eb9e28d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ This YAML file specifies metadata about the application, points to the hosted im
This guide uses the [Hello World sample app in Go](https://knative.dev/docs/serving/samples/hello-world/helloworld-go) to demonstrate the structure of a Service YAML file and the basic workflow for deploying an app. These steps can be adapted for your own application if you have an image of it available on Docker Hub, Google Container Registry, or another container image registry.
The Hello World sample app does the following:
1. Reads an environment variable, `TARGET`, from the configuration .yaml file
1. Prints `Hello World: \${TARGET}!`. If `TARGET` is not defined, it will print `NOT SPECIFIED`.
1. Reads an environment variable `TARGET`.
2. Prints `Hello ${TARGET}!`. If `TARGET` is not defined, it will use `World` as the `TARGET`.
### Procedure