Finished requirements

This commit is contained in:
2024-11-14 08:56:58 +00:00
parent 70118e5aeb
commit 529ebc8095
3 changed files with 128 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: vaultwarden
namespace: {{ .Values.argocd.namespace }}
annotations:
argocd.argoproj.io/sync-wave: "0"
notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578"
spec:
project: {{ .Values.argocd.project }}
source:
repoURL: "tccr.io/truecharts"
chart: vaultwarden
targetRevision: 28.x
helm:
releaseName: vaultwarden
valuesObject:
workload:
main:
podSpec:
containers:
main:
env:
DOMAIN: {{ .Values.vaultwarden.FQDN }}
persistence:
config:
enabled: true
mountPath: /config
type: pvc
namespace: {{ .Values.mainNamespace }}
accessModes: ReadWriteOnce
size: 100Mi
storageClass: {{ .Values.generalConfigStorageClass }}
database:
enabled: true
mountPath: /database
type: pvc
namespace: {{ .Values.mainNamespace }}
accessModes: ReadWriteOnce
size: 100Mi
storageClass: {{ .Values.generalConfigStorageClass }}
data:
enabled: true
mountPath: /data
type: pvc
namespace: {{ .Values.mainNamespace }}
existingClaim: thomflix-media
destination:
server: {{ .Values.mainDestination }}
namespace: {{ .Values.mainNamespace }}
syncPolicy:
automated:
prune: true # Automatically remove resources no longer in the repo
selfHeal: true # Automatically self-heal when drift is detected
syncOptions:
- ApplyOutOfSyncOnly=true
- ServerSideApply=true
- CreateNamespace=true
ignoreDifferences:
- group: apps
kind: Deployment
jsonPointers:
- /spec/template/spec/hostUsers