feature: adapt from infra to pulumi-library
This commit is contained in:
parent
b67425d9b2
commit
3b575e692a
4
Makefile
4
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
|
||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
||||
module infra
|
||||
module antoine-roux.tk/projects/go/pulumi-library
|
||||
|
||||
go 1.21.0
|
||||
|
||||
|
2
main.go
2
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() {
|
||||
|
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user