Skip to content

Release v0.7.0

Choose a tag to compare

@invoca-ruby-repos invoca-ruby-repos released this 23 Jul 13:58
439e92e

Added

  • --variable-override now supports dotted-path keys (components.webServer.hpa.minReplicas:2) that deep-merge into nested variables, with JSON value coercion (integers, floats, booleans, null, quoted strings; non-JSON values stay raw strings) and \. escaping for literal dots. Plain KEY:VALUE (no dot) behaves exactly as before: top-level key, raw string value.
  • Added --variable-override-json '<json object>' (repeatable), deep-merged with all other override flags in command-line order (later flags win). Use it for values containing commas or whole structures.
  • Overrides are echoed once to stdout at render start (Variable overrides (deep-merged after definitions.yaml): {...}). Rendered files still carry no override comment (see 0.3.0).

Changed

  • Template#initialize merges variable_overrides with deep_merge instead of merge. Behavior-identical for all previously-valid inputs (legacy override values are always strings, so no hash-vs-hash merge could occur).