Skip to content

Commit

Permalink
Remove reference to yqArg in pipeline tutorial
Browse files Browse the repository at this point in the history
In the source yaml https://github.com/GoogleContainerTools/skaffold/blob/master/examples/microservices/leeroy-web/kubernetes/deployment.yaml the yaml file changed and removed the first yaml doc for service. 
this change makes the tutorial fail. removing reference to yqArg since deployment.yaml has only one document now.
  • Loading branch information
moficodes authored and tekton-robot committed Aug 19, 2019
1 parent 2814850 commit 29e7262
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,6 @@ spec:
params:
- name: path
value: /workspace/source/examples/microservices/leeroy-web/kubernetes/deployment.yaml #configure: may change according to your source
- name: yqArg
value: "-d1"
- name: yamlPathToImage
value: "spec.template.spec.containers[0].image"
```
Expand All @@ -395,11 +393,6 @@ spec:
- name: path
type: string
description: Path to the manifest to apply
- name: yqArg
type: string
description:
Okay this is a hack, but I didn't feel right hard-coding `-d1` down
below
- name: yamlPathToImage
type: string
description:
Expand All @@ -411,7 +404,6 @@ spec:
args:
- "w"
- "-i"
- "$(inputs.params.yqArg)"
- "$(inputs.params.path)"
- "$(inputs.params.yamlPathToImage)"
- "$(inputs.resources.image.url)"
Expand Down

0 comments on commit 29e7262

Please sign in to comment.