[pull] master from kubernetes-sigs:master - #313
Open
pull[bot] wants to merge 3804 commits into
Open
Conversation
🐛 Clean up temp directory in regenerateProjectWithVersion
…is unset The scaffolded helm-deploy target referenced $IMG via shell expansion, but IMG is a Make variable not exported to the recipe shell, so a plain `make helm-deploy` sent empty --set flags and deployed image ":0.1.0". - pass IMG into the recipe shell explicitly in the Makefile template - add a template-level default for manager.image.repository in the chart - run helm-deploy without IMG in the chart test workflow to cover the default path
🐛 (helm/v2-alpha): Fix templates to correctly resolve controller image repositories during make helm-deploy.
…5775) * fix: enable back newexpr modernize linter * fix: replace usage of ptr.To by new in scaffolds And update imports accordingly to make go vet happy. * fix: replace usage of ptr.To by new in docs and docs generators
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@df4cb1c...9c091bb) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…ns/actions/checkout-7.0.0 🌱 : Bump actions/checkout from 6.0.3 to 7.0.0
…uilder and its auto-update tooling, as the service is no longer available to new users (#5777) remove gh-model Signed-off-by: dongjiang <dongjiang1989@126.com>
…revent duplication (#5764) fix(helm/v2-alpha): strip custom volumes from deployment object to prevent duplication Custom volumes (e.g. user-added configMaps, secrets) appeared both as literal entries in the generated manager.yaml template AND via {{ toYaml .Values.manager.extraVolumes }}, causing duplication at install time. The fix is in the extractor: after ExtractDeploymentConfig extracts custom volumes into ValuesConfig, StripCustomVolumes removes them from the deployment object. Since yaml.Marshal runs on the cleaned object, custom volumes never appear in the template — they only flow through values.yaml. System volumes (webhook-certs, metrics-certs) are kept in the object so they render as conditionals in the template. Manager container resolution now uses the kubectl.kubernetes.io/default-container annotation (falling back to "manager", then containers[0]), consistent with the templater's GetDefaultContainerName. The annotation key and fallback name are lifted into the shared common package so both resolvers reference the same constants. Related: 5718
…ment with a manager container (#5781) fix(helm/v2-alpha):now correctly identifies the controller-manager Deployment when multiple Deployments are present
📖 (CLI) Improve CLI help text and examples
feat(go/v4): Add support for Server-Side Apply with --ssa flag
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.31.0 to 2.32.0. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](onsi/ginkgo@v2.31.0...v2.32.0) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.32.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action) from 0.5.6 to 0.5.7. - [Release notes](https://github.com/zizmorcore/zizmor-action/releases) - [Commits](zizmorcore/zizmor-action@5f14fd0...192e21d) --- updated-dependencies: - dependency-name: zizmorcore/zizmor-action dependency-version: 0.5.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.21.1 to 3.21.2. - [Release notes](https://github.com/helm/helm/releases) - [Commits](helm/helm@v3.21.1...v3.21.2) --- updated-dependencies: - dependency-name: helm.sh/helm/v3 dependency-version: 3.21.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.31.0 to 2.32.0. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](onsi/ginkgo@v2.31.0...v2.32.0) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.32.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…ithub.com/onsi/ginkgo/v2-2.32.0 🌱 Bump github.com/onsi/ginkgo/v2 from 2.31.0 to 2.32.0
…ns/zizmorcore/zizmor-action-0.5.7 🌱 Bump zizmorcore/zizmor-action from 0.5.6 to 0.5.7
…ocs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1/github.com/onsi/ginkgo/v2-2.32.0 📖 Bump github.com/onsi/ginkgo/v2 from 2.31.0 to 2.32.0 in /docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1
…elm.sh/helm/v3-3.21.2 🌱 Bump helm.sh/helm/v3 from 3.21.1 to 3.21.2
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.42.0 to 1.42.1. - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](onsi/gomega@v1.42.0...v1.42.1) --- updated-dependencies: - dependency-name: github.com/onsi/gomega dependency-version: 1.42.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.42.0 to 1.42.1. - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](onsi/gomega@v1.42.0...v1.42.1) --- updated-dependencies: - dependency-name: github.com/onsi/gomega dependency-version: 1.42.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…ithub.com/onsi/gomega-1.42.1 🌱 Bump github.com/onsi/gomega from 1.42.0 to 1.42.1
🐛 fix(templates): update serviceAccountName condition to use string com…
✨ (go/v4, API): Validate Resource.Path for external and non-external resources
…ocs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1/github.com/onsi/gomega-1.42.1 📖 : Bump github.com/onsi/gomega from 1.42.0 to 1.42.1 in /docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6.4.0 to 6.5.0. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@4a36011...924ae3a) --- updated-dependencies: - dependency-name: actions/setup-go dependency-version: 6.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.46.0 to 0.47.0. - [Release notes](https://github.com/golang/tools/releases) - [Commits](golang/tools@v0.46.0...v0.47.0) --- updated-dependencies: - dependency-name: golang.org/x/tools dependency-version: 0.47.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…ns/shogo82148/actions-goveralls-1.11.1 🌱 bump shogo82148/actions-goveralls from 1.11.0 to 1.11.1
🐛 (CLI) only read PROJECT for commands that consume it
The scenario lived in .github/workflows/test-alpha-generate.yml, a CI-only workflow, so it could not be run with the regular test targets. Port it to an integration test next to the implementation in internal/cli/alpha/internal, behind the same //go:build integration tag the alpha update test uses, per the AGENTS.md test organization. The PROJECT config comparison from hack/test/checkprojectconfig is folded into the test, and both the workflow and the hack tool are removed. The test scaffolds a project with one API and a webhook instead of using testdata/project-v4, so it does not mutate testdata during local runs. Wire the moved test into the test targets: TEST_PKGS still pointed at the layout that predates the move of the alpha commands out of pkg/, so the test targets skipped everything under internal/. TEST_PKGS now resolves the internal packages through go list, leaving out only the alpha update integration suite, which downloads old release binaries on every run and is left for a follow-up.
🌱 Move the alpha generate CI-only test scenario into the integration tests
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.32.0 to 2.32.1. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](onsi/ginkgo@v2.32.0...v2.32.1) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.32.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.32.0 to 2.32.1. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](onsi/ginkgo@v2.32.0...v2.32.1) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.32.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.38.0 to 0.39.0. - [Commits](golang/mod@v0.38.0...v0.39.0) --- updated-dependencies: - dependency-name: golang.org/x/mod dependency-version: 0.39.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…ocs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1/github.com/onsi/ginkgo/v2-2.32.1 📖 bump github.com/onsi/ginkgo/v2 from 2.32.0 to 2.32.1 in /docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1
…lpha generate runs in place (#5968) * 🐛 Preserve the customised Grafana config when alpha generate runs in place An in-place run cleans the project directory before scaffolding, and grafanaConfigMigrate then reads the config from that same directory, so the customised grafana/custom-metrics/config.yaml it is meant to carry forward is already gone and a scaffolded default takes its place. Read the file before the cleanup and restore that content during the Grafana plugin migration, the same way the boilerplate file is already preserved across the cleanup. * 🐛 Track the Grafana config's existence separately from its content An existing empty config.yaml was indistinguishable from a missing one, so an in-place run left the scaffolded default in place instead of restoring the empty file. Record existence in its own flag, the same way the boilerplate path does, and restore whenever the file was present. * 🐛 Surface Grafana config stat errors and cover the preservation end to end Checking for an existing Grafana config treated every stat error as the file being absent. Only os.ErrNotExist means that; a permission or other filesystem error now fails the run before the cleanup deletes the file it could not check. The migrateGrafanaPlugin unit tests exercise the restore in isolation, so none of them would notice if the command captured the config after the cleanup instead of before it. Add integration coverage through the command for the two affected runs: in place, and --input-dir without --output-dir. Both customise the scaffolded config, regenerate, and expect the customisation back on disk and in the rebuilt dashboard.
…ithub.com/onsi/ginkgo/v2-2.32.1 🌱bump github.com/onsi/ginkgo/v2 from 2.32.0 to 2.32.1
…olang.org/x/mod-0.39.0 🌱 bump golang.org/x/mod from 0.38.0 to 0.39.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.40.0 to 0.41.0. - [Release notes](https://github.com/golang/text/releases) - [Commits](golang/text@v0.40.0...v0.41.0) --- updated-dependencies: - dependency-name: golang.org/x/text dependency-version: 0.41.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.21.3 to 3.21.4. - [Release notes](https://github.com/helm/helm/releases) - [Commits](helm/helm@v3.21.3...v3.21.4) --- updated-dependencies: - dependency-name: helm.sh/helm/v3 dependency-version: 3.21.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github/codeql-action/init](https://github.com/github/codeql-action) from 4.37.6 to 4.37.7. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@5595cca...ff2f1c6) --- updated-dependencies: - dependency-name: github/codeql-action/init dependency-version: 4.37.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) from 4.37.6 to 4.37.7. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@5595cca...ff2f1c6) --- updated-dependencies: - dependency-name: github/codeql-action/upload-sarif dependency-version: 4.37.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github/codeql-action/analyze](https://github.com/github/codeql-action) from 4.37.6 to 4.37.7. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@5595cca...ff2f1c6) --- updated-dependencies: - dependency-name: github/codeql-action/analyze dependency-version: 4.37.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…ns/github/codeql-action/analyze-4.37.7 🌱 bump github/codeql-action/analyze from 4.37.6 to 4.37.7
…ns/github/codeql-action/upload-sarif-4.37.7 🌱 bump github/codeql-action/upload-sarif from 4.37.6 to 4.37.7
…ns/github/codeql-action/init-4.37.7 🌱 bump github/codeql-action/init from 4.37.6 to 4.37.7
…olang.org/x/text-0.41.0 🌱 bump golang.org/x/text from 0.40.0 to 0.41.0
…elm.sh/helm/v3-3.21.4 🌱 bump helm.sh/helm/v3 from 3.21.3 to 3.21.4
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.36.3 to 0.36.4. - [Commits](kubernetes/apimachinery@v0.36.3...v0.36.4) --- updated-dependencies: - dependency-name: k8s.io/apimachinery dependency-version: 0.36.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github/codeql-action/init](https://github.com/github/codeql-action) from 4.37.7 to 4.37.8. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@ff2f1c6...db488dd) --- updated-dependencies: - dependency-name: github/codeql-action/init dependency-version: 4.37.8 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) from 4.37.7 to 4.37.8. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@ff2f1c6...db488dd) --- updated-dependencies: - dependency-name: github/codeql-action/upload-sarif dependency-version: 4.37.8 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github/codeql-action/analyze](https://github.com/github/codeql-action) from 4.37.7 to 4.37.8. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@ff2f1c6...db488dd) --- updated-dependencies: - dependency-name: github/codeql-action/analyze dependency-version: 4.37.8 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…ns/github/codeql-action/analyze-4.37.8 🌱 bump github/codeql-action/analyze from 4.37.7 to 4.37.8
…ns/github/codeql-action/upload-sarif-4.37.8 🌱 bump github/codeql-action/upload-sarif from 4.37.7 to 4.37.8
…ns/github/codeql-action/init-4.37.8 🌱 bump github/codeql-action/init from 4.37.7 to 4.37.8
…8s.io/apimachinery-0.36.4 🌱 bump k8s.io/apimachinery from 0.36.3 to 0.36.4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )