What's Changed
New features and Enhancements
-
AuthConfig v1beta2 API version became the new default version stored in the cluster database
Important! After upgrading to Authorino v0.18.0, users must migrate all AuthConfig resources to v1beta2 stored in the cluster database by running the following script. This can be done at any time before upgrading to newer versions of Authorino post this one, without downtime or any intrinsic risk of breaking deployments before, during or after the migration.
cat << 'EOF' > /tmp/migrate.sh #!/bin/bash authconfigs=$(kubectl get authconfigs -A -o custom-columns='NAMESPACE:.metadata.namespace,NAME:.metadata.name' --no-headers) while IFS=" " read -r namespace name; do kubectl get authconfig "$name" -n "$namespace" -o yaml > "/tmp/${name}.${namespace}.authconfig.yaml" kubectl apply -f "/tmp/${name}.${namespace}.authconfig.yaml" done <<< "$authconfigs" EOF chmod +x /tmp/migrate.sh /tmp/migrate.sh
Related PRs:
- Make v1beta2 the stored version by @alexsnaps in #483
- Use v1beta2 as hub version by @alexsnaps in #482
- V1beta2 by @alexsnaps in #487
-
Version info, commit sha and dirty code flag stamped inside the Authorino binary, by @ehearneRedHat in #473
Check the build info by running:docker run --rm --entrypoint authorino quay.io/kuadrant/authorino:v0.18.0 version
Dependencies and Tooling
- build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 by @dependabot in #461
- Upgrade Go version to 1.21 by @guicassolato in #465
- Bump OPA to v0.64.1 (latest) by @guicassolato in #466
- Update controller-gen to v0.15.0 by @adam-cattermole in #476
- Add license scan report and status by @fossabot in #478
Docs
- [docs] avoid false positive openssl-related security flagging by @guicassolato in #472
New Contributors
- @fossabot made their first contribution in #478
- @ehearneRedHat made their first contribution in #473
Full Changelog: v0.17...v0.18.0