Templated config and secrets issue
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3.7k
- Forks
- 676
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 6
Description
Hi
I am trying to have my services load different configs/secrets based on their ID/Slot.
I have the following which is failing:
{{ secret private_key_{{.Task.Slot}} }}
Error: bad character U+007B '{'"
I have tried a few combinations but I can't get it to substitute the inner templated variable Task.Slot.
Can anyone assist in the correct syntax?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by reproducing the nested template expression and locating the templating implementation that processes service secrets; done means confirming the supported syntax or defining a narrowly scoped fix with regression coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100