Skip to content

Releases: bruno-delfino1995/kct

Release v0.7.0

24 Feb 03:11
v0.7.0
c1d397b
Compare
Choose a tag to compare

Added

  • install and uninstall commands to interact directly with the current cluster
  • one letter aliases to the main commands: render, install, uninstall

Changed

  • compile is now called render because compile itself is inherent to all commands that interact with a package
  • order for CRDs is ignored for performance reasons, otherwise we would need to run discover everytime a CRD is applied

Release v0.6.0

05 Feb 08:45
v0.6.0
4cf4ff4
Compare
Choose a tag to compare

Added

  • order objects at same depth according to their kind
  • add set to compile subcommand to help users change specific inputs

Changed

  • no automatic input for _.files, now it gets it from the second parameter
  • optional input parameter for _.files to keep the old experience
  • optional input parameter for _.include for packages without input
  • separate package crate into compiler and jsonnet crates

Fixed

  • _.include shared same external vars as parent compiler because of thread_local in jrsonnet

Removed

  • package command was removed because its original purpose is now achieved with jsonnet bundler
  • schema validation for example.json - you can compile with it as input to validate it

Release v0.5.0

02 Jul 03:01
v0.5.0
be18a92
Compare
Choose a tag to compare

Added

  • _.sdk.inOrder function to help specify the order in which your objects should be applied
  • kct.io external variable for the current environment, previously global _
  • kct.libsonnet to export things from kct.io more easily along with a future std

Changed

  • refactor compiler to be more pluggable with properties and validators
  • refactor bin crate as result of update to clap 3.0
  • fullName now is an "installation property" under _.name
  • centralize compilation information

Removed

  • stop compiling archived packages due to lack of dependencies management
  • _ global removed in favor of kct.io lib

Release v0.4.0

15 Dec 01:51
v0.4.0
5c176c3
Compare
Choose a tag to compare

Added

  • allows multiple occurrences of input
  • enable subpackages to render their own subpackages

Changed

  • subpackages as normal jsonnet dependencies
  • change from _.values to _.input on injected global
  • expect schema.json instead of values.schema.json
  • read default.json instead of values.json for defaults
  • no more default.json, now there's only example.json to enforce explicit inputs

Fixed

  • fix missing conversion from values to input

Release v0.3.1

04 Aug 01:56
v0.3.1
b52cd91
Compare
Choose a tag to compare

Added

  • documentation about motivation, usage, and package structure
  • include function to render a subpackage under kcps with the provided values
  • --output parameter on compile to specify where to place compiled artifacts

Changed

  • render yaml multi-documents stream instead of kubectl List object
  • --values|-f option into --input|-i on compile

Fixed

  • unwanted print when validating values
  • wrong package version on --version

Release v0.2.0

29 Jun 00:23
v0.2.0
2984a75
Compare
Choose a tag to compare

Added

  • compile KCPs from .tgz archives with files at root
  • package command to create .tgz archives for valid KCPs
  • files function to the global for compiling files with Jinja like engine
  • --only and --except parameters on compile to control which objects should be yielded
  • values.json file on the KCP structure for defaults
  • include lib path for package aliasing - inspired by tanka

Changed

  • stop using TLAs and use _ global with the previous TLAs as properties
  • rename crates to kct_$crate to enable publishing on [crates.io][https://crates.io]
  • remove main field from kcp.json in favor of static templates/main.jsonnet

Release v0.1.0

29 Jun 00:22
v0.1.0
59c4d4c
Compare
Choose a tag to compare

Added

  • compile command to build your KCP into K8s objects for kubectl apply
  • help options on CLI with the help of Clap
  • provision of values through file or stdin
  • support for jsonnet bundler by including vendor as search path
  • values validation using JSON Schema extracted from values.schema.json
  • values injection through TLA
  • package description from kcp.json
  • "extensibility" guarantees by forbidding non object paths to K8s objects