hallowed-ghost-37140
01/09/2024, 11:18 PMpulumi up
it has to update this resource field type repoURL: [secret] => output<string>
, but it never takes.
Not sure why this is I guess ArgoCD is updating the type after it's written to k8s?
Do you want to perform this update? details
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:dev::evilapp::pulumi:pulumi:Stack::evilapp-dev]
~ kubernetes:argoproj.io/v1alpha1:Application: (update)
[id=argocd/strapi]
[urn=urn:pulumi:dev::evilapp::kubernetes:argoproj.io/v1alpha1:Application::argo-cd-strapi-application]
[provider=urn:pulumi:dev::evilapp::pulumi:providers:kubernetes::default_4_5_4::78e5cf16-9530-4394-b736-34f6963ef3fb]
~ spec: {
~ source: {
~ repoURL: [secret] => output<string>
}
}
Any ideas on how to handle these kinds of fields?icy-controller-6092
01/10/2024, 1:52 AMicy-controller-6092
01/10/2024, 1:53 AMpulumi.unsecret
to see the plaintext valueshallowed-ghost-37140
01/10/2024, 6:19 PMpulumi
always wants to update repoURL
from [secret] => output<string>
.
My only guess is that Pulumi creates the custom resource with repoURL
using the type output<string>
.
Then the operator that manages those custom resources converts the repoURL
to a [secret]
type?
Which means when Pulumi re-examines the state of that CR the repoURL
and its found to not be the desired type so it needs its type updating.
🤷♂️ 🤷♂️ 🤷♂️hallowed-ghost-37140
01/10/2024, 6:34 PMrepoURL
the output of another resource. 🤔icy-controller-6092
01/10/2024, 9:01 PMicy-controller-6092
01/10/2024, 9:02 PM