-
Notifications
You must be signed in to change notification settings - Fork 21
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: allow service monitor without authentication or with auth data from existing secret #181
base: main
Are you sure you want to change the base?
Conversation
06ec3fe
to
4f06e99
Compare
…from existing secret
4f06e99
to
cf9da31
Compare
Hey, sorry for the late response, been rather busy IRL lately and haven't had the time nor motivation to really give this project the attention it deserves. |
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.
Besides that one comment that I would like a response for, your changes look good to me. Thank you for this contribution and your patience!
@@ -106,6 +106,13 @@ affinity: {} | |||
|
|||
serviceMonitor: | |||
enabled: false | |||
authentication: | |||
enabled: true |
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.
only question I have is, why you default it to enabled: true
personally, would default it to false unless uptime-kuma requires it to expose the metrics, but in that case the toggle would be obsolete anyway.
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.
Could do that, but I wanted to make this non-breaking. And since authentication was enabled beforehand, I kept it. I can also "break" it and disable it by default. Would make more sense from my perspective, too.
Hey! I answered your comment. I can switch it, of course. Makes more sense to me as well. Your call :) |
Allow to disable authentication of the service monitor by settings
.Values.serviceAccount.authentication.enabled=false
. Also allow to provide an existing secret for the service monitor authentication.