feature: adapt from infra to pulumi-library

This commit is contained in:
RouxAntoine 2023-09-19 19:52:55 +02:00
parent b67425d9b2
commit 3b575e692a
Signed by: antoine
GPG Key ID: 098FB66FC0475E70
4 changed files with 6 additions and 6 deletions

View File

@ -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

2
go.mod
View File

@ -1,4 +1,4 @@
module infra
module antoine-roux.tk/projects/go/pulumi-library
go 1.21.0

View File

@ -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() {

View File

@ -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 (