@creamy-fall-88031 No, not yet. Not sure yet how I'll tackle this. If you want to jump on slack call let me know.
where I am
• It comes down to the types of azure devops service connections and how to use them.
• I prefer to not use plugins, as I iterate locally and plug into CI. I am having to figure out with a very short time frame now how to pull out stuff that works and use plugins for the service connections instead (or figure out if it's even possible to retrieve the credentials in job using api in Mage). right now I wrap all my tasks in Mage (Go based task runner that replaces makefiles).
• If I resort to using the azure devops plugin task for pulumi, it would only work for Azure RM type connectors.
Only solutions I know of right now for Kubernetes type connectors
• Figure out if service connection api actually lets code retrieve the credentials directly. I'm doubtful it would give the token or kubeconfig level info, but 🤷 I don't know till i look further
• Figure out if azure devops Kuberenetes service connection kubectl "login" command actually generates a kubeconfig I could use in context
◦ And then change my job to stop looping over clusters and run I guess two duplicate stacks with just a different target cluster.
In contrast, I had been doing what I wrote about in this post,
looping through kubeconfig I had embedded.