Skip to content

Conversation

dminnear-rh
Copy link
Contributor

No description provided.

@openshift-ci openshift-ci bot requested review from mhjacks and yukinchan August 13, 2025 18:41
Copy link

@mhjacks mhjacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Philosophical question: double negatives can be really confusing as config values (look at Ansible's "no_log"). Would it be better to have analytics.enabled and default it to true here? It would be the same net effect. I'm definitely open to counter-arguments on this point, especially if there's some awkwardness in go casting or something like that.

@mbaldessari
Copy link
Contributor

Is the env variable approach via the subscription (https://github.com/validatedpatterns/patterns-operator/blob/main/cmd/main.go#L106) not enough? (It was placed there at the Hoff's request so I was wondering ;) )

@dminnear-rh
Copy link
Contributor Author

@mbaldessari We discussed using that env var (and I leave the capability intact in this PR) but it does come across as obfuscated to control it via config attached to the subscription and it may be problematic with OLM v1. Using the configmap for the operator seems like a more obvious way to configure it.

To @mhjacks 's point, I will update the configmap to use analytics.enabled = true which is also a bit clearer than the analytics.disabled = false logic this PR has at the moment.

@mbaldessari
Copy link
Contributor

/approve

@mbaldessari
Copy link
Contributor

/lgtm

Copy link
Contributor

openshift-ci bot commented Aug 27, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dminnear-rh, mbaldessari

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the lgtm label Aug 27, 2025
@mbaldessari mbaldessari merged commit 062cc53 into validatedpatterns:main Aug 27, 2025
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants