Fix indentation (#4906)

* Fix indentation

* Fix more indentation
This commit is contained in:
Samia Nneji 2022-04-05 20:40:43 +01:00 committed by GitHub
parent bbd1503e97
commit 323b51c8be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 15 deletions

View File

@ -119,11 +119,11 @@ recreate the source files from this folder.
spec: spec:
template: template:
spec: spec:
containers: containers:
- image: docker.io/{username}/helloworld-rust - image: docker.io/{username}/helloworld-rust
env: env:
- name: TARGET - name: TARGET
value: "Rust Sample v1" value: "Rust Sample v1"
``` ```
## Build and deploy this sample ## Build and deploy this sample

View File

@ -25,16 +25,16 @@ Create a sample service:
apiVersion: serving.knative.dev/v1 apiVersion: serving.knative.dev/v1
kind: Service kind: Service
metadata: metadata:
name: helloworld-go name: helloworld-go
namespace: default namespace: default
spec: spec:
template: template:
spec: spec:
containers: containers:
- image: gcr.io/knative-samples/helloworld-go - image: gcr.io/knative-samples/helloworld-go
env: env:
- name: TARGET - name: TARGET
value: "Go Sample v1" value: "Go Sample v1"
``` ```
1. Apply the YAML file by running the command: 1. Apply the YAML file by running the command: