Finished vaultwarden
This commit is contained in:
@@ -15,12 +15,22 @@ spec:
|
||||
helm:
|
||||
releaseName: vaultwarden
|
||||
valuesObject:
|
||||
domain: {{ .Values.vaultwarden.fqdn }}
|
||||
timeZone: {{ .Values.vaultwarden.timeZone }}
|
||||
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 }}
|
||||
attachments:
|
||||
name: {{ .Values.vaultwarden.attachmentPvc.name }}
|
||||
size: {{ .Values.vaultwarden.attachmentPvc.size }}
|
||||
class: {{ .Values.vaultwarden.attachmentPvc.storageClassName }}
|
||||
ingress:
|
||||
enabled: true
|
||||
enabled: false
|
||||
destination:
|
||||
server: {{ .Values.mainDestination }}
|
||||
namespace: {{ .Values.mainNamespace }}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: vaultwarden-postinstall
|
||||
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.postinstall.repoURL }}
|
||||
targetRevision: {{ .Values.argocd.postinstall.targetRevision }}
|
||||
path: {{ .Values.argocd.postinstall.path }}
|
||||
helm:
|
||||
releaseName: vaultwarden-postinstall
|
||||
valuesObject:
|
||||
tailscaleIngresses:
|
||||
vaultwardenHostname: {{ .Values.tailscaleIngresses.vaultwardenHostname }}
|
||||
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
|
||||
@@ -23,8 +23,12 @@ vaultwarden:
|
||||
name: vaultwarden-data
|
||||
storageClassName: ''
|
||||
size: 10Gi
|
||||
FQDN: vaultwarden.domain.net
|
||||
replicaCount: 1
|
||||
attachmentPvc:
|
||||
name: vaultwarden-attachments
|
||||
storageClassName: ''
|
||||
size: 10Gi
|
||||
fqdn: vaultwarden.domain.net
|
||||
timeZone: "Europe/Lisbon"
|
||||
|
||||
tailscaleIngresses:
|
||||
odooHostname: odoo
|
||||
vaultwardenHostname: vaultwarden
|
||||
|
||||
Reference in New Issue
Block a user