You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cp -f $(shell go list -mod=mod -m -f '{{.Dir}}' all | grep sigs.k8s.io/cluster-api)/config/crd/bases/* test/external-crds/cluster-api
77
+
cp -f $(shell go list -mod=mod -m -f '{{.Dir}}' all | grep metal-stack/firewall-controller-manager)/config/crds/* test/external-crds/firewall-controller-manager
78
+
70
79
.PHONY: fmt
71
80
fmt: ## Run go fmt against code.
72
81
go fmt ./...
@@ -76,15 +85,15 @@ vet: ## Run go vet against code.
76
85
go vet ./...
77
86
78
87
.PHONY: test
79
-
test: manifests generate fmt vet envtest ## Run tests.
88
+
test: manifests generate update-test-crds fmt vet envtest ## Run tests.
80
89
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test$$(go list ./... | grep -v /e2e) -coverprofile cover.out
81
90
82
91
# The default setup assumes Kind is pre-installed and builds/loads the Manager Docker image locally.
83
92
# Prometheus and CertManager are installed by default; skip with:
84
93
# - PROMETHEUS_INSTALL_SKIP=true
85
94
# - CERT_MANAGER_INSTALL_SKIP=true
86
95
.PHONY: test-e2e
87
-
test-e2e: manifests generate fmt vet ## Run the e2e tests. Expected an isolated environment using Kind.
96
+
test-e2e: manifests generate update-test-crds fmt vet ## Run the e2e tests. Expected an isolated environment using Kind.
88
97
@command -v kind >/dev/null 2>&1|| { \
89
98
echo"Kind is not installed. Please install Kind manually.";\
90
99
exit 1;\
@@ -106,7 +115,7 @@ lint-fix: golangci-lint ## Run golangci-lint linter and perform fixes
106
115
##@ Build
107
116
108
117
.PHONY: build
109
-
build: manifests generate fmt vet ## Build manager binary.
118
+
build: manifests generate update-test-crds fmt vet ## Build manager binary.
// ControlPlaneIP is the ip address in metal-stack on which the control plane will be exposed.
63
+
// If this ip and the control plane endpoint are not provided this will automatically be acquired during reconcile. Note that this field is not patched after auto-acquisition.
64
+
// The address of the auto-acquired ip can be looked up in the control plane endpoint.
0 commit comments