diff --git a/apps/data/storage/kustomization.yaml b/apps/data/storage/kustomization.yaml index 09bc029a6..ee0e69eee 100644 --- a/apps/data/storage/kustomization.yaml +++ b/apps/data/storage/kustomization.yaml @@ -29,7 +29,6 @@ resources: # - base/archivebox.yaml - base/change.yaml # - base/taskwarrior.yaml - # - base/nitter.yaml # - base/wallabag.yaml # - base/milvus.yaml - base/actual.yaml diff --git a/apps/home/ha/base/kustomization.yaml b/apps/home/ha/base/kustomization.yaml index ae0e520d6..54d4821f1 100644 --- a/apps/home/ha/base/kustomization.yaml +++ b/apps/home/ha/base/kustomization.yaml @@ -8,3 +8,4 @@ resources: - ingress.yaml - certificate.yaml - metrics.yaml + - secret.yaml diff --git a/apps/home/ha/base/metrics.yaml b/apps/home/ha/base/metrics.yaml index 7dc959ccf..9f4bbde9d 100644 --- a/apps/home/ha/base/metrics.yaml +++ b/apps/home/ha/base/metrics.yaml @@ -5,12 +5,11 @@ metadata: spec: staticConfigs: - targets: - - homeassistant.homeassistant.svc.cluster.local:80 - job_name: hass - bearer_token: - metrics_path: /api/prometheus + - home-assistant.homeassistant.svc.cluster.local + authorization: + credentials: + name: ha-long-token + key: home-token scheme: HTTP - tls_config: - insecure_skip_verify: true - scrape_interval: 60s - metricsPath: /metrics + scrapeInterval: 60s + metricsPath: /api/prometheus