Skip to content

Commit

Permalink
feat(prometheus): scrapeconfig for wz
Browse files Browse the repository at this point in the history
  • Loading branch information
martinohmann committed Jan 5, 2025
1 parent b43d80b commit 420a3ae
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./secret.sops.yaml
- ./node-exporter.yaml
- ./smartctl-exporter.yaml
- ./wg-exporter.yaml
- ./wohnzimmer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: v1
kind: Secret
metadata:
name: wohnzimmer-auth
stringData:
token: ENC[AES256_GCM,data:gQEmiLI22HKScSQOjg+nW4SWGqQIokFzAZUYBCLvYDhkF6P8kavZU0aLWIcHqUIs9CBkTRD/DZaxyK/g2iv26ASzsSCcdB4pTBByiFc+sgVGmzYSjzZGyQ==,iv:8PNO7DCbm/J6fS7qVmmCTIN5JcyvUMVbWkNT1f7UyuU=,tag:+IbDCWYKM3iWPbDLLsYceA==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age1u79ltfzz5k79ddwgv59r76p2532xnaehzz7vggttctudr6gdkvhq33edn6
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBPZUdRZGFETndtNWN3aWZ3
bE1pWWhpUk90R1dVN1BpS0JucTNuN1pLdlVnCnhxSklpWmdzSDdrTTczTEVjTEJI
SWlxaC9LVEdDWVNoa21JUXhtd3dGWGMKLS0tICtiMUp4a0VrcUIrTjN6YUw0TXVn
YnBCM2hCbnFMWDhodlBXeUZsVHZvUTgKneu+FLGoxAZbjWtvasTWvBdqInauAhXj
Rt0wM5SyX+Oy4qUBQxH8B+FKP0uDQnowuf+ykumGyRX9HP4xg/1XXg==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2025-01-05T13:22:05Z"
mac: ENC[AES256_GCM,data:RyzWxSMgz58/6vFCOHGEbvtzAFrGdEY6FpSI71d/xNKrJd3DtqsdCdp6XluMJ6GSW+yFKkw7k8osR42Dq5y7Busv4SwdbDI5yV4lDH/HaXoKIBxtGfNX813f2OW/8FxmWF3iPWKSxJosI/W2PgoZi6CcAzZtSx+TYZuhj1MzaeQ=,iv:wfiBppLs0/G6mM4EyRwT2NmlveGl1OCXtUavXyX6B+I=,tag:4WRX6BVLxksYfBKVXoxvmA==,type:str]
pgp: []
encrypted_regex: ^(data|stringData)$
version: 3.9.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.18b.haus/monitoring.coreos.com/scrapeconfig_v1alpha1.json
apiVersion: monitoring.coreos.com/v1alpha1
kind: ScrapeConfig
metadata:
name: wohnzimmer
spec:
authorization:
credentials:
key: token
name: wohnzimmer-auth
type: Bearer
metricsPath: /metrics
scheme: HTTPS
scrapeInterval: 5m
staticConfigs:
- targets:
- wohnzimmer.fly.dev:443

0 comments on commit 420a3ae

Please sign in to comment.