From db6470584b80e7ae8ba8ed8315967379122578a5 Mon Sep 17 00:00:00 2001 From: Mengqi Yu Date: Wed, 28 Apr 2021 11:58:01 -0700 Subject: [PATCH] update for branch ensure-name-substring/v0.1 (#255) --- examples/ensure-name-substring/advanced/README.md | 2 +- examples/ensure-name-substring/prefix/README.md | 2 +- examples/ensure-name-substring/suffix/README.md | 2 +- functions/go/ensure-name-substring/README.md | 2 +- functions/go/ensure-name-substring/metadata.yaml | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/ensure-name-substring/advanced/README.md b/examples/ensure-name-substring/advanced/README.md index 108782a24..79a9c82e9 100644 --- a/examples/ensure-name-substring/advanced/README.md +++ b/examples/ensure-name-substring/advanced/README.md @@ -33,7 +33,7 @@ Get the config example and try it out by running the following commands: ```sh -kpt pkg get https://github.com/GoogleContainerTools/kpt-functions-catalog.git/examples/ensure-name-substring/advanced . +kpt pkg get https://github.com/GoogleContainerTools/kpt-functions-catalog.git/examples/ensure-name-substring/advanced@ensure-name-substring/v0.1 . kpt fn run advanced ``` diff --git a/examples/ensure-name-substring/prefix/README.md b/examples/ensure-name-substring/prefix/README.md index e1ff71132..d09738b3e 100644 --- a/examples/ensure-name-substring/prefix/README.md +++ b/examples/ensure-name-substring/prefix/README.md @@ -25,7 +25,7 @@ Get the config example and try it out by running the following commands: ```sh -kpt pkg get https://github.com/GoogleContainerTools/kpt-functions-catalog.git/examples/ensure-name-substring/prefix . +kpt pkg get https://github.com/GoogleContainerTools/kpt-functions-catalog.git/examples/ensure-name-substring/prefix@ensure-name-substring/v0.1 . kpt fn run prefix ``` diff --git a/examples/ensure-name-substring/suffix/README.md b/examples/ensure-name-substring/suffix/README.md index 1208c6f6b..0c86a0498 100644 --- a/examples/ensure-name-substring/suffix/README.md +++ b/examples/ensure-name-substring/suffix/README.md @@ -25,7 +25,7 @@ Get the config example and try it out by running the following commands: ```sh -kpt pkg get https://github.com/GoogleContainerTools/kpt-functions-catalog.git/examples/ensure-name-substring/suffix . +kpt pkg get https://github.com/GoogleContainerTools/kpt-functions-catalog.git/examples/ensure-name-substring/suffix@ensure-name-substring/v0.1 . kpt fn run suffix ``` diff --git a/functions/go/ensure-name-substring/README.md b/functions/go/ensure-name-substring/README.md index 8de58f72a..75678e165 100644 --- a/functions/go/ensure-name-substring/README.md +++ b/functions/go/ensure-name-substring/README.md @@ -95,6 +95,6 @@ fieldSpecs: -https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/master/examples/ensure-name-substring/ +https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/ensure-name-substring/v0.1/examples/ensure-name-substring/ diff --git a/functions/go/ensure-name-substring/metadata.yaml b/functions/go/ensure-name-substring/metadata.yaml index 6081bfb5b..a5841cb6f 100644 --- a/functions/go/ensure-name-substring/metadata.yaml +++ b/functions/go/ensure-name-substring/metadata.yaml @@ -2,11 +2,11 @@ image: gcr.io/kpt-fn/ensure-name-substring description: Ensure a name substring is part of the name. tags: - mutator -sourceURL: https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/master/functions/go/ensure-name-substring +sourceURL: https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/ensure-name-substring/v0.1/functions/go/ensure-name-substring examplePackageURLs: - - https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/master/examples/ensure-name-substring/prefix - - https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/master/examples/ensure-name-substring/suffix - - https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/master/examples/ensure-name-substring/advanced + - https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/ensure-name-substring/v0.1/examples/ensure-name-substring/prefix + - https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/ensure-name-substring/v0.1/examples/ensure-name-substring/suffix + - https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/ensure-name-substring/v0.1/examples/ensure-name-substring/advanced emails: - kpt-team@google.com license: Apache-2.0