diff --git a/README.md b/README.md index 75eb989..949e593 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 #yampl {{ .repo }}:{{ .tag }} + $ yampl example.yaml -v repo=docker.io/nginx -v tag=1.21.6 + image: docker.io/nginx:1.21.6 #yampl {{ .repo }}:{{ .tag }} ``` +> [!NOTE] +> All variables must be set for a node to be changed. 3. Using a [Sprig](https://masterminds.github.io/sprig/) function: ```shell