Skip to content

Latest commit

 

History

History
835 lines (533 loc) · 47.7 KB

RELEASE-NOTES.md

File metadata and controls

835 lines (533 loc) · 47.7 KB

Release Notes

Latest release:

v0.24.2

Changelog

  • Fix issue where sealed secrets status is not updated if sealed secret… (#1295)
  • Bump golang.org/x/crypto from 0.13.0 to 0.14.0(#1341)
  • Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 (#1342)
  • Bump golang.org/x/net from 0.14.0 to 0.17.0 (#1344)

v0.24.1

Changelog

  • fix: remove trailing dashes for multidoc yaml (#1335)

v0.24.0

Changelog

  • feat: multidoc support for yaml and json (#1304)
  • Delete repeating warning message (#1303)
  • Add dashboard configmap annotations (#1302)
  • Update the golang version to the latest available one (#1318)
  • Update Linux installation process on README to have a way to dynamically get kubeseal version number (#1294)
  • Bump golang.org/x/crypto from 0.12.0 to 0.13.0 (#1319)
  • Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.0 (#1310)
  • Bump k8s.io/client-go from 0.28.0 to 0.28.1 (#1308)
  • Bump k8s.io/code-generator from 0.28.0 to 0.28.1 (#1307)
  • Bump k8s.io/code-generator from 0.27.4 to 0.28.0 (#1300)
  • Bump k8s.io/client-go from 0.27.4 to 0.28.0 (#1297)

v0.23.1

Changelog

  • securityContext adjusted (#1261)
  • allow changing the default revisionHistoryLimit (#1286)
  • Bump k8s.io/client-go from 0.27.3 to 0.27.4 (#1277)
  • Bump k8s.io/code-generator from 0.27.3 to 0.27.4 (#1278)
  • Bump github.com/onsi/gomega from 1.27.8 to 1.27.10 (#1279)
  • Bump k8s.io/api from 0.27.3 to 0.27.4 (#1281)
  • Bump golang.org/x/crypto from 0.11.0 to 0.12.0 (#1287

v0.23.0

Changelog

  • Add option for custom annotations and labels on sealing keypairs (#1250)
  • Add option to patch secrets instead of clobbering them (#1259)
  • Improve CLI UX error message while service is not found (#1256)
  • Add namespaced roles support to Helm chart (#1240)
  • add --log-info-stdout to chart (#1238)
  • Fix networkpolicy port + add egress (#1243)
  • Create index for Sealed Secrets public documentation (#1264)
  • Getting started page (#1253)
  • Create a FAQ document for Sealed Secrets public documentation (#1269)
  • Create a cryptography document for Sealed Secrets public documentation (#1267)
  • Validate existing Sealed Secrets document (#1266)
  • added support policy to readme (#1265)
  • Add missing document seperator (#1260)
  • Enable full linter support for golangci-lint (#1262)
  • Update minikube K8S versions (#1251)
  • Bump github.com/onsi/ginkgo/v2 from 2.10.0 to 2.11.0 (#1254)
  • Bump k8s.io/code-generator from 0.27.2 to 0.27.3 (#1255)
  • Bump golang.org/x/crypto from 0.10.0 to 0.11.0 (#1268)
  • Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 (#1247)
  • Bump golang.org/x/crypto from 0.9.0 to 0.10.0 (#1248)
  • Bump k8s.io/client-go from 0.27.2 to 0.27.3 (#1244)

v0.22.0

Changelog

  • Feature allow to skip set owner references (#1200)
  • Add additionalPrinterColumns for status and age (#1217)
  • Add replicas default value to the deployment manifest (#1219)
  • Create SECURITY.md (#1226)
  • Fix doc generated code directory (#1227)
  • Update generated code (#1228)
  • Update maintainers list (#1237)
  • Bump github.com/onsi/ginkgo/v2 from 2.9.4 to 2.9.5 (#1215)
  • Bump golang.org/x/crypto from 0.8.0 to 0.9.0 (#1216)
  • Bump k8s.io/apimachinery from 0.27.1 to 0.27.2 (#1221)
  • Bump k8s.io/client-go from 0.27.1 to 0.27.2 (#1222)
  • Bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 (#1223)
  • Bump k8s.io/code-generator from 0.27.1 to 0.27.2 (#1225)
  • Bump github.com/onsi/gomega from 1.27.6 to 1.27.7 (#1229)
  • Bump github.com/onsi/ginkgo/v2 from 2.9.5 to 2.9.7 (#1231)
  • Bump github.com/onsi/gomega from 1.27.7 to 1.27.8 (#1234)
  • Bump github.com/onsi/ginkgo/v2 from 2.9.7 to 2.10.0 (#1235)

v0.21.0

Changelog

  • Enable logging info to stdout(#1195)
  • Bump github.com/prometheus/client_golang from 1.15.0 to 1.15.1 (#1204)
  • Bump github.com/onsi/ginkgo/v2 from 2.9.2 to 2.9.4 (#1203)
  • Bump k8s.io/klog/v2 from 2.90.1 to 2.100.1 (#1201)
  • Bump k8s.io/code-generator from 0.26.3 to 0.27.1 (#1188)
  • Bump k8s.io/client-go from 0.26.3 to 0.27.1 (#1187)
  • Bump github.com/prometheus/client_golang from 1.14.0 to 1.15.0 (#1189)

v0.20.5

Changelog

  • Generate embedded ObjectMeta in CRD (#1177)
  • Sign images using Cosign v2 (#1176)
  • ReProcess only on spec changes (#1174)
  • Upgrade sealed secrets to Go 1.20 (#1173)
  • Fix cosign command for goreleaser (#1180)
  • Fix kubeseal image sign for cosign v2 (#1182)
  • Remove automountServiceAccountToken parameter (#1162)
  • Verify chart with secret recreation disabled (#1163)
  • Bump golang.org/x/crypto from 0.7.0 to 0.8.0 (#1175)
  • Bump github.com/onsi/gomega from 1.27.5 to 1.27.6 (#1169)
  • Bump github.com/onsi/gomega from 1.27.4 to 1.27.5 (#1168)
  • Bump github.com/mattn/go-isatty from 0.0.17 to 0.0.18 (#1167)
  • Bump github.com/onsi/ginkgo/v2 from 2.9.1 to 2.9.2 (#1166)
  • Bump k8s.io/apimachinery from 0.26.2 to 0.26.3 (#1160)
  • Bump k8s.io/code-generator from 0.26.2 to 0.26.3 (#1159)
  • Bump k8s.io/api from 0.26.2 to 0.26.3 (#1158)
  • Bump k8s.io/client-go from 0.26.2 to 0.26.3 (#1157)
  • Update VIB release tag format (#1165)
  • Update VIB action (#1164)
  • Include dockerhub pull statistics in the project README (#1172)

v0.20.4

Incomplete release

v0.20.3

Incomplete release

v0.20.2

Changelog

  • Fix panic when skip recreate is enabled (#1152)

v0.20.1

Changelog

  • Parametrize cluster role name (#1141)
  • Allow automountServiceAccountToken to be set to false (#1128)
  • Allow to disable secret auto-recreation (#1118)
  • Bump github.com/onsi/gomega from 1.27.2 to 1.27.4 (#1143)
  • Bump k8s.io/client-go from 0.26.1 to 0.26.2 (#1136)
  • Bump k8s.io/code-generator from 0.26.1 to 0.26.2 (#1137)
  • Bump k8s.io/api from 0.26.1 to 0.26.2 (#1135)
  • Bump github.com/onsi/gomega from 1.27.1 to 1.27.2 (#1134)
  • Bump k8s.io/apimachinery from 0.26.1 to 0.26.2 (#1133)
  • Bump k8s.io/klog/v2 from 2.90.0 to 2.90.1 (#1132)
  • Bump github.com/onsi/ginkgo/v2 from 2.8.3 to 2.9.0 (#1131)
  • Bump golang.org/x/crypto from 0.6.0 to 0.7.0 (#1130)
  • Ensure vib runs only when PR is approved (#1121)
  • Run VIB Helm chart validations on push to main (#1140)
  • Update parameters table (#1139)
  • Update docs (#1127)

v0.20.0

Incomplete release

v0.19.5

Changelog

  • Automated controller test on Openshift platforms (using (VMware Image Builder) (#1107).
  • We now generate a Carvel package distribution of the controller (#1104).
  • Bump golang.org/x/crypto from 0.5.0 to 0.6.0 (#1108).
  • Bump github.com/onsi/gomega from 1.25.0 to 1.26.0 (#1103).
  • Bump k8s.io/code-generator from 0.26.0 to 0.26.1 (#1102).
  • Bump github.com/onsi/ginkgo/v2 from 2.7.0 to 2.8.0 (#1101).
  • Bump k8s.io/api from 0.26.0 to 0.26.1 (#1097).
  • Bump k8s.io/client-go from 0.26.0 to 0.26.1 (#1096).
  • Bump k8s.io/klog/v2 from 2.80.1 to 2.90.0 (#1094).
  • Bump k8s.io/apimachinery from 0.26.0 to 0.26.1 (#1093).

v0.19.4

Changelog

  • Bump github.com/onsi/ginkgo/v2 from 2.6.1 to 2.7.0 (#1086).
  • Bump golang.org/x/crypto from 0.4.0 to 0.5.0 (#1085).
  • Bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17 (#1083).
  • Bump github.com/onsi/gomega from 1.24.1 to 1.24.2 (#1079).
  • Bump k8s.io/code-generator from 0.25.4 to 0.26.0 (#1078).
  • Bump github.com/onsi/ginkgo/v2 from 2.6.0 to 2.6.1 (#1077).

v0.19.3

Changelog

  • Update to Go 1.19.4 (#1073).
  • Bump k8s.io/client-go from 0.25.4 to 0.26.0 (#1071).
  • Bump golang.org/x/crypto from 0.3.0 to 0.4.0 (#1072).
  • Bump github.com/onsi/ginkgo/v2 from 2.5.1 to 2.6.0 (#1069).
  • Bump k8s.io/api from 0.25.4 to 0.26.0 (#1068).
  • Bump golang.org/x/crypto from 0.2.0 to 0.3.0 (#1063).
  • Bump k8s.io/client-go from 0.25.3 to 0.25.4 (#1062).
  • Bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1 (#1061).

v0.19.2

Changelog

  • Distinguish std & k8s errors (#1046).
  • Fix empty Group Version Kind (#1044).
  • Regenerate code - detected some dummy changes (#1033).
  • Decouple the kubeseal CLI from the kubeseal library (#1030).
  • Remove namespaceFn (#1029).

v0.19.1

Changelog

  • Fix release dockerhub container image name(#1014).

v0.19.0

Changelog

  • FEATURE: Support to recreate a deleted secret generated by the controller(#963).
  • Update golang.org/x/text fixing CVE-2022-32149 (#1008).
  • Expired certificate error now prints expiration date in kubeseal(#986).

v0.18.5

Changelog

  • Fix controller.yaml having no image reference (#977)

v0.18.4

Changelog

  • Upgrade Go version, dependencies and fix CVE-2022-27664 (#960)
  • Move kubeseal to its own package (#939)
  • Several refactors to the controller (#940 & #947)
  • Generate a proper schema for the CRD (#941, #957, #964, #966 & #970)
  • Publish kubeseal in a container image (#921)

v0.18.3

Incomplete release

v0.18.2

Changelog

  • Replace ioutil with io or os (#895)
  • Remove CLI global variables and refactor flag handling (#901 & #920)
  • Upgrade Go version, dependencies and tooling (#904 & #905)

v0.18.1

Changelog

  • Add flags to set the rate limit for the verify endpoint (#873)

v0.18.0

Changelog

  • Add capability to watch multiple namespaces (#572)
  • Bump gopkg.in/yaml.v3 to avoid CVE-2022-28948 (#852)
  • Bump prometheus/client_golang and crypto dependencies to avoid CVE-2022-21698 and CVE-2022-27191 (#831)
  • Sign container images with cosign (#810 and #851)

v0.17.5

Changelog

  • Switch to dockerhub(#823)
  • Sign the release using cosign (#814)

v0.17.4

Changelog

  • Fix linter errors running golangci-lint (#751)(#771)
  • Added kubeseal support for darwin/arm64 (#752)
  • Bump prometheus/client_golang dependency to avoid CVE-2022-21698 (#783)

v0.17.3

Changelog

  • Unseal templates even when encryptedData is empty (#653)
  • Add new RBAC rules to make Sealed Secret compatible with K8s environments with RBAC enabled (#715)
  • Allow re-encrypt/validate functionalities to work with named ports defined in the Sealed Secret service (#726)
  • Fix verbose logging (#727)

v0.17.2

Changelog

  • Fix issue fetching the certificate when the Sealed Secrets service has a named port (#648)
  • Drop support for Go < 1.16 and bump client-go version (#705)

v0.17.1

Changelog

  • Binaries to emit the proper version (#683)
  • Re-enable publishing K8s manifests in GH releases (#678)

v0.17.0

Announcements

This release finally turns on the update-status feature flag that was introduced back in v0.12.0. The feature is considered stable (if it doesn't work for you, you can deactivate it by setting SEALED_SECRETS_UPDATE_STATUS=0 in the controller manifest).

Changelog

  • Update rbac api version to rbac.authorization.k8s.io/v1 (#602)
  • Enable --update-status by default (#583)

v0.16.0

Changelog

  • Add ability to template arbitrary data keys within resulting secrets (#445)
  • Fix status CRD in controller.yaml (backport from helm chart) (#567)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/26?closed=1

v0.15.0

This release contains a couple of fixes in the controller and manifests.

Notable mention: You can give the --update-status (also available as env var SEALED_SECRETS_UPDATE_STATUS=1) feature flag another try. We'll turn it on by default in the next release v0.17.0.

Changelog

  • Remove '{}' in CRD schema properties so that ArgoCD doesn't get confused (#529)
  • Fix bug in status updates (#223)
  • Add label-selector to filter Sealed Secrets (#521)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/28?closed=1

v0.14.1

Changelog

  • Fixed condition_info prometheus metric disappearance (#504)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/27?closed=1

v0.14.0

Changelog

  • Updated CustomResourceDefinition to apiextensions.k8s.io/v1 (#490)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/19?closed=1

v0.13.1

Changelog

  • Make it easier to upgrade from ancient (pre v0.9.0) controllers (#466)
  • Prometheus: add namespace to unseal error metric (#463)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/17?closed=1

v0.12.6

Announcements

This release contains a fix for CVE-2020-14040, which could have opened the possibility for an attacker to cause a DoS on the sealed-secret controller (provided the attacker can cause the controller to process a malicious sealed secret resource).

Changelog

  • Fix CVE-2020-14040 (#456)
  • Don't require a namespace when using --raw and cluster-wide scope (#451)
  • Unregister Prometheus Gauges associated to removed SealedSecrets conditions (#422)
  • Add -f and -w flags as an alternative to stdin/out (#439)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/24?closed=1

v0.12.5

Changelog

  • Add condition_info metric to expose SealedSecrets status (#421)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/23?closed=1

v0.12.4

Announcements

The binaries in this release have been rebuilt with the Go 1.14.3 toolchain. No other changes in binaries nor k8s manifests.

Changelog

  • Build with latest Go 1.14.x version (#411)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/22?closed=1

v0.12.3

Announcements

This release contains only a change in the kubeseal binary since v0.12.2. No controller nor k8s manifest changes.

Changelog

  • Fix --merge-into file permissions on Windows (#407)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/21?closed=1

v0.12.2

Announcements

This release contains important changes in manifests since v0.12.1. It also contains a minor fix in kubeseal client.

Previously, users upgrading to v0.12.x from previous versions would experience:

The Deployment "sealed-secrets-controller" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/managed-by":"jsonnet", "app.kubernetes.io/name":"kubeseal", "app.kubernetes.io/part-of":"kubeseal", "app.kubernetes.io/version":"v0.12.1", "name":"sealed-secrets-controller"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable

This was caused by a bug in our official yaml manifests introduced in v0.12.0. Users of the Helm chart were unaffected.

By reverting this issue we're are going to cause the same bad experience for users who did perform a clean install of v0.12.x. However, we believe such users are a minority.

Changelog

  • Revert "Add recommended labels" (#404)
  • remove kubeconfig deps from recovery-unseal (#394)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/19?closed=1

v0.12.1

Announcements

This release contains changes in kubeseal and controller binaries but no changes in manifests since v0.12.0.

This release is a fixup release that turns off the status update feature introduced in v0.12.0. Several users have reported a severe bug (an infinite feedback loop where the controller kept updating SealedSecrets and consuming lots of CPU).

In order to turn it back on you need to manually pass the --update-status flag to the controller (or pass the SEALED_SECRETS_UPDATE_STATUS=1 env var)

Changelog

  • Make it easier to use --raw from stdin (#386)
  • Deactivate status updates unless a feature flag is explicitly passed (#388)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/18?closed=1

v0.12.0

Announcements

This release contains changes in kubeseal and controller binaries as well as a minor change to the k8s manifest (see #381); keep that in mind if you don't rely on the official k8s manifests, including the community-maintained Helm chart.

Status field

Now the Sealed Secrets controller updates the Status field of the SealedSecrets resources. This makes it easier for automation like ArgoCD to detect whether (and when) the controller has reacted to changes in the SealedSecret resources and produced a Secret. It also shows an error message in case it fails (many users are not familiar with k8s events and they may find it easier to see the error message in the status).

Prometheus

The Sealed Secrets controller now exports prometheus metrics. See also contrib/prometheus-mixin and controller-podmonitor.yaml.

Changelog

  • Update Status field (#346)
  • Add prometheus metrics (#177)
  • Upgrade k8s client-go to v0.16.8 (#380)
  • kubeseal no longer emits empty status: {} field (#383)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/16?closed=1

v0.11.0

Announcements

This release contains only changes in kubeseal binary (no k8s manifest changes required).

For those who choose the name and namespace after sealing the secret

Creating secrets with namespace-wide and cluster-wide scopes is now easier as it no longer requires manually adding annotations in the input Secret before passing it to kubeseal. This was often the root cause of many support requests. Now all you need to do is to:

$ kubeseal --scope namespace-wide <input-secret.yaml >output-sealed-secret.json

Changelog

  • Honour --scope flag (#371)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/15?closed=1

v0.10.0

Announcements

This release supports the ARM 32 bit and 64 bit architectures, both on the client and the controller sides.

We also end the silly streak of patch level releases that actually contained features. We'll try to bump the minor version on every release except true hotfixes.

Changelog

  • Provide multi-arch Container image for Sealed Secrets controller (#349)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/2?closed=1

v0.9.8

Announcements

This release contains only changes in Linux kubeseal-arm and kubeseal-arm64 binaries. There are no changes in the docker images, nor in the x86_64 binaries for any of the supported OS.

Changelog

  • Fix bad release of Linux ARM7 and ARM64 binaries (#362)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/14?closed=1

v0.9.7

Announcements

This release contains changes in kubeseal and controller binaries as well as a minor change to the k8s manifest (see #338); keep that in mind if you don't rely on the official k8s manifests, including the community-maintained Helm chart.

Allow overwriting existing secrets

By default, the sealed-secrets controller doesn't unseal a SealedSecret over an existing Secret resource (i.e. a resource that has not been created by the sealed-secrets controller in the first place).

This is an important safeguard, not only to catch accidental overwrites due to typos etc, but also as a security measure: the sealed-secrets controller can create/update Secret resources even if the user who has the RBAC rights to create the SealedSecret resource doesn't have the right to create/update a Secret resource. We didn't want the sealed-secret controller to give its users more effective rights than what they would otherwise have without the sealed-secrets controller. A simple way to achieve that was permit only updates (overwrites) to Secret resources that were already owned by the sealed-secrets controller (which also seemed a sensible thing to do since it protects from accidental overwrites).

However, this behavior gets in the way when you're just starting to use SealedSecrets and want to migrate your existing Secrets into SealedSecrets.

You now can just annotate your Secrets with sealedsecrets.bitnami.com/managed: true thus indicating that they can be safely overwritten by the sealed-secrets controller. This doesn't loosen our security model since you'd have to have RBAC rights to annotate the existing secrets (e.g. with kubectl annotate) or you can ask your friendly admins to do it on your behalf.

Changelog

  • Release includes ARMv7 and ARM64 binaries (although no docker images yet) (#173)
  • Set fsGroup to nobody in order to support BoundServiceAccountTokenVolume (#338)
  • Add --force-empty-data flag to allow (un)sealing an empty secret (#334)
  • Avoid forcing the default namespace when sealing a cluster-wide secret (#323)
  • Introduce the sealedsecrets.bitnami.com/managed: true annotation which controls overwriting existing secrets (#331)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/13?closed=1

v0.9.6

Announcements

This release contains only changes in kubeseal and controller binaries (no k8s manifest changes required).

Preliminary support for running multiple controllers

It always been possible in theory to run multiple controller instance in multiple namespaces, each with their own sealing encryption keys and thus each able to unseal secrets intended for it. However, doing so created a lot of noise in the logs, since each controller wouldn't know which secrets are meant to be decryptable, but failed to decrypt, and which it ought to ignore.

Since v0.9.6 you can reduce this noise by setting the --all-namespaces flag to false (also via the env var SEALED_SECRETS_ALL_NAMESPACES=false).

Changelog

  • Give an option to search only the current namespace (#316)
  • Support parsing multiple private keys in --recovery-private-key (#325)
  • Add klog flags so we can troubleshoot k8s client (#320)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/12?closed=1

v0.9.5

Announcements

This release contains only changes in kubeseal binary (no k8s manifest changes required).

Changelog

  • Improve error reporting in case of missing kubeconfig when inferring namespace (#313)
  • Teach kubeseal to decrypt using backed up secrets (#312)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/11?closed=1

v0.9.4

Announcements

This release contains only changes in kubeseal and controller binaries (no k8s manifest changes required).

Changelog

  • Remove tty warning in --fetch-cert (regression caused by #303 released in v0.9.3) (#306)
  • Implement --recovery-unseal to help with disaster recovery (#307)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/10?closed=1

v0.9.3

Announcements

This release contains only changes in kubeseal and controller binaries (no k8s manifest changes required).

Changelog

  • Implement --key-cutoff-time (#299)
  • Warn if stdin is a terminal (#303)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/9?closed=1

v0.9.2

Announcements

This release contains only changes in kubeseal and controller binaries (no k8s manifest changes required).

Periodic key renewal and offline certificates

A few people have raised concerns of how will automatic key+certificate renewal affect the offline signing workflow. First, a clarification: nothing changed. You can keep using your old certificates; it's just that if you do, you won't benefit from the additional security given from the periodic key renewal.

In order to simplify the workflow for those who do want to benefit from the key renewal, but at the same time cannot access the target cluster (while not being completely offline), we offer a little feature that will help: --cert has learned to accept http(s) URLs. You can point it to a place where you serve up-to-date certificates for your clusters (tip/idea: you can expose the controller's cert.pem files with an Ingress).

Changelog

  • Accept URLs in --cert (#281)
  • Improve logs/events in case of decryption error (#274)
  • Reduce likelihood of name/namespace mismatch when using --merge-into (#286)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/8?closed=1

v0.9.1

  • Make manifests compatible with k8s 1.16.x (#269)
  • Fix non-strict scopes with --raw (#276)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/7?closed=1

v0.9.0

Announcement

Private key renewal

This release turns on an important security feature: a new private key will be now created every 30 days by default. Existing sealed-secrets resources will still be decrypted until the keys are manually phased out.

You can read more about this feature and the problem of secret rotation and how it interacts with Sealed Secrets in this README section or in the original GH issue #137.

This feature alone is not technically a breaking change for people who use the offline workflow with kubeseal --cert, since old keys are not rotated out automatically. Users would be required to update their offline certs only when they purge old keys manually (we might introduce automatic purging in the future).

That said, to reap the benefits of key renewal, users of the offline workflow are encouraged to update their offline certificates every time a new key is generated (by default every 30 days).

Pre-v0.7.0 clients

If you are using kubeseal clients older than v0.7.0, please upgrade. Since this release the controller will no longer accept the "v1" format of the encrypted "data" field and instead it will only support the "encryptedData" field.

If you have old sealed secret resources lying around, you can easily upgrade them by invoking:

kubeseal --re-encrypt <old.yaml >new.yaml

Update items

Since version v0.7.0 it was possible to update individual items in the encryptedData field of the Sealed Secret resource, but you had to manually copy&paste the encrypted items into an existing resource file. The required steps were never spelled out in the documentation and to be fair it always felt quite awkward.

Now kubectl has learned how to update an existing secret, whilst preserving the same general operation principles, namely staying out of the business of actually crafting the secret itself (kubectl create secret ... and its various flags like --from-file, --from-literal, etc). Example:

$ kubectl create secret generic mysecret --dry-run -o json --from-file=foo=/tmp/foo \
  | kubeseal >sealed.json
$ kubectl create secret generic mysecret --dry-run -o json --from-file=bar=/tmp/bar \
  | kubeseal --merge-into sealed.json

Changelog

  • Doc improvements.
  • Rename "key rotation" to "key renewal" since the terminology was confusing.
  • Key renewal is enabled by default every 30 days (#236)
  • You can now use env vars such as SEALED_SECRETS_FOO_BAR to customize the controller (#234)
  • Deactivating by default deprecated "v1" encrypted data format (used by pre-v0.7.0 clients) (#235)
  • Fix RBAC rules for /v1/rotate and /v1/validate fixing #166 for good (#249)
  • Implement the --merge-into command (#253)
  • Add the -o alias for --format (#261)
  • Add the --raw command for only encrypting single items (#257)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/1?closed=1

v0.8.3

Announcements

This release contains a fix for a possible secret leak that can happen when sealing existing secrets that have been retrieved from a cluster (e.g. with kubectl get) where they have been created with kubectl apply (as opposed to kubectl create). This potential problem has been introduced v0.8.0 when kubeseal learned how to preserve annotations and labels.

Please check your existing sealed secret sources for any annotation kubectl.kubernetes.io/last-applied-configuration, because that annotation would contain your original secrets in clear.

This release strips this annotation (and a similar annotation created by the kubecfg tool)

Changelog

Fixes in this release:

  • Round-tripping secrets can leak clear-text in last-applied-configuration (#227)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/6?closed=1

v0.8.2

Fixes in this release:

  • Endless loop in controller on invalid base64 encrypted data bug (#201)
  • Fix RBAC for /v1/cert.pem public key in isolated namespaces, removes most use cases for offline sealing with --cert (#208,#166)
  • Accept and seal stringData into secret (#221)
  • Fix a couple of blockers for enabling (still experimental) key rotation (#185, #219, #218)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/5?closed=1

v0.8.1

Fixes in this release:

  • Solve kubectl auth issues with clusters using client.authentication.k8s.io/v1beta1 config by upgrading to client-go v12.0.0 (#183)
  • Fix controller crash when writing logs due to read-only root FS (#200)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/4?closed=1

v0.8.0

The main improvements in this release are:

  • support for annotations and labels (#92)
  • support for secrets rotation opt-in (#137)
  • fix bug with OwnerReferences handling (#127)
  • EKS support; client-go version bump to release-7.0 (#110)
  • Instructions to run on GKE when user is not cluster-admin (#111)
  • Windows binary of kubeseal (#85)
  • Internal codebase modernization (e.g. switch to Go modules)

The full Changelog is maintained in https://github.com/bitnami-labs/sealed-secrets/milestone/3?closed=1

Many thanks for all the folks who contributed to this release!

v0.7.0

Big change for this release is the switch to per-key encrypted values.

  • ("Keys" as in "object key/value", not as in "encryption key". English is hard.)*
  • Previously we generated a single big encrypted blob for each Secret, now we encrypt each value in the Secret separately, with the keys in plain text. This allows:
    • Existing keys can now be renamed and deleted without re-encrypting the value(s).
    • New keys/values can be added to the SealedSecret without re-encrypting (or even having access to!) the existing values.
    • Note that (as before) the encrypted values are still tied to the namespace/name of the enclosing Secret/SealedSecret, so can't be moved to another Secret. (The cluster-wide annotation does allow this, with the corresponding caveats, as before)
  • The kubeseal tool does not yet have an option to output just a single value, but you can safely mix+match the individual values from kubeseal output with an existing SealedSecret. Improving kubeseal support for this feature is still an open action item.
  • Existing/older "all-in-one" SealedSecrets are declared deprecated, but will continue to be supported by the controller for the foreseeable future. New invocations of the kubeseal tool now produce per-key encrypted output - if you need to produce the older format, just use an older kubeseal. Please raise a github issue if you have a use-case that requires supporting "all-in-one" SealedSecrets going forward.
  • Note the CRD schema used for server-side validation in k8s >=1.9 has been temporarily removed, because it was unable to support the new per-key structure correctly (see kubernetes/kubernetes#59485).
  • Huge thanks to @sullerandras for the code and his persistence in getting this merged!

v0.6.0

  • Support "cluster wide" secrets, that are not restricted to the original namespace
    • Set sealedsecrets.bitnami.com/cluster-wide: "true" annotation
    • Warning: cluster-wide SealedSecrets can be decrypted by anyone who can create a SealedSecret in your cluster
  • Move to client-go v5.0
  • Move to bitnami-labs github org
  • Fix bug in schema validation for k8s 1.9

v0.5.1

Note: this version moves TPR/CRD definition into a separate file. To install, you need controller.yaml and either sealedsecret-tpr.yaml or sealedsecret-crd.yaml

  • Add CRD definition and TPR->CRD migration documentation
  • Add kubeseal --fetch-cert to dump server cert to stdout, for later offline use with kubeseal --cert
  • Better sanitization of input object to kubeseal

(v0.5.1 fixes a travis/github release issue with v0.5.0)

v0.5.0

v0.4.0

  • controller: deployment security hardening: non-root uid and read-only rootfs
  • kubeseal: Include oidc and gcp auth provider plugins
  • kubeseal: Add support for YAML output

v0.3.1

  • Add controller-norbac.yaml to the release build. This is controller.yaml without RBAC rules and related service account - for environments where RBAC is not yet supported, like Azure.
  • Fix missing controller RBAC ClusterRoleBinding in v0.3.0

v0.3.0

Rename everything to better represent project scope. Better to do this early (now) and apologies for the disruption.

  • Rename repo and golang import path -> bitnami/sealed-secrets
  • Rename cli tool -> kubeseal
  • Rename SealedSecret apiGroup -> bitnami.com

v0.2.1

  • Fix invalid field resourceName in v0.2.0 controller.yaml (thanks @Globegitter)

v0.2.0

  • Client tool has better defaults, and can fetch the certificate automatically from the controller.
  • Improve release process to include pre-built Linux and OSX x86-64 binaries.

v0.1.0

Basic functionality is complete.

v0.0.1

  • Clean up controller.jsonnet
  • Switch to quay.io (docker hub doesn't offer robot accounts??)
  • Add deploy section to .travis.yml