a year ago
Idk wtf is going on here.
Project ID: 4da9bec9-7877-4c7b-b514-35df9dce4ad8
Environment: debug
Each time I reload the page, and press the view icon on the variable value, it's different!!
28 Replies
a year ago
You tried to set ${{secret()}} on a service, it can only be set within templates.
a year ago
Iirc secret() just resolves to a random value. Had this issue recently too
this feels like a massive footgun and i'm surprised it's not documented anywhere
a year ago
That value is mismatched as it gens a new one when you view it. Ssh in to container and echo the var to see it
a year ago
Or, see the one your process is using…
a year ago
Inconvenient yeah
This is good feedback. I’ve run into this and found it confusing myself. “Is this value uhh stable between restarts?”
a year ago
Yay!
a year ago
Was also annoyed by this <:sadcat:1408269791965478932>
I think the best behavior would be it generating when you press submit and actually storing that static value
a year ago
I think though what brody was saying is this value is meant for templates so the starting value isn’t consistent.
Its meant to be changed not used as keygen iirc
a year ago
^
a year ago
Hi, this should be fixed now!
a year ago
${{secret()}} should generate the value on save, what are you trying to do, could you record a video please?
