Migrated Pocket ID deployment from manual kubectl to GitOps. All existing resources will be adopted by Argo CD without recreation, preserving data and configuration. Key safety measures: - PVC has Delete=false annotation to prevent data loss - Existing sealed secret reused for ENCRYPTION_KEY - TLS certificate managed by cert-manager (not in Git) - All OIDC clients and user data preserved in existing PVC Co-Authored-By: Paperclip <noreply@paperclip.ing>
16 lines
369 B
YAML
16 lines
369 B
YAML
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: pocket-id-data
|
|
namespace: pocket-id
|
|
annotations:
|
|
# Prevent Argo CD from deleting this PVC to avoid data loss
|
|
argocd.argoproj.io/sync-options: Delete=false
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 5Gi
|
|
storageClassName: local-path
|
|
volumeMode: Filesystem
|