Files
infrastructure/servers/legion/k8s/adguard/pvc.yaml
T
Will Anderson 3737ff0bcb fix: pin PVCs to existing PVs; fix kube-prometheus-stack grafana auth
PVC manifests: add volumeName to bind new PVCs to existing PVs whose
old PVCs were accidentally deleted during Terraform->ArgoCD migration.
All PVs patched to Retain to prevent data loss on pod restart.

kube-prometheus-stack: replace invalid adminPassword.valueFrom.secretKeyRef
(Helm values don't support k8s secretKeyRef syntax) with correct
admin.existingSecret + admin.passwordKey pattern.
2026-03-25 10:48:10 -05:00

29 lines
538 B
YAML

---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: adguard-config
namespace: dns
spec:
storageClassName: local-path
volumeName: pvc-471e439b-2a69-49fc-9704-4dec6df93855
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: adguard-data
namespace: dns
spec:
storageClassName: local-path
volumeName: pvc-8b8c53fb-b16d-4896-8827-042b7bcbe2dd
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi