my-homelab-configs/apps/monitoring/README.md

968 B

Monitoring secrets

grafana-admin.secret.yaml is generated by Jeannie and encrypted with SOPS/age.

Run on the Debian homelab server:

./jeannie grafana-admin-secret ensure

The generated Kubernetes Secret is named monitoring/grafana-admin-credentials and contains:

  • admin-user
  • admin-password

The kube-prometheus-stack Helm release is configured to use this existing Secret for Grafana admin credentials.

Do not commit plaintext credentials. Commit only the SOPS-encrypted grafana-admin.secret.yaml file after it is generated.

To mirror the same login into Bitwarden or Vaultwarden for browser autofill, unlock the Bitwarden CLI and run:

export BW_SESSION="$(bw unlock --raw)"
./jeannie grafana-admin-secret bw-sync

If you use Vaultwarden, configure the CLI first:

bw config server https://vault.example.com

The vault item defaults to:

  • name: Homelab Grafana
  • URI: https://grafana.lab2025.duckdns.org/