https://pulumi.com logo
#kubernetes
Title
# kubernetes
b

brainy-accountant-88780

03/15/2024, 10:43 AM
Hi together, I have multiple k8s clusters. Loading the Data from kubeconfig. To add this clusters to argocd I have to create also a secret on the kubernetes cluster where argocd is running. I have to extract the certificated and server host name from that. The account informations come from an instantly created service account. So the question is. How can I extract one Information from an created object inside pulumi and set it on an other secret (serialized json config). It throws me an error that the Outputstring could not be directly handeld
s

salmon-gold-74709

03/17/2024, 10:25 AM
Have a look at the docs on Outputs and ApplyT. Googling the error or asking Chatgpt can also help