Pulumi seems to think that some of my resource spe...
# general
e
Pulumi seems to think that some of my resource specifications are (1) secrets and (2) get updated every time, but they're hardcoded strings. Any suggestions on how I can diagnose this?
e.g. I'll get a diff like:
Copy code
~ spec: {
          ~ template: {
              ~ spec: {
                  ~ containers: [
                      ~ [0]: {
                              ~ resources: {
                                  ~ requests: {
                                      ~ cpu: [secret] => [secret]
                                    }
                                }
                            }
                    ]
                }
            }
        }
but the actual requests are:
Copy code
resources: {
                requests: {
                  cpu: "2000m",
                  memory: "16Gi",
                },
              },
l
A property is a secret if the implementing class defines it as one. What resource type is this?
e
k8s deployment
the only reference I have to secrets is via env vars, but it's to the name of a k8s secret not a pulumi secret (I don't think it's a pulumi secret)
Copy code
{
  name: "FOO_URL",
  valueFrom: { secretKeyRef: { name: secrets.fooApiSecret.metadata.name, key: "url" } },
},
how can I diagnose what (if anything) is making the whole thing a secret?