Skip to content

Commit

Permalink
Switch pi-hole to external secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
lentzi90 committed Dec 20, 2024
1 parent 60650f8 commit 963226d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 21 deletions.
14 changes: 14 additions & 0 deletions pi-hole/overlays/jern.me/externalsecret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: pi-hole-env
spec:
refreshInterval: 1h
secretStoreRef:
# This name must match the metadata.name in the `SecretStore`
name: bitwarden-personal-cloud
kind: ClusterSecretStore
data:
- secretKey: WEBPASSWORD
remoteRef:
key: e17b2830-6c61-414e-8a9d-b24c008e0608
3 changes: 0 additions & 3 deletions pi-hole/overlays/jern.me/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,3 @@ configMapGenerator:
- 02-interface.conf
- 05-custom-cname.conf
name: custom

generators:
- pi-hole-env-generator.yaml
7 changes: 0 additions & 7 deletions pi-hole/overlays/jern.me/pi-hole-env-generator.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions pi-hole/overlays/jern.me/pi-hole.env

This file was deleted.

0 comments on commit 963226d

Please sign in to comment.