Skip to content

Commit a853340

Browse files
egegunesjvpasinatto
authored andcommitted
disable telemetry when deploying with makefile
1 parent aeb67f1 commit a853340

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ uninstall: manifests ## Uninstall CRDs, rbac
6060
deploy: ## Deploy operator
6161
yq eval '(.spec.template.spec.containers[] | select(.name=="percona-server-mongodb-operator")).image = "$(IMAGE)"' $(DEPLOYDIR)/operator.yaml \
6262
| yq eval '(.spec.template.spec.containers[] | select(.name=="percona-server-mongodb-operator").env[] | select(.name=="LOG_LEVEL")).value="DEBUG"' - \
63+
| yq eval '(.spec.template.spec.containers[] | select(.name=="percona-server-mongodb-operator").env[] | select(.name=="DISABLE_TELEMETRY")).value="true"' - \
6364
| kubectl apply -f -
6465

6566
undeploy: ## Undeploy operator

0 commit comments

Comments
 (0)