Skip to content

Update values.schema.json for mc-router #261

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

Merged
merged 3 commits into from
Apr 7, 2025
Merged

Conversation

kashalls
Copy link
Contributor

@kashalls kashalls commented Apr 7, 2025

Prometheus metrics are available from the application itself: https://github.com/itzg/mc-router/blob/master/cmd/mc-router/metrics.go#L31C8-L31C18

If you use this value in the helmchart, helm will fail during validation as it's not allowed in the schema.

Helm upgrade failed for release default/minecraft-router with chart [email protected]+556b89e29b95: values don't meet the specifications of the schema(s) in the following chart(s): mc-router: - minecraftRouter.metrics.backend: minecraftRouter.metrics.backend must be one of the following: "discard", "expvar", "influxdb"

@itzg
Copy link
Owner

itzg commented Apr 7, 2025

The change looks great. Thanks. Please also bump the chart version to satisfy the build verification.

@kashalls
Copy link
Contributor Author

kashalls commented Apr 7, 2025

The change looks great. Thanks. Please also bump the chart version to satisfy the build verification.

Changed pushed @itzg .

@itzg itzg merged commit f7d654d into itzg:master Apr 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants