straight-cartoon-24485
02/28/2022, 7:32 PMdefault
inside a Pulumi program? E.g.:
$ kubectl get sc | grep \(default\) # find the default class currently set
$ kubectl patch storageclass openebs-jiva-default -p '{"metadata": {"annotations":{"<http://storageclass.kubernetes.io/is-default-class|storageclass.kubernetes.io/is-default-class>":"false"}}}'
$ kubectl patch storageclass openebs-jiva-csi-default -p '{"metadata": {"annotations":{"<http://storageclass.kubernetes.io/is-default-class|storageclass.kubernetes.io/is-default-class>":"true"}}}'
Right now I run these commands after I run the Pulumi program...
I'm installing the OpenEBS Helm Chart via Pulumi—how do I become aware of the now newly available storage class, and set that as default?No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by