-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(metrics): Add metrics.users.disabled flag #132
Conversation
411e6ef
to
ad06fdf
Compare
85a3fc8
to
801f948
Compare
.github/workflows/chart-testing.yaml
Outdated
@@ -62,4 +62,8 @@ jobs: | |||
with: | |||
version: 'latest' | |||
- name: Run chart-testing (install) | |||
run: ct install --config chart-testing.yaml | |||
run: ct install --config chart-testing.yaml --helm-extra-set-args '--set=exporter.tls.disabled=true --set=auth0.domain="${{ secrets.TEST_AUTH0_DOMAIN }}" --set=auth0.clientId="$CLIENT_ID" --set=auth0.clientSecret="$CLIENT_SECRET"' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also create ci/test-values.yaml
in the root of the chart directory and chart-testing
will use those when it installs. The format is just regular helm values, but only overrides from default values.yaml.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I had a ci/test-values.yaml
is there a way I can populate the values in the yaml with the secrets in CI?
Maybe I could use envsubst
, but I'm not 100% sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I missed that bit - not unless you do some envsubst
, sed
, etc before the install
step. The secrets would need to get written as a k8s secret and then referenced in the chart.
d784085
to
2aac16a
Compare
Introduces the `--metrics.users.disabled` flag, to disable user metrics like the monthly_active_users. It updates the helm chart. Signed-off-by: oluwole fadeyi <[email protected]>
2aac16a
to
12649d8
Compare
📋 Changes
--metrics.users.disabled
flag, to disable user metrics like the monthly_active_users.