!template syntax isn't supported for NetworkService.port #1577
Unanswered
jordan-bonser
asked this question in
Q&A
Replies: 1 comment
-
Please don't use the template functionality for resource settings. It is intended for i.e. the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been attempting to use the environment yaml config to pass in the NetworkService port value, like so:
Unfortunately this fails the attrs int validator as currently the !template functionality uses environment variables which are inherently strings.
In
PDUDaemonPort
for the index there has been the addition of an attrs converter:I believe adding this to the NetworkService Resource would mean the !template functionality would work for the NetworkService.port which would be ideal for our usecase.
Beta Was this translation helpful? Give feedback.
All reactions