You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @oskar-s9s thanks for asking. I'm not sure if users want that secret to contain the outputs by default. I see one of two options, (a) no secret is created to avoid confusion , or (b) outputs are added by default instead.
I'm going to opt for (a). I don't like the idea of automatically adding the outputs without the users explicit consent.
Both cases means the code needs to be fixed to not create a secret when saveOutputs is false.
https://github.com/isaaguilar/terraform-operator/blob/master/pkg/controllers/terraform_controller.go#L408
Shouldn't this be true by default?
It will create the secret but, the secret will contain no data.
It's very misleading.
The text was updated successfully, but these errors were encountered: