minicloudlabs / helm-charts

minicloud helm charts
MIT License
24 stars 16 forks source link

Gatus: Allow the way to pass sensitive keys as header #102

Closed shvkumara closed 1 month ago

shvkumara commented 6 months ago

We have endpoint healthcheck, and to query/hit that endpoint. we need to pass API-KEY as part of the header,

My current override of config for helm.

config:
  endpoints:
    - name: sample-api
      group: production
      url: https://my-api-prod.av.cloud.pan.local/healthcheck
      headers:
        API-KEY: my-api-key-value
      interval: 60s
      client:
        insecure: true
      conditions:
        - "[STATUS] == 200"
        - "[CERTIFICATE_EXPIRATION] > 72h"

Currently, I am putting them as part of the config section in override, And I cannot push this to any of repos or artifactor.

Can I make this available through a k8s secret?

avakarev commented 1 month ago

@shvkumara Just a quick heads-up that the this repository is no longer maintained.

Please, read gatus chart migration notes: https://github.com/minicloudlabs/helm-charts/tree/main/charts/gatus