Skip to content

v0.2.7

Choose a tag to compare

Changes

Add some template functions (available in HelmGenerator and KustomizeGenerator); the full list of template functions (on top of or overloading go template standard and sprig functions) is now:

  • toYaml: same as mustToYaml
  • mustToYaml: as in helm
  • fromYaml: same as mustFromYaml
  • mustFromYaml: as in helm
  • toJson: same as mustToJson
  • mustToJson: as in helm
  • toPrettyJson: same as mustToPrettyJson
  • mustToPrettyJson: as in helm
  • toRawJson: same as mustToRawJson
  • mustToRawJson: as in helm
  • fromJson: same as mustFromJson
  • mustFromJson: as in helm
  • required: as in helm
  • include: as in helm
  • tpl: as in helm
  • lookup: as in helm
  • mustLookup: same as lookup, but fails if referenced object does not exist
  • localLookup: looks up given object in local cluster (that is the cluster where the component exists); returns an empty map if object does not exist
  • mustLocalLookup: same as localLookup, but fails if referenced object does not exist