Skip to content

Commit

Permalink
updates README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhang93 committed May 7, 2024
1 parent 310339e commit 31deadb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,18 @@ PID is stored inside
],
// if source is not specified, we use the raw option to
// specify an inline template
"raw": "{{with httpjson_GET_Map \"/v1/creds\"}}\n{\"secret_key\":\"{{.SecretKey}}\"}\n{{end}}",
"raw": "<<with httpjson_GET_Map \"/v1/creds\">>\n{\"secret_key\":\"<<.SecretKey>>\"}\n<<end>>",
"render_once": true,
// render_once renders it only once
// and does not refresh preiodically
"destination": "/etc/cloud-provider/creds.json",
"missing_key": "error"
"missing_key": "error",
"template_delimiters": [
"<<",
">>"
],
// the default delimiters are {{ and }}
// this option lets you change the delimiters
}
}
}
Expand Down

0 comments on commit 31deadb

Please sign in to comment.