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
Two significant changes affected our code base:
1. The table DSL i.e. `DescribeTable` and `Entry` have been moved to
top-level. It was not required to import `extensions/table` anymore
1. Changes to CLI flag arguments to randomise all specs
There was a function name conflict because our code base and Ginkgo
define the function `Label()`. Due to the dot-import, it caused a name
conflict. This was resolved by aliasing our module.
Disabled metrics in integration tests to avoid MacOS firewall popup
everytime we run integration tests. We do not observe or scrape metrics
in the integration tests at the moment. In the future, we could bind to
localhost if needed.
Small refactor on getting the configuration to use a library function,
instead of a home-made one.
Signed-off-by: Aitor Perez Cedres <acedres@vmware.com>
@@ -77,15 +80,14 @@ destroy: ## Cleanup all controller artefacts
77
80
run: generate manifests fmt vet install deploy-namespace-rbac just-run ## Run operator binary locally against the configured Kubernetes cluster in ~/.kube/config
78
81
79
82
just-run: ## Just runs 'go run main.go' without regenerating any manifests or deploying RBACs
80
-
KUBECONFIG=${HOME}/.kube/config OPERATOR_NAMESPACE=rabbitmq-system go run ./main.go -metrics-bind-address 127.0.0.1:9782 --zap-devel $(OPERATOR_ARGS)
83
+
KUBECONFIG=${HOME}/.kube/config OPERATOR_NAMESPACE=$(K8S_OPERATOR_NAMESPACE) go run ./main.go -metrics-bind-address 127.0.0.1:9782 --zap-devel $(OPERATOR_ARGS)
$(error OPERATOR_IMAGE is undefined: path to the Operator image within the registry specified in DOCKER_REGISTRY_SERVER (e.g. rabbitmq/cluster-operator - without leading slash))
0 commit comments