Join Slack
Powered by
This message was deleted.
# kubernetes
s
sparse-intern-71089
05/15/2021, 8:11 AM
This message was deleted.
s
straight-cartoon-24485
05/16/2021, 6:46 AM
Hm, you can get the stack name programmatically, that might be a start:
https://www.pulumi.com/docs/intro/concepts/stack/#getting-the-current-stack-programmatically
You then have this operator, so if I understand correctly, you might be able to know the k8s version, and alter your deployments accordingly
https://www.pulumi.com/docs/guides/continuous-delivery/pulumi-kubernetes-operator/
I suppose you're going to use a feature-flag-like programming model for all that if'ing between API versions...
o
orange-autumn-61493
05/17/2021, 10:08 AM
Thanks for the heads up, I’ll read thorough these.
5
Views
Open in Slack
Previous
Next