Skip to content

Commit

Permalink
disable telemetry when deploying with makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
egegunes committed Jan 11, 2025
1 parent fb7b682 commit c958127
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ uninstall: manifests ## Uninstall CRDs, rbac
deploy: ## Deploy operator
yq eval '(.spec.template.spec.containers[] | select(.name=="percona-server-mongodb-operator")).image = "$(IMAGE)"' $(DEPLOYDIR)/operator.yaml \
| yq eval '(.spec.template.spec.containers[] | select(.name=="percona-server-mongodb-operator").env[] | select(.name=="LOG_LEVEL")).value="DEBUG"' - \
| yq eval '(.spec.template.spec.containers[] | select(.name=="percona-server-mongodb-operator").env[] | select(.name=="DISABLE_TELEMETRY")).value="true"' - \
| kubectl apply -f -

undeploy: ## Undeploy operator
Expand Down

0 comments on commit c958127

Please sign in to comment.