49 lines
1.8 KiB
YAML
49 lines
1.8 KiB
YAML
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: "https://guerzon.github.io/vaultwarden"
|
|
chart: vaultwarden
|
|
targetRevision: v0.29.x
|
|
helm:
|
|
releaseName: vaultwarden
|
|
valuesObject:
|
|
domain: {{ .Values.vaultwarden.domain }}
|
|
timeZone: {{ .Values.vaultwarden.timeZone }}
|
|
adminToken:
|
|
value: {{ .Values.vaultwarden.adminToken.value }}
|
|
database:
|
|
type: postgresql
|
|
existingSecret: {{ .Values.vaultwarden.dbCluster.secretName }}
|
|
existingSecretKey: uri
|
|
data:
|
|
name: {{ .Values.vaultwarden.dataPvc.name }}
|
|
size: {{ .Values.vaultwarden.dataPvc.size }}
|
|
class: {{ .Values.vaultwarden.dataPvc.storageClassName }}
|
|
accessMode: {{ .Values.vaultwarden.dataPvc.accessMode }}
|
|
attachments:
|
|
name: {{ .Values.vaultwarden.attachmentPvc.name }}
|
|
size: {{ .Values.vaultwarden.attachmentPvc.size }}
|
|
class: {{ .Values.vaultwarden.attachmentPvc.storageClassName }}
|
|
accessMode: {{ .Values.vaultwarden.attachmentPvc.accessMode }}
|
|
ingress:
|
|
enabled: false
|
|
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
|