Skip to content

v0.2.0 💊

Compare
Choose a tag to compare
@achetronic achetronic released this 15 May 13:01
· 34 commits to main since this release
  • Bug Fixes:

    • Sync process sometimes crashed because in some cases templateAnnotations (inside the workload object) was not present. It's solved now by initializing the variable to an empty map structure when not defined.
  • Changes:

    • Add the spec.additionalSources field in WorkloadAction CRD. This field represents a list of of Kubernetes object references.
      Referenced objects will be added to an internal Sources list which will be available into spec.condition.value

    • In addition to the previous point, we needed the capability in spec.condition.value to look for information from inside Sources, using GJSON, and have the possibility to use information coming from all the sources at once to craft complex conditions. Due to this, we introduced a pattern called search structure [<list-index>]{{ <GJSON-expression> }} whose replacements will happen just before evaluating the condition (more information inside README)

  • Contributors
    @sebastocorp