diff --git a/Makefile b/Makefile index 3a65ac5..3be95e6 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ .PHONY: crds crds: - crd2pulumi --go ../../../kubeadm/cert-manager/cert-manager/1-crds.yaml - crd2pulumi --go ../../../kubeadm/external-dns/2-crds.yaml + crd2pulumi --go ~/Documents/virtualization/kubeadm/cert-manager/cert-manager/1-crds.yaml + crd2pulumi --go ~/Documents/virtualization/kubeadm/external-dns/2-crds.yaml diff --git a/go.mod b/go.mod index e6bfff2..3d2e4f4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module infra +module antoine-roux.tk/projects/go/pulumi-library go 1.21.0 diff --git a/main.go b/main.go index e2eecc1..e599d40 100644 --- a/main.go +++ b/main.go @@ -1,8 +1,8 @@ package main import ( + "antoine-roux.tk/projects/go/pulumi-library/pkg/application" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "infra/pkg/application" ) func main() { diff --git a/pkg/application/generic.go b/pkg/application/generic.go index 34b0c3e..888239e 100644 --- a/pkg/application/generic.go +++ b/pkg/application/generic.go @@ -1,6 +1,8 @@ package application import ( + v1 "antoine-roux.tk/projects/go/pulumi-library/crds/kubernetes/certmanager/v1" + "antoine-roux.tk/projects/go/pulumi-library/crds/kubernetes/externaldns/v1alpha1" "errors" "fmt" appsv1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/apps/v1" @@ -8,8 +10,6 @@ import ( metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1" netv1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/networking/v1" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - v1 "infra/crds/kubernetes/certmanager/v1" - "infra/crds/kubernetes/externaldns/v1alpha1" ) const (