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
Switch "Development: false" in both cmd/main.go and cmd/operator/main.go
so the controller emits structured JSON logs by default.
Add $(ARGS) to the run and run-operator Makefile targets so dev logging
can be restored with: make run ARGS="--zap-devel".
As part of ESS SEC-APP-REQ-1 (Secure Application Development), we need
to ensure that proper input and output sanitization is implemented.
While working on the OpenStack Lightspeed Operator, I noticed that this
is also missing from the OpenStack Operator. There may be other places
requiring changes to complete the ESS, I did not performed a complete
analysis of this repository.
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
run-operator: manifests generate fmt vet ## Run a controller from your host.
253
253
source hack/export_related_images.sh &&\
254
254
source hack/export_operator_related_images.sh &&\
255
-
go run ./cmd/operator/main.go -metrics-bind-address ":$(METRICS_PORT)" -health-probe-bind-address ":$(HEALTH_PORT)" -pprof-bind-address ":$(PPROF_PORT)"
255
+
go run ./cmd/operator/main.go -metrics-bind-address ":$(METRICS_PORT)" -health-probe-bind-address ":$(HEALTH_PORT)" -pprof-bind-address ":$(PPROF_PORT)"$(ARGS)
256
256
257
257
.PHONY: docker-build
258
258
docker-build: ## Build docker image with the manager.
0 commit comments