Skip to content

Commit e8dec9f

Browse files
committed
enable debug logs with make deploy
1 parent 72f43d0 commit e8dec9f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ uninstall: ## Delete the postgrescluster CRD
120120
deploy: ## Deploy the PostgreSQL Operator (enables the postgrescluster controller)
121121
yq eval '(.spec.template.spec.containers[] | select(.name=="operator")).image = "$(IMAGE)"' ./deploy/operator.yaml \
122122
| yq eval '(.spec.template.spec.containers[] | select(.name=="operator") | .env[] | select(.name=="DISABLE_TELEMETRY") | .value) = "true"' - \
123+
| yq eval '(.spec.template.spec.containers[] | select(.name=="operator") | .env[] | select(.name=="LOG_LEVEL") | .value) = "DEBUG"' - \
123124
| kubectl apply -f -
124125

125126
.PHONY: undeploy

0 commit comments

Comments
 (0)