Skip to content

1.26.3

Choose a tag to compare

@sergiohinojosa sergiohinojosa released this 03 Dec 16:36
· 4 commits to main since this release
46801df

DynaKube extensions that Operator 1.11.1 accepts (#243, BUG-270)

With Dynatrace Operator 1.11.1 (DynaKube v1beta6), extensions: true produced a DynaKube the API server rejected (unknown field "spec.extensions.prometheus"). This release fixes the generator and the verifier.

  • New extensions_databases: "id1,id2" in dynakube-config.yaml (or export DK_EXTENSIONS_DATABASES=…). It writes spec.extensions.databases[] and the templates.sqlExtensionExecutor template the webhook requires, turns extensions on and keeps the 31-char name cap. An id that breaks the CRD rule (≤ 8 bytes, ^[a-z0-9]+(-[a-z0-9]+)*$) stops generation with an error and writes no file.
  • extensions: true alone now writes extensions: {}. The API server accepts it, but Operator 1.11.1 starts no extension controller for it, so generateDynakube warns.
  • Exported DK_* values survive generateDynakube. Before, it reloaded dynakube-defaults.yaml and reset an exported DK_EXTENSIONS=true to false. An edited dynakube-config.yaml still takes effect on the next call.
  • verifyDynakube rejects unknown spec.extensions fields, invalid database ids, and databases without the SQL executor template.
  • With extensions off, the generated dynakube.yaml is byte-identical to 1.26.2 (21 configurations compared).
  • Docs: docs/functions.md, docs/dynatrace-integration.md ("Extensions: SQL databases").
  • Proven on SRO through staging Orbital with Operator 1.11.1: server-side dry-run and real apply in all three modes; extensions_databases starts extension-controller-0 and sql-ext-exec-<id>.

Training repos pick this up through their framework pin. This release changes no image; no push-update has been run for it.