Skip to content

Releases: plexsystems/konstraint

v0.13.0

12 May 14:59
b31ce50

Choose a tag to compare

Features

  • Add the --no-rego flag to the doc command to disable displaying the Rego in the generated documentation (#154)

v0.12.1

20 Apr 04:09
a5e96aa

Choose a tag to compare

Bug Fixes

  • Ensure generated file permissions are sane (#137) -- thanks @hnts !
  • Fix panic when handling Kind matchers (#144) -- thanks @hnts !
  • Fix YAML rendering on Windows (#147)

Other Improvements

  • Bump OPA dependency to 0.27.1 (#143)
  • Bump Go to 1.16 (#145)
  • Acceptance tests now run on Windows, Mac, and Linux (#146)

v0.12.0

13 Feb 19:25
365f866

Choose a tag to compare

Features

  • Add @skip-constraint annotation (#130)

Bug Fixes

  • Fix panic when an import is not found (#129)

v0.11.0

02 Feb 03:45
ade1d2e

Choose a tag to compare

Features

  • Allow skipping Constraint generation with --skip-constraints (#105). Thanks @artis3n !

Bug Fixes

  • Fix bug where Kinds were duplicated (#116). Thanks @dulltz !

Other Improvements

  • Better handling of the comment header block (#104)
  • Bump opa dependency to 0.26.0, adding ceil and floor builtins (#121)

v0.10.0

11 Dec 01:27
c69ad52

Choose a tag to compare

Features

  • Support for matchLabels targeting during generation of Constraint resources (#94) thanks @dulltz !

Bug Fixes

  • doc command now sorts alphabetically, including the optional policy ID (#96) thanks @artis3n !

Documentation

  • Fix typo in constraint_creation.md (#92) thanks @dulltz !

Other Improvements

  • Bump opa dependency to 0.25.2 for performance improvements and to enable the use of new built-ins (#102)

v0.9.2

17 Nov 19:07
b39a548

Choose a tag to compare

Improvements

  • Documentation generation now includes policies with the @enforcement tag set to dryrun (#84)

v0.9.1

06 Nov 22:21
890551d

Choose a tag to compare

Improvements

  • lib.core now supports parameters via Gatekeeper or Conftest's --data (#80)
  • lib.core now exposes group and version in addition to apiVersion (#81) (thanks @rawc0der!)

v0.9.0

01 Nov 01:19
845860f

Choose a tag to compare

New Features

  • Support for parameterized policies (#79)

Bug Fixes

  • Fix regression where Konstraint did not attempt to create the directory specified with the --output flag (#76)

v0.8.0

02 Oct 00:43
192bef1

Choose a tag to compare

New Features

  • Ability to set the enforcement action per policy (#71)

Other Improvements

  • Restructured the internal Rego package to improve maintainability (#69)
  • Policies are now compiled during processing, ensuring they are valid (#69)
  • The library folder will be located regardless of its name (#69)

v0.7.1

19 Aug 14:39
1cac06f

Choose a tag to compare

BUG FIXES

  • Fix an issue where rules formatted with [{"msg": msg}] rather than [msg] were skipped in constraint and documentation generation.