github werf/werf v1.1.23+fix16
werf v1.1.23+fix16

latest releases: latest-signature, v2.0.3, v2.0.2...
3 years ago

[config] Add fromYaml function

  • fromYAML(str string) (map[string]interface{}, error)
  • return error if unmarshalling failed

werf.yaml

...
{{- $values := .Files.Get "werf_values.yaml" | fromYaml -}} // or fromYaml (.Files.Get "werf_values.yaml")
from: {{- $values.image.from }}

werf_values.yaml

image:
    from: alpine

Installation

Linux amd64

Darwin amd64

Windows amd64

Don't miss a new werf release

NewReleases is sending notifications on new releases.