lastAppliedConfig
is tainting entire metadata
field
#787
Labels
area/community
Related to ability of community to participate in pulumi-kubernetes development
impact/usability
Something that impacts users' ability to use the product easily and intuitively
kind/bug
Some behavior is incorrect or out of spec
last-applied-configuration
Issues related to the last-applied-configuration annotation
resolution/fixed
This issue was fixed
Problem description
When the Secret is created, Pulumi is setting
.metadata.annotations[kubectl.kubernetes.io/last-applied-configuration]
and (correctly) marking it as secret. Unfortunately, this is also marking all of the other.metadata
fields as secret, even though they do not contain secret values.In this program, the Deployment's
containers
field is being tainted as secret by transitively referring to the Secret's.metadata.name
.This behavior was introduced by #741
Errors & Logs
Affected product version(s)
Reproducing the issue
Suggestions for a fix
We should narrow the scope of the "secretness" so that it doesn't include all of the
.metadata
fields.The text was updated successfully, but these errors were encountered: