Skip to content

v0.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 19:34
· 31 commits to main since this release
7a98f5a

🔆 Highlights

External CRD References in CEL Expressions

KRO now supports referencing external Custom Resource Definitions in CEL expressions, enabling validation and type checking against CRDs that exist in your cluster but aren't defined within the ResourceGraphDefinition. This unlocks scenarios where your composed resources need to reference fields from external operators or platform CRDs, such as exposing an external CRD's metadata.generation in your instance status. (#840)

Improved CEL Expression Handling

Significant improvements to the CEL AST inspector for handling complex expressions. kro now properly processes struct literals, map expressions, list expressions (enabling patterns like "%s:%s".format([namespace, name])), and timestamp references. These fixes resolve validation failures and panics that occurred with advanced CEL patterns. (#849, #850, #853)

Standard Controller-Runtime Logging

Breaking Change: ⚠️ Adopted controller-runtime's standard logging flags, replacing the custom --log-level flag with --zap-log-level and related options. The default log level is now info instead of the previous overly-verbose level 10. Existing deployments using --log-level will need to migrate to --zap-log-level. JSON logging can be enabled with --zap-encoder=json. (#791)

Managed-By Labels for KRO Resources

All resources owned by KRO now include the app.kubernetes.io/managed-by label, following Kubernetes recommended labels conventions. This makes it easier to identify and query KRO-managed resources across your cluster. (#851)

✨ Features

  • feat: allow CEL expressions to reference external CRDs by @a-buck in #840
  • chore: add managedby label to kro owned resources by @michaelhtm in #851
  • refactor: adopt controller-runtime standard logging flags by @bschaatsbergen in #791

🐛 Bugfixes

📖 Documentation

  • dogsvscat app example commit by @7navyasa in #765
  • docs: add SaaS Multi-Tenant examples by @kennygt51 in #808
  • docs: add examples for Secret use-case with base64 decoding by @sk31337 in #846
  • feat(website): add Mermaid diagram support to Docusaurus by @kennygt51 in #838

🌱 Other

New Contributors

Full Changelog: v0.6.3...v0.7.0