Skip to content

Commit

Permalink
update URL since 1/3 GoogleContainerTools#5023 is merged
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwenma committed Nov 16, 2020
1 parent d7688f7 commit 4a70e49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions codelab/01_kpt-validate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ Kpt is [an OSS tool](https://github.com/GoogleContainerTools/kpt) for Kubernetes
- How to reconcile your configuration changes with the live state


TODO(yuwenma): Update the link after the first tutorial.md is merged.

You can try out this interactive codelab using [Cloud Shell](https://cloud.google.com/shell).
[![Open in Cloud Shell](https://gstatic.com/cloudssh/images/open-btn.png)](https://ssh.cloud.google.com/cloudshell/open?cloudshell_git_repo=https://github.com/yuwenma/skaffold&cloudshell_working_dir=codelab/kpt-101&cloudshell_workspace=codelab/kpt-101&cloudshell_tutorial=tutorial.md)
[![Open in Cloud Shell](https://gstatic.com/cloudssh/images/open-btn.png)](https://ssh.cloud.google.com/cloudshell/open?cloudshell_git_repo=https://github.com/GoogleContainerTools/skaffold&cloudshell_working_dir=codelab/01_kpt-validate&cloudshell_workspace=codelab/01_kpt-validate&cloudshell_tutorial=tutorial.md)

## What's next?

Expand Down
6 changes: 3 additions & 3 deletions codelab/01_kpt-validate/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Time to complete: **About 3 minutes**
* Now let's use `kpt pkg` to download the application example.

```bash
kpt pkg get https://github.com/GoogleContainerTools/skaffold.git/codelab/kpt-101/resources/sample-app guestbook-cl && cd guestbook-cl
kpt pkg get https://github.com/GoogleContainerTools/skaffold.git/codelab/01_kpt-validate/resources/sample-app guestbook-cl && cd guestbook-cl
```

<walkthrough-pin-section-icon></walkthrough-pin-section-icon>
Expand Down Expand Up @@ -171,7 +171,7 @@ can validate the app configuration and makes the validation itself **as a declar
* Download the kpt function resource

```bash
kpt pkg get https://github.com/GoogleContainerTools/skaffold.git/codelab/kpt-101/resources/validation-kubeval validation-kubeval
kpt pkg get https://github.com/GoogleContainerTools/skaffold.git/codelab/01_kpt-validate/resources/validation-kubeval validation-kubeval
```

* Now let's update the skaffold.yaml to use the new validator. Replace the following code with the
Expand Down Expand Up @@ -263,7 +263,7 @@ Like the graph shows.

* Run `kpt pkg` to download the validation pipeline.
```bash
kpt pkg get https://github.com/GoogleContainerTools/skaffold.git/codelab/kpt-101/resources/validation-pipeline/ validations
kpt pkg get https://github.com/GoogleContainerTools/skaffold.git/codelab/01_kpt-validate/resources/validation-pipeline/ validations
```
This pipeline contains two functions.
* A <walkthrough-editor-select-line filePath="guestbook-cl/validations/fn-pipeline.yaml" startLine="4" endLine="4" startCharacterOffset="8" endCharacterOffset="14">Kubeval</walkthrough-editor-select-line> validator to check the yaml schema
Expand Down

0 comments on commit 4a70e49

Please sign in to comment.