Finished requirements
This commit is contained in:
63
vaultwarden-argocd-apps/templates/vaultwarden-chart.yaml
Normal file
63
vaultwarden-argocd-apps/templates/vaultwarden-chart.yaml
Normal 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
|
||||
Reference in New Issue
Block a user