https://pulumi.com logo
#kubernetes
Title
# kubernetes
v

victorious-church-57397

08/24/2022, 2:08 PM
Hi there team 👋 I'm trying to pulumify some k8s config and hit a bit of a bump in the road when trying to convert the k8s yaml to pulumi using kube2pulumi.
Copy code
unable to run program: Error: unknown resource type 'kubernetes:<http://garo.tietoevry.com/v1alpha1:GithubActionRunner|garo.tietoevry.com/v1alpha1:GithubActionRunner>'

  on pcl-087019550.pp line 0:
   1: resource "github_actions_runner_operatorRunner_poolGithubActionRunner" "kubernetes:<http://garo.tietoevry.com/v1alpha1:GithubActionRunner|garo.tietoevry.com/v1alpha1:GithubActionRunner>" {

unknown resource type 'kubernetes:<http://garo.tietoevry.com/v1alpha1:GithubActionRunner|garo.tietoevry.com/v1alpha1:GithubActionRunner>'
Is there anything i can do locally to get the program to recognise the resource type? I'm installing the CRDs etc using helm, but need to deploy the actual deployment separately
ah, i need to create a custom resource, got it, been a while since ive done k8s 😄
b

billowy-army-68599

08/24/2022, 3:04 PM
@victorious-church-57397 you can use crd2pulumi for this
🙏 1
v

victorious-church-57397

08/24/2022, 3:05 PM
cheers mate, will give it a go
6 Views