Update Helm release external-secrets to v0.16.1 (main)
This MR contains the following updates:
| Package | Update | Change |
|---|---|---|
| external-secrets | minor |
0.15.1 -> 0.16.1
|
Release Notes
external-secrets/external-secrets (external-secrets)
v0.16.1
Image: ghcr.io/external-secrets/external-secrets:v0.16.1
Image: ghcr.io/external-secrets/external-secrets:v0.16.1-ubi
Image: ghcr.io/external-secrets/external-secrets:v0.16.1-ubi-boringssl
What's Changed
- chore: bump helm to 0.16.0 by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4660
- fix: remove crds from bundle by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4664
- fix: applying several pipeline fixes by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4667
- fix: pipeline permissions by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4669
- fix: publish permissions by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4670
- fix: prevent is-fork by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4671
- fix: publish workflow by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4672
- fix: conversion setting on bundle crds by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4673
- fix: remove the conversion hook completely by @Skarlso in https://github.com/external-secrets/external-secrets/pull/4675
Full Changelog: https://github.com/external-secrets/external-secrets/compare/v0.16.0...v0.16.1
Guide to Promoting to 0.16
Pre Upgrade checks
Make sure you are not using any v1alpha1 resources across all of your infrastructure.
You can do that by performing manual inspection on your manifests, tooling, etc.
Make sure there are no storedVersions on v1alpha1 for externalsecrets, clusterexternalsecrets, secretstores and clustersecretstores crds:
Run the following command:
kubectl get crd \
externalsecrets.external-secrets.io\
secretstores.external-secrets.io\
clustersecretstores.external-secrets.io\
clusterexternalsecrets.external-secrets.io\
-o jsonpath='{.items[*].status.storedVersions[?(@​=="valpha1")]}' | \
grep -q v1alpha1 && echo "NOT SAFE! REMOVE v1alpha1 FROM YOUR STORED VERSIONS" || echo "Safe to Continue"
If that command returns not safe, remove v1alpha1 from your stored versions. Make sure this status is persisted after you verify these commands.
kubectl patch --subresource=status crd externalsecrets.external-secrets.io --type=json -p='[{"op": "replace", "path": "/status/storedVersions", "value": ["v1", "v1beta1"]}]'
kubectl patch --subresource=status crd secretstores.external-secrets.io --type=json -p='[{"op": "replace", "path": "/status/storedVersions", "value": ["v1", "v1beta1"]}]'
kubectl patch --subresource=status crd clusterexternalsecrets.external-secrets.io --type=json -p='[{"op": "replace", "path": "/status/storedVersions", "value": ["v1", "v1beta1"]}]'
kubectl patch --subresource=status crd clustersecretstores.external-secrets.io --type=json -p='[{"op": "replace", "path": "/status/storedVersions", "value": ["v1", "v1beta1"]}]'
Upgrading
CRDs as part of external-secrets installation
If you're installing external-secrets CRDs with helm (installCRDs=true - the default), all you need to do is
helm repo update
helm upgrade <your_app_name> external-secrets/external-secrets --version 0.16.1
The same goes if you're using argocd or flux and managing crds directly with helm. The above should just work.
CRDs installed separately
If CRDs are installed separately, the first step you need to do is bump the crds:
kubectl apply -f https://raw.githubusercontent.com/external-secrets/external-secrets/v0.16.1/deploy/crds/bundle.yaml
Verify no error occurs. After that, you can freely migrate external-secrets to v0.16.1.
Troubleshooting
conversion webhook for external-secrets.io/v1, Kind=ExternalSecret failed: the server could not find the requested resource
Root cause: the CRD installation process failed. Double check your CRD installation process finished successfully
v0.16.0
Image: ghcr.io/external-secrets/external-secrets:v0.16.0
Image: ghcr.io/external-secrets/external-secrets:v0.16.0-ubi
Image: ghcr.io/external-secrets/external-secrets:v0.16.0-ubi-boringssl
!!! warning
it is known v0.16.0 will not be an easy upgrade if you're not consuming from our official sources via helm.
we are improving the upgrade path for users depending on kustomize in 0.16.1. Please be patient :)
Guide to Promoting to 0.16
Pre Upgrade checks
Make sure you are not using any v1alpha1 resources across all of your infrastructure.
You can do that by performing manual inspection on your manifests, tooling, etc.
Make sure there are no storedVersions on v1alpha1 for externalsecrets, clusterexternalsecrets, secretstores and clustersecretstores crds:
Run the following command:
kubectl get crd \
externalsecrets.external-secrets.io\
secretstores.external-secrets.io\
clustersecretstores.external-secrets.io\
clusterexternalsecrets.external-secrets.io\
-o jsonpath='{.items[*].status.storedVersions[?(@​=="valpha1")]}' | \
grep -q v1alpha1 && echo "NOT SAFE! REMOVE v1alpha1 FROM YOUR STORED VERSIONS" || echo "Safe to Continue"
If that command returns not safe, remove v1alpha1 from your stored versions. Make sure this status is persisted after you verify these commands.
kubectl patch --subresource=status crd externalsecrets.external-secrets.io --type=json -p='[{"op": "replace", "path": "/status/storedVersions", "value": ["v1", "v1beta1"]}]'
kubectl patch --subresource=status crd secretstores.external-secrets.io --type=json -p='[{"op": "replace", "path": "/status/storedVersions", "value": ["v1", "v1beta1"]}]'
kubectl patch --subresource=status crd clusterexternalsecrets.external-secrets.io --type=json -p='[{"op": "replace", "path": "/status/storedVersions", "value": ["v1", "v1beta1"]}]'
kubectl patch --subresource=status crd clustersecretstores.external-secrets.io --type=json -p='[{"op": "replace", "path": "/status/storedVersions", "value": ["v1", "v1beta1"]}]'
Upgrading
CRDs as part of external-secrets installation
If you're installing external-secrets CRDs with helm (installCRDs=true - the default), all you need to do is
helm repo update
helm upgrade <your_app_name> external-secrets/external-secrets --version 0.16.1
The same goes if you're using argocd or flux and managing crds directly with helm. The above should just work.
CRDs installed separately
If CRDs are installed separately, the first step you need to do is bump the crds:
kubectl apply -f https://raw.githubusercontent.com/external-secrets/external-secrets/v0.16.1/deploy/crds/bundle.yaml
Verify no error occurs. After that, you can freely migrate external-secrets to v0.16.1.
Troubleshooting
conversion webhook for external-secrets.io/v1, Kind=ExternalSecret failed: the server could not find the requested resource
Root cause: the CRD installation process failed. Double check your CRD installation process finished successfully
spec.conversion.webhookClientConfig: Forbidden: should not be set when strategy is not set to Webhook
Use 0.16.1 as opposed to 0.16.0 on your installation path. That should be fixed on this release
My issue is not here What do I do?
Add a message to https://github.com/external-secrets/external-secrets/issues/4662
BREAKING CHANGES
This release introduces quite a few breaking changes, including:
- Removal of Conversion Webhooks and
SecretStore/v1alpha1,ExternalSecret/v1alpha1and their cluster counterparts - Promotion of
ExternalSecret/v1andSecretStore/v1and their cluster counterparts - Removal of
v1templating engine - Removal of
ValueMapsfrom Fake Secret Store
if you have any issues during your upgrade, please check https://github.com/external-secrets/external-secrets/issues/4662
What's Changed
- chore: bump 0.15.1 by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4599
- chore(deps): bump distroless/static from
95ea148to3d0f463by @dependabot in https://github.com/external-secrets/external-secrets/pull/4602 - chore(deps): bump actions/setup-python from 5.4.0 to 5.5.0 by @dependabot in https://github.com/external-secrets/external-secrets/pull/4603
- chore(deps): bump crazy-max/ghaction-import-gpg from 6.2.0 to 6.3.0 by @dependabot in https://github.com/external-secrets/external-secrets/pull/4605
- chore(deps): bump goreleaser/goreleaser-action from 6.2.1 to 6.3.0 by @dependabot in https://github.com/external-secrets/external-secrets/pull/4606
- chore(deps): bump github/codeql-action from 3.28.12 to 3.28.13 by @dependabot in https://github.com/external-secrets/external-secrets/pull/4607
- chore(deps): bump mkdocs-material from 9.6.9 to 9.6.10 in /hack/api-docs by @dependabot in https://github.com/external-secrets/external-secrets/pull/4608
- remove days from refreshInterval docs by @lmcewen9 in https://github.com/external-secrets/external-secrets/pull/4601
- feat: Add AWSProvider.prefix to aws secrets manager by @justinwalz in https://github.com/external-secrets/external-secrets/pull/4612
- feat(aws): support for aws tags by @ivankatliarchuk in https://github.com/external-secrets/external-secrets/pull/4538
- docs: remove OLM installation and release docs by @Skarlso in https://github.com/external-secrets/external-secrets/pull/4617
- chore: update dependencies by @eso-service-account-app in https://github.com/external-secrets/external-secrets/pull/4609
- chore(deps): bump golang from 1.24.1 to 1.24.2 by @dependabot in https://github.com/external-secrets/external-secrets/pull/4618
- chore(deps): bump termcolor from 2.5.0 to 3.0.1 in /hack/api-docs by @dependabot in https://github.com/external-secrets/external-secrets/pull/4619
- chore(deps): bump mkdocs-material from 9.6.10 to 9.6.11 in /hack/api-docs by @dependabot in https://github.com/external-secrets/external-secrets/pull/4620
- chore(deps): bump golang from 1.24.1-bookworm to 1.24.2-bookworm in /e2e by @dependabot in https://github.com/external-secrets/external-secrets/pull/4621
- fix(gcp): makes workload identity parameters optional by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4622
- chore: update dependencies by @eso-service-account-app in https://github.com/external-secrets/external-secrets/pull/4624
- feat: check-diff on update deps by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4632
- docs: fix pento website url in the docs by @pragmaticivan in https://github.com/external-secrets/external-secrets/pull/4639
- Support annotations on ValidatingWebhookConfigurations in order to su… by @davidkarlsen in https://github.com/external-secrets/external-secrets/pull/4638
- fix: controller-options by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4637
- fix: failure on github deprecation use of status checks by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4640
- fix: replace error check with ok check by @iurisevero in https://github.com/external-secrets/external-secrets/pull/4636
- feat: add refreshPolicy field to ExternalSecret for enhanced synchronization control by @Sn0rt in https://github.com/external-secrets/external-secrets/pull/4594
- fix: enhancing security for new workflow by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4641
- chore(deps): bump golang from
75e6700to00eccd4in /e2e by @dependabot in https://github.com/external-secrets/external-secrets/pull/4644 - chore(deps): bump golang from
7772cb5to7772cb5by @dependabot in https://github.com/external-secrets/external-secrets/pull/4649 - chore(deps): bump github/codeql-action from 3.28.13 to 3.28.15 by @dependabot in https://github.com/external-secrets/external-secrets/pull/4645
- chore(deps): bump markdown from 3.7 to 3.8 in /hack/api-docs by @dependabot in https://github.com/external-secrets/external-secrets/pull/4646
- chore(deps): bump urllib3 from 2.3.0 to 2.4.0 in /hack/api-docs by @dependabot in https://github.com/external-secrets/external-secrets/pull/4647
- chore: update dependencies by @eso-service-account-app in https://github.com/external-secrets/external-secrets/pull/4651
- chore: bump go to 1.24.2 by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4652
- chore: promote v1 by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4635
- fix: revert main to 0.15.1 by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4657
- fix: restore 0.16.0 by @gusfcarvalho in https://github.com/external-secrets/external-secrets/pull/4659
New Contributors
- @lmcewen9 made their first contribution in https://github.com/external-secrets/external-secrets/pull/4601
- @justinwalz made their first contribution in https://github.com/external-secrets/external-secrets/pull/4612
- @ivankatliarchuk made their first contribution in https://github.com/external-secrets/external-secrets/pull/4538
- @pragmaticivan made their first contribution in https://github.com/external-secrets/external-secrets/pull/4639
- @davidkarlsen made their first contribution in https://github.com/external-secrets/external-secrets/pull/4638
Full Changelog: https://github.com/external-secrets/external-secrets/compare/v0.15.1...v0.16.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot Sylva instance.
CI configuration couldn't be handle by MR description. A dedicated comment has been posted to control it.
If no checkbox is checked, a default pipeline will be enabled (capm3, or capo if capo label is set)