https://pulumi.com logo
#general
Title
# general
g

gifted-island-55702

12/27/2018, 9:59 PM
Actually I have the 10th question 🙂 - is it supported (and if yes - is there an example) to create Kubernetes custom resource definition (e.g. GKE BackendConfig: https://cloud.google.com/kubernetes-engine/docs/concepts/backendconfig)
w

white-balloon-205

12/27/2018, 10:12 PM
There is https://pulumi.io/reference/pkg/nodejs/@pulumi/kubernetes/apiextensions/#CustomResource which allows instantiating an instance of a CRD via `apiVersion`/`kind`/etc. I cannot find any examples of this right now - but if you have any trouble using it feel free to follow-up here. Note that currently it is not possible to create your own schemas over CRDs to express in a strongly-typed way something like BackendConfig - you need to interact with it at the level of a generic CRD. https://github.com/pulumi/pulumi-kubernetes/issues/219 is tracking adding a way to add custom schematization over specific CRD shapes.
g

gifted-island-55702

12/27/2018, 10:15 PM
Great - thank you!