Service Monitor: Missing provision to provide authentication credentials to metrics endpoint #635

Open
opened 2024-04-02 05:29:56 +00:00 by hiteshnayak305 · 2 comments

Hello,

There is no any provision to provide credentials in service monitor configuration using helm chart

gitea:
  config:
    metrics:
      # ENABLED: true
      TOKEN: "somepassword"
  metrics:
    enabled: true
    serviceMonitor:
      enabled: true

getting 401 on metrics endpoint

Bypass: empty TOKEN

servicemonitor.yaml

How to https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/basic-auth.md

Hello, There is no any provision to provide credentials in service monitor configuration using helm chart ``` gitea: config: metrics: # ENABLED: true TOKEN: "somepassword" metrics: enabled: true serviceMonitor: enabled: true ``` getting 401 on metrics endpoint Bypass: empty TOKEN [servicemonitor.yaml](https://gitea.com/gitea/helm-chart/src/branch/main/templates/gitea/servicemonitor.yaml) How to https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/basic-auth.md
Author

I would like to work on PR if possible.

I would like to work on PR if possible.
Member

Your contribution is very welcome. No one is currently working on it.

Your contribution is very welcome. No one is currently working on it.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/helm-chart#635
No description provided.