Skip to content

Conversation

pd93
Copy link
Member

@pd93 pd93 commented Apr 28, 2025

Fixes #2217

Adds 4 YAML templating functions to match the existing JSON ones from slim-sprig:

  • fromYaml
  • mustFromYaml
  • toYaml
  • mustToYaml

Note there is no toPrettyYaml as YAML encoding has newlines/indentation by default and no toRawYaml.

@pd93 pd93 enabled auto-merge (squash) April 28, 2025 12:16
@pd93 pd93 merged commit d850d03 into main Apr 28, 2025
14 checks passed
@pd93 pd93 deleted the 2217-yaml-templating-funcs branch April 28, 2025 12:19
pd93 added a commit that referenced this pull request Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fromYaml not defined
2 participants