Hi Team, i'm using <https://www.pulumi.com/docs/re...
# general
r
Hi Team, i'm using https://www.pulumi.com/docs/reference/pkg/rancher2/ for my cluster creation/provisioning in rancher, and i'm trying to find the resource which can create service account, is it possible to create it?.
b
do you mean a Kubernetes service account? or a rancher service account?
r
Kubernetes service account
b
You'd need to use the kubernetes provider to do that part
r
oh but that new k8s cluster is something i have provisioned via rancher2.Cluster , still i need to use k8s provider to create it?
b
yes, once the cluster is up, you need to interact directly with the Kubernetes API. Rancher is just the cluster provisioner.
1
you can pass the
kubeconfig
to a provider: https://www.pulumi.com/docs/reference/pkg/rancher2/cluster/#kube_config_python and talk directly to the Kubernetes cluster you've provisioned
r
got it, thank you for sharing this. i do have one another question, do we know when can this resource be available in pulumi as it is available in terraform already? this is the resource : https://registry.terraform.io/providers/rancher/rancher2/latest/docs/resources/storage_class_v2
b
Which version of the terraform provider is it in?
r
its in 1.20.0
looks like it was introduced in 1.17.0 which was released couple of months back
b
We are a couple releases behind with that provider, I was working on it today so please bear with us
r
No worries at all, i was just checking if this something going to be available