apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: vaultwarden-requirements namespace: {{ .Values.argocd.namespace }} annotations: argocd.argoproj.io/sync-wave: "-1" notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578" spec: project: {{ .Values.argocd.project }} source: repoURL: {{ .Values.argocd.requirements.repoURL }} targetRevision: {{ .Values.argocd.requirements.targetRevision }} path: {{ .Values.argocd.requirements.path }} helm: releaseName: vaultwarden-requirements valuesObject: vaultwarden: dbCluster: numInstances: {{ .Values.vaultwarden.dbCluster.numInstances }} size: {{ .Values.vaultwarden.dbCluster.size }} dataPvc: name: {{ .Values.vaultwarden.dataPvc.name }} storageClassName: {{ .Values.vaultwarden.dataPvc.storageClassName }} size: {{ .Values.vaultwarden.dataPvc.size }} destination: server: {{ .Values.destination.server }} namespace: {{ .Values.destination.namespace }} 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