Skip to content
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

feature: Add option to disable unauthorizedUserAccessSpec for vmauth in victoria-metrics-k8s-stack helm chart #1981

Open
mfcmaestro opened this issue Feb 6, 2025 · 1 comment
Labels
auth vmauth helm chart related issue k8s-stack k8s-stack helm chart related issue

Comments

@mfcmaestro
Copy link

Chart name and version, where you feel a lack of requested feature
chart: victoria-metrics-k8s-stack
version: v0.35.7

Is your feature request related to a problem? Please describe.
In current implementation unauthorizedUserAccessSpec is enabled by default in vmauth template, so there is no option to disable it in Values.

Describe the solution you'd like
It would be nice to have an option to disable (for example set it to false) unauthorizedUserAccessSpec in vmauth to deny all unauthorized access and manage it only via users.

@AndrewChubatiuk AndrewChubatiuk added k8s-stack k8s-stack helm chart related issue auth vmauth helm chart related issue labels Feb 6, 2025
@ctrlsam
Copy link

ctrlsam commented Feb 25, 2025

This also applies closely to the cluster chart.

The VictoriaMetrics Helm chart automatically appends an unauthorized_user block whenever vmauth is enabled, so even if you provide your own users: [...] configuration, you still end up with a unauthorized user entry in the final auth.yml. Currently, the chart’s logic doesn’t provide a direct toggle for removing the unauthorized_user block.

https://github.com/VictoriaMetrics/helm-charts/blob/master/charts/victoria-metrics-cluster/templates/vmauth-config.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth vmauth helm chart related issue k8s-stack k8s-stack helm chart related issue
Projects
None yet
Development

No branches or pull requests

3 participants