From f386e6c552e83c3a9445fe34442aaed8dd381ab3 Mon Sep 17 00:00:00 2001 From: ericzzzzzzz <102683393+ericzzzzzzz@users.noreply.github.com> Date: Tue, 14 May 2024 10:10:12 -0400 Subject: [PATCH] release: v2.12.0 (#9418) --- CHANGELOG.md | 63 +++++++++++++++++++ .../version-mappings/v4beta11-version.json | 1 + examples/bazel/skaffold.yaml | 2 +- examples/buildpacks-java/skaffold.yaml | 2 +- examples/buildpacks-node/skaffold.yaml | 2 +- examples/buildpacks-python/skaffold.yaml | 2 +- examples/buildpacks/skaffold.yaml | 2 +- examples/cross-platform-builds/skaffold.yaml | 2 +- examples/custom-buildx/skaffold.yaml | 2 +- examples/custom-tests/skaffold.yaml | 2 +- examples/custom/skaffold.yaml | 2 +- examples/dev-journey-buildpacks/skaffold.yaml | 2 +- examples/docker-deploy/skaffold.yaml | 2 +- examples/gcb-kaniko/skaffold.yaml | 2 +- examples/generate-pipeline/skaffold.yaml | 2 +- .../getting-started-kustomize/skaffold.yaml | 2 +- examples/getting-started/skaffold.yaml | 2 +- .../go-integration-coverage/skaffold.yaml | 2 +- examples/google-cloud-build/skaffold.yaml | 2 +- examples/grpc-e2e-tests/skaffold.yaml | 2 +- .../skaffold.yaml | 2 +- examples/helm-deployment/skaffold.yaml | 2 +- examples/helm-remote-repo/skaffold.yaml | 2 +- examples/helm-render/skaffold.yaml | 2 +- examples/hot-reload/skaffold.yaml | 2 +- examples/jib-gradle/skaffold.yaml | 2 +- examples/jib-multimodule/skaffold.yaml | 2 +- examples/jib-sync/skaffold-gradle.yaml | 2 +- examples/jib-sync/skaffold-maven.yaml | 2 +- examples/jib/skaffold.yaml | 2 +- examples/kaniko/skaffold.yaml | 2 +- examples/ko-sync-infer/skaffold.yaml | 2 +- examples/ko/skaffold.yaml | 2 +- .../kustomize/skaffold-kustomize-args.yaml | 2 +- examples/kustomize/skaffold.yaml | 2 +- examples/lifecycle-hooks/skaffold.yaml | 2 +- examples/microservices/skaffold.yaml | 2 +- .../base/skaffold.yaml | 2 +- .../leeroy-app/skaffold.yaml | 2 +- .../leeroy-web/skaffold.yaml | 2 +- .../multi-config-microservices/skaffold.yaml | 2 +- examples/multiple-renderers/skaffold.yaml | 2 +- examples/nodejs/skaffold.yaml | 2 +- examples/profile-patches/skaffold.yaml | 2 +- examples/profiles/skaffold.yaml | 2 +- examples/react-reload-docker/skaffold.yaml | 2 +- examples/react-reload/skaffold.yaml | 2 +- .../skaffold.yaml | 2 +- examples/ruby/skaffold.yaml | 2 +- .../simple-artifact-dependency/skaffold.yaml | 2 +- examples/structure-tests/skaffold.yaml | 2 +- .../skaffold.yaml | 2 +- examples/templated-fields/skaffold.yaml | 2 +- examples/typescript/skaffold.yaml | 2 +- examples/using-env-file/skaffold.yaml | 2 +- hack/release/main.go | 2 +- pkg/skaffold/schema/latest/config.go | 2 +- 57 files changed, 119 insertions(+), 55 deletions(-) create mode 100644 docs-v2/content/en/schemas/version-mappings/v4beta11-version.json diff --git a/CHANGELOG.md b/CHANGELOG.md index e8042c080c3..7acf2ab4843 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,66 @@ +# v2.12.0 Release - 05/14/2024 +**Linux amd64** +`curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.12.0/skaffold-linux-amd64 && chmod +x skaffold && sudo mv skaffold /usr/local/bin` + +**Linux arm64** +`curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.12.0/skaffold-linux-arm64 && chmod +x skaffold && sudo mv skaffold /usr/local/bin` + +**macOS amd64** +`curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.12.0/skaffold-darwin-amd64 && chmod +x skaffold && sudo mv skaffold /usr/local/bin` + +**macOS arm64** +`curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.12.0/skaffold-darwin-arm64 && chmod +x skaffold && sudo mv skaffold /usr/local/bin` + +**Windows** +https://storage.googleapis.com/skaffold/releases/v2.12.0/skaffold-windows-amd64.exe + +**Docker image** +`gcr.io/k8s-skaffold/skaffold:v2.12.0` + +Note: This release comes with a new config version, `v4beta11`. To upgrade your skaffold.yaml, use `skaffold fix`. If you choose not to upgrade, skaffold will auto-upgrade as best as it can. + +Highlights: + +New Features and Additions: +* feat: add `--destination` flag for kaniko build [#9415](https://github.com/GoogleContainerTools/skaffold/pull/9415) +* feat(exec|verify): enabled "namespace" option for exec and verify commands [#9307](https://github.com/GoogleContainerTools/skaffold/pull/9307) +* feat: support templating in diagnose command [#9393](https://github.com/GoogleContainerTools/skaffold/pull/9393) +* feat(docker-network): docker.network now supports any value [#9390](https://github.com/GoogleContainerTools/skaffold/pull/9390) + +Fixes: +* fix: TestGenerateMavenBuildArgs-host-platform [#9410](https://github.com/GoogleContainerTools/skaffold/pull/9410) +* fix(kaniko): delete kaniko pod on graceful shutdown [#9270](https://github.com/GoogleContainerTools/skaffold/pull/9270) +* fix(tar): data race fix [#9309](https://github.com/GoogleContainerTools/skaffold/pull/9309) +* fix: add --load flag for local buildkit [#9387](https://github.com/GoogleContainerTools/skaffold/pull/9387) + +Updates and Refactors: +* chore: bump github/codeql-action from 3.25.1 to 3.25.2 [#9402](https://github.com/GoogleContainerTools/skaffold/pull/9402) +* chore: bump actions/upload-artifact from 4.3.2 to 4.3.3 [#9403](https://github.com/GoogleContainerTools/skaffold/pull/9403) +* chore: bump github.com/sigstore/cosign/v2 from 2.2.1 to 2.2.4 [#9385](https://github.com/GoogleContainerTools/skaffold/pull/9385) +* chore: bump flask from 3.0.2 to 3.0.3 in /integration/examples [#9381](https://github.com/GoogleContainerTools/skaffold/pull/9381) +* chore: bump flask from 3.0.2 to 3.0.3 in /examples [#9379](https://github.com/GoogleContainerTools/skaffold/pull/9379) +* chore: bump golang.org/x/net from 0.17.0 to 0.23.0 in /integration/examples/grpc-e2e-tests/cloud-spanner-bootstrap [#9396](https://github.com/GoogleContainerTools/skaffold/pull/9396) +* chore: bump golang.org/x/net from 0.17.0 to 0.23.0 in /examples/grpc-e2e-tests/service [#9397](https://github.com/GoogleContainerTools/skaffold/pull/9397) +* chore: bump golang.org/x/net from 0.22.0 to 0.23.0 in /hack/tools [#9399](https://github.com/GoogleContainerTools/skaffold/pull/9399) +* chore: bump golang.org/x/net from 0.22.0 to 0.23.0 [#9400](https://github.com/GoogleContainerTools/skaffold/pull/9400) +* chore: bump golang.org/x/net from 0.17.0 to 0.23.0 in /integration/examples/grpc-e2e-tests/service [#9398](https://github.com/GoogleContainerTools/skaffold/pull/9398) +* chore: bump golang.org/x/net from 0.17.0 to 0.23.0 in /examples/grpc-e2e-tests/cloud-spanner-bootstrap [#9395](https://github.com/GoogleContainerTools/skaffold/pull/9395) +* chore: bump actions/upload-artifact from 4.3.1 to 4.3.2 [#9394](https://github.com/GoogleContainerTools/skaffold/pull/9394) +* schema: v4beta11 [#9401](https://github.com/GoogleContainerTools/skaffold/pull/9401) +* chore: bump github/codeql-action from 3.24.9 to 3.25.1 [#9391](https://github.com/GoogleContainerTools/skaffold/pull/9391) + +Docs, Test, and Release Updates: +* docs: add bazel cross-platform documentation [#9363](https://github.com/GoogleContainerTools/skaffold/pull/9363) + +Huge thanks goes out to all of our contributors for this release: + +- Aran Donohue +- Hedi Nasr +- Michael Kuc +- Suleiman Dibirov +- dependabot[bot] +- ericzzzzzzz + # v2.11.0 Release - 04/02/2024 **Linux amd64** `curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.11.0/skaffold-linux-amd64 && chmod +x skaffold && sudo mv skaffold /usr/local/bin` diff --git a/docs-v2/content/en/schemas/version-mappings/v4beta11-version.json b/docs-v2/content/en/schemas/version-mappings/v4beta11-version.json new file mode 100644 index 00000000000..dbc546072cb --- /dev/null +++ b/docs-v2/content/en/schemas/version-mappings/v4beta11-version.json @@ -0,0 +1 @@ +{"binVersion":"2.12.0","releaseNoteLink":"https://github.com/GoogleContainerTools/skaffold/releases/tag/v2.12.0"} \ No newline at end of file diff --git a/examples/bazel/skaffold.yaml b/examples/bazel/skaffold.yaml index 8fd1d763198..25cbe5f45e9 100644 --- a/examples/bazel/skaffold.yaml +++ b/examples/bazel/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config metadata: name: hello diff --git a/examples/buildpacks-java/skaffold.yaml b/examples/buildpacks-java/skaffold.yaml index 8daef9ccd9a..36156d80804 100644 --- a/examples/buildpacks-java/skaffold.yaml +++ b/examples/buildpacks-java/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/buildpacks-node/skaffold.yaml b/examples/buildpacks-node/skaffold.yaml index c2d11e26555..65b3e1e376b 100644 --- a/examples/buildpacks-node/skaffold.yaml +++ b/examples/buildpacks-node/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/buildpacks-python/skaffold.yaml b/examples/buildpacks-python/skaffold.yaml index b37ef74b337..995e293556c 100644 --- a/examples/buildpacks-python/skaffold.yaml +++ b/examples/buildpacks-python/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/buildpacks/skaffold.yaml b/examples/buildpacks/skaffold.yaml index 164305a78c7..456f5d9c9fa 100644 --- a/examples/buildpacks/skaffold.yaml +++ b/examples/buildpacks/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/cross-platform-builds/skaffold.yaml b/examples/cross-platform-builds/skaffold.yaml index f9a644595fb..a5f418de51a 100644 --- a/examples/cross-platform-builds/skaffold.yaml +++ b/examples/cross-platform-builds/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/custom-buildx/skaffold.yaml b/examples/custom-buildx/skaffold.yaml index 175558f69a8..d30e5dd2417 100644 --- a/examples/custom-buildx/skaffold.yaml +++ b/examples/custom-buildx/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: platforms: ["linux/amd64", "linux/arm64"] diff --git a/examples/custom-tests/skaffold.yaml b/examples/custom-tests/skaffold.yaml index be709898d65..c6e3359aef0 100644 --- a/examples/custom-tests/skaffold.yaml +++ b/examples/custom-tests/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/custom/skaffold.yaml b/examples/custom/skaffold.yaml index 9221584c220..d5bbd3ae36c 100644 --- a/examples/custom/skaffold.yaml +++ b/examples/custom/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/dev-journey-buildpacks/skaffold.yaml b/examples/dev-journey-buildpacks/skaffold.yaml index b0d8a3f8aca..9fa428f929e 100644 --- a/examples/dev-journey-buildpacks/skaffold.yaml +++ b/examples/dev-journey-buildpacks/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/docker-deploy/skaffold.yaml b/examples/docker-deploy/skaffold.yaml index 2921caad5b7..7c27af80613 100644 --- a/examples/docker-deploy/skaffold.yaml +++ b/examples/docker-deploy/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: local: diff --git a/examples/gcb-kaniko/skaffold.yaml b/examples/gcb-kaniko/skaffold.yaml index 8ed2795427b..6b7ce82fc13 100644 --- a/examples/gcb-kaniko/skaffold.yaml +++ b/examples/gcb-kaniko/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: googleCloudBuild: diff --git a/examples/generate-pipeline/skaffold.yaml b/examples/generate-pipeline/skaffold.yaml index 1cb27f460b5..1a1f83b4a5d 100644 --- a/examples/generate-pipeline/skaffold.yaml +++ b/examples/generate-pipeline/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/getting-started-kustomize/skaffold.yaml b/examples/getting-started-kustomize/skaffold.yaml index 6de21eb672e..ab35bf1b2a3 100644 --- a/examples/getting-started-kustomize/skaffold.yaml +++ b/examples/getting-started-kustomize/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config metadata: name: getting-started-kustomize diff --git a/examples/getting-started/skaffold.yaml b/examples/getting-started/skaffold.yaml index f3b5b84e4d8..5cb8c8d28b3 100644 --- a/examples/getting-started/skaffold.yaml +++ b/examples/getting-started/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/go-integration-coverage/skaffold.yaml b/examples/go-integration-coverage/skaffold.yaml index 74e2a4c7b16..36acfe414d3 100644 --- a/examples/go-integration-coverage/skaffold.yaml +++ b/examples/go-integration-coverage/skaffold.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config metadata: name: go-integration-coverage diff --git a/examples/google-cloud-build/skaffold.yaml b/examples/google-cloud-build/skaffold.yaml index 5e596c705ce..933d7bf3032 100644 --- a/examples/google-cloud-build/skaffold.yaml +++ b/examples/google-cloud-build/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: googleCloudBuild: diff --git a/examples/grpc-e2e-tests/skaffold.yaml b/examples/grpc-e2e-tests/skaffold.yaml index d84d1584e7a..6ddb0c92d28 100644 --- a/examples/grpc-e2e-tests/skaffold.yaml +++ b/examples/grpc-e2e-tests/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config metadata: name: visitor-counter-e2e diff --git a/examples/helm-deployment-dependencies/skaffold.yaml b/examples/helm-deployment-dependencies/skaffold.yaml index 1c1425a7a71..78ef5007338 100644 --- a/examples/helm-deployment-dependencies/skaffold.yaml +++ b/examples/helm-deployment-dependencies/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: tagPolicy: diff --git a/examples/helm-deployment/skaffold.yaml b/examples/helm-deployment/skaffold.yaml index 60095391931..7f27f902028 100644 --- a/examples/helm-deployment/skaffold.yaml +++ b/examples/helm-deployment/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/helm-remote-repo/skaffold.yaml b/examples/helm-remote-repo/skaffold.yaml index 9dd19e6e844..74fe56fffbf 100644 --- a/examples/helm-remote-repo/skaffold.yaml +++ b/examples/helm-remote-repo/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config deploy: helm: diff --git a/examples/helm-render/skaffold.yaml b/examples/helm-render/skaffold.yaml index e1eafdbc22e..fd2dbe49e79 100644 --- a/examples/helm-render/skaffold.yaml +++ b/examples/helm-render/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/hot-reload/skaffold.yaml b/examples/hot-reload/skaffold.yaml index f3d265f2c40..d17464e9889 100644 --- a/examples/hot-reload/skaffold.yaml +++ b/examples/hot-reload/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/jib-gradle/skaffold.yaml b/examples/jib-gradle/skaffold.yaml index fb2842cd201..4fcc57382dd 100644 --- a/examples/jib-gradle/skaffold.yaml +++ b/examples/jib-gradle/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/jib-multimodule/skaffold.yaml b/examples/jib-multimodule/skaffold.yaml index 093c6305dce..9aa06ec8dd6 100644 --- a/examples/jib-multimodule/skaffold.yaml +++ b/examples/jib-multimodule/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/jib-sync/skaffold-gradle.yaml b/examples/jib-sync/skaffold-gradle.yaml index f04fdd1dae1..86111d68b57 100644 --- a/examples/jib-sync/skaffold-gradle.yaml +++ b/examples/jib-sync/skaffold-gradle.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/jib-sync/skaffold-maven.yaml b/examples/jib-sync/skaffold-maven.yaml index 737b607df18..922df5a0933 100644 --- a/examples/jib-sync/skaffold-maven.yaml +++ b/examples/jib-sync/skaffold-maven.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/jib/skaffold.yaml b/examples/jib/skaffold.yaml index 4372d022521..5da5756a63e 100644 --- a/examples/jib/skaffold.yaml +++ b/examples/jib/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/kaniko/skaffold.yaml b/examples/kaniko/skaffold.yaml index 24990341463..013f30a6061 100644 --- a/examples/kaniko/skaffold.yaml +++ b/examples/kaniko/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/ko-sync-infer/skaffold.yaml b/examples/ko-sync-infer/skaffold.yaml index 6279190f09b..26332c728e0 100644 --- a/examples/ko-sync-infer/skaffold.yaml +++ b/examples/ko-sync-infer/skaffold.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/ko/skaffold.yaml b/examples/ko/skaffold.yaml index 0b5f33cf0d6..32a5e1fb01c 100644 --- a/examples/ko/skaffold.yaml +++ b/examples/ko/skaffold.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/kustomize/skaffold-kustomize-args.yaml b/examples/kustomize/skaffold-kustomize-args.yaml index 4a722335aa1..a0ec47a2050 100644 --- a/examples/kustomize/skaffold-kustomize-args.yaml +++ b/examples/kustomize/skaffold-kustomize-args.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config deploy: kustomize: diff --git a/examples/kustomize/skaffold.yaml b/examples/kustomize/skaffold.yaml index 40456281036..bcebd0670ef 100644 --- a/examples/kustomize/skaffold.yaml +++ b/examples/kustomize/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config manifests: kustomize: diff --git a/examples/lifecycle-hooks/skaffold.yaml b/examples/lifecycle-hooks/skaffold.yaml index f50cc9e351d..6b36618ecc0 100644 --- a/examples/lifecycle-hooks/skaffold.yaml +++ b/examples/lifecycle-hooks/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config manifests: rawYaml: diff --git a/examples/microservices/skaffold.yaml b/examples/microservices/skaffold.yaml index caf90ceb2ab..5dd3ecfe03e 100644 --- a/examples/microservices/skaffold.yaml +++ b/examples/microservices/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/multi-config-microservices/base/skaffold.yaml b/examples/multi-config-microservices/base/skaffold.yaml index 62147e8e9cc..45c59c0f9ac 100644 --- a/examples/multi-config-microservices/base/skaffold.yaml +++ b/examples/multi-config-microservices/base/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/multi-config-microservices/leeroy-app/skaffold.yaml b/examples/multi-config-microservices/leeroy-app/skaffold.yaml index 0cc1668a6e6..1d66a5f5636 100644 --- a/examples/multi-config-microservices/leeroy-app/skaffold.yaml +++ b/examples/multi-config-microservices/leeroy-app/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config metadata: name: app-config diff --git a/examples/multi-config-microservices/leeroy-web/skaffold.yaml b/examples/multi-config-microservices/leeroy-web/skaffold.yaml index af7cb061a49..5867065729a 100644 --- a/examples/multi-config-microservices/leeroy-web/skaffold.yaml +++ b/examples/multi-config-microservices/leeroy-web/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config metadata: name: web-config diff --git a/examples/multi-config-microservices/skaffold.yaml b/examples/multi-config-microservices/skaffold.yaml index ac6d6408616..15c16dc362b 100644 --- a/examples/multi-config-microservices/skaffold.yaml +++ b/examples/multi-config-microservices/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config requires: - path: ./leeroy-app diff --git a/examples/multiple-renderers/skaffold.yaml b/examples/multiple-renderers/skaffold.yaml index 41cc184abaa..ca5bb41b0de 100644 --- a/examples/multiple-renderers/skaffold.yaml +++ b/examples/multiple-renderers/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config metadata: name: go-guestbook diff --git a/examples/nodejs/skaffold.yaml b/examples/nodejs/skaffold.yaml index 59f13ce620c..93a2a1cda44 100644 --- a/examples/nodejs/skaffold.yaml +++ b/examples/nodejs/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: diff --git a/examples/profile-patches/skaffold.yaml b/examples/profile-patches/skaffold.yaml index 6eda74b5073..1114ff70de5 100644 --- a/examples/profile-patches/skaffold.yaml +++ b/examples/profile-patches/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: # only build and deploy "base-service" on main profile diff --git a/examples/profiles/skaffold.yaml b/examples/profiles/skaffold.yaml index ad0edd73c5e..332657b5a14 100644 --- a/examples/profiles/skaffold.yaml +++ b/examples/profiles/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: # only build and deploy "world-service" on main profile diff --git a/examples/react-reload-docker/skaffold.yaml b/examples/react-reload-docker/skaffold.yaml index 58d1e233b70..ebae4b7a540 100644 --- a/examples/react-reload-docker/skaffold.yaml +++ b/examples/react-reload-docker/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: local: diff --git a/examples/react-reload/skaffold.yaml b/examples/react-reload/skaffold.yaml index 24c175f43de..0276e4ae0f1 100644 --- a/examples/react-reload/skaffold.yaml +++ b/examples/react-reload/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/remote-multi-config-microservices/skaffold.yaml b/examples/remote-multi-config-microservices/skaffold.yaml index 014b0a01426..2dcfe2523a9 100644 --- a/examples/remote-multi-config-microservices/skaffold.yaml +++ b/examples/remote-multi-config-microservices/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config requires: - git: diff --git a/examples/ruby/skaffold.yaml b/examples/ruby/skaffold.yaml index 20ec4debd36..a4ceacf7378 100644 --- a/examples/ruby/skaffold.yaml +++ b/examples/ruby/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/simple-artifact-dependency/skaffold.yaml b/examples/simple-artifact-dependency/skaffold.yaml index 5af8f227857..eb456504802 100644 --- a/examples/simple-artifact-dependency/skaffold.yaml +++ b/examples/simple-artifact-dependency/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/structure-tests/skaffold.yaml b/examples/structure-tests/skaffold.yaml index 9ebb037def9..2c32e196165 100644 --- a/examples/structure-tests/skaffold.yaml +++ b/examples/structure-tests/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/tagging-with-environment-variables/skaffold.yaml b/examples/tagging-with-environment-variables/skaffold.yaml index 9a0f9c0bda1..1d649140776 100644 --- a/examples/tagging-with-environment-variables/skaffold.yaml +++ b/examples/tagging-with-environment-variables/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/examples/templated-fields/skaffold.yaml b/examples/templated-fields/skaffold.yaml index 78c59ba3510..e6cf6b8660c 100644 --- a/examples/templated-fields/skaffold.yaml +++ b/examples/templated-fields/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config metadata: name: my-app diff --git a/examples/typescript/skaffold.yaml b/examples/typescript/skaffold.yaml index c95a57b4b49..4e265f35052 100644 --- a/examples/typescript/skaffold.yaml +++ b/examples/typescript/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: diff --git a/examples/using-env-file/skaffold.yaml b/examples/using-env-file/skaffold.yaml index 74d313afbc1..f161039c1d3 100644 --- a/examples/using-env-file/skaffold.yaml +++ b/examples/using-env-file/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta10 +apiVersion: skaffold/v4beta11 kind: Config build: artifacts: diff --git a/hack/release/main.go b/hack/release/main.go index 0de211b349f..ef19b805372 100644 --- a/hack/release/main.go +++ b/hack/release/main.go @@ -96,7 +96,7 @@ func writeVersionMapping(binVersion string, output string) error { b, err := json.Marshal(versionNote{ BinVersion: binVersion, - ReleaseNoteLink: "https://github.com/GoogleContainerTools/skaffold/releases/tag/" + binVersion, + ReleaseNoteLink: "https://github.com/GoogleContainerTools/skaffold/releases/tag/v" + binVersion, }) if err != nil { return err diff --git a/pkg/skaffold/schema/latest/config.go b/pkg/skaffold/schema/latest/config.go index ac555a053c0..59b864c865c 100644 --- a/pkg/skaffold/schema/latest/config.go +++ b/pkg/skaffold/schema/latest/config.go @@ -25,7 +25,7 @@ import ( "github.com/GoogleContainerTools/skaffold/v2/pkg/skaffold/schema/util" ) -// This config version is not yet released, it is SAFE TO MODIFY the structs in this file. +// !!! WARNING !!! This config version is already released, please DO NOT MODIFY the structs in this file. const Version string = "skaffold/v4beta11" // NewSkaffoldConfig creates a SkaffoldConfig