feat: add channels to crd (#135)

This commit is contained in:
Jakub Błaszczyk
2023-10-10 13:22:06 +02:00
committed by GitHub
parent 868ec0f0ab
commit d5ad7f4c99
4 changed files with 80 additions and 17 deletions

View File

@ -102,7 +102,7 @@ k3d-down:
k3d cluster delete ory || true
.PHONY: k3d-deploy
k3d-deploy: manager manifests docker-build-notest k3d-up
k3d-deploy: manager-ci manifests docker-build-notest k3d-up
kubectl config set-context k3d-ory
k3d image load controller:latest -c ory
kubectl apply -f config/crd/bases
@ -124,6 +124,11 @@ test-integration:
manager: generate vet
CGO_ENABLED=0 GOOS=$(OS) GOARCH=$(ARCH) go build -a -o manager main.go
# Build manager binary for CI
.PHONY: manager-ci
manager: generate vet
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go
# Run against the configured Kubernetes cluster in ~/.kube/config
.PHONY: run
run: generate vet