diff --git a/README.md b/README.md index 75eb989..6a508fa 100644 --- a/README.md +++ b/README.md @@ -133,10 +133,12 @@ Also, see [templating](#templating) and [example](#examples) sections. 2. Template with multiple values: ```shell $ cat example.yaml - image: nginx:stable-alpine #yampl {{ repo current }}:{{ .tag }} - $ yampl example.yaml -v tag=stable - image: nginx:stable #yampl {{ repo current }}:{{ .tag }} + image: nginx:stable-alpine #yampl {{ .repo }}:{{ .tag }} + $ yampl example.yaml -v repo=docker.io/nginx -v tag=stable + image: docker.io/nginx:stable #yampl {{ .repo }}:{{ .tag }} ``` + > [!NOTE] + > All variables must be set or else a node will remain unchanged. 3. Using a [Sprig](https://masterminds.github.io/sprig/) function: ```shell