Some stack outputs cannot be saved to Secret #743
Labels
impact/usability
Something that impacts users' ability to use the product easily and intuitively
kind/bug
Some behavior is incorrect or out of spec
resolution/fixed
This issue was fixed
What happened?
Stack outputs have a free-form name, for example an output might be named
foo bar
(i.e. has whitespace). Such outputs cannot be stored into theSecret
that is associated with theUpdate
object, and the controller sees an error from the API Server to the effect that the secret cannot contain a key with an invalid name.Example
Make a simple program that emits an output with an abnormal name.
Output of
pulumi about
Additional context
The solution is assumedly to sanitize the name to conform with the restriction. An alternative would be to pack all the outputs into a single key, but that would make the Secret be less useful.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: