Added nextcloud
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: nc-syncthing-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: "https://git.blarre.net/thomas/helm-charts.git"
|
||||
targetRevision: HEAD
|
||||
path: nextcloud-syncthing-requirements
|
||||
helm:
|
||||
releaseName: nc-syncthing-requirements
|
||||
valuesObject:
|
||||
nextcloud:
|
||||
enable: {{ .Values.nextcloud.enable }}
|
||||
dbCluster:
|
||||
numInstances: {{ .Values.nextcloud.dbCluster.numInstances }}
|
||||
size: {{ .Values.nextcloud.dbCluster.size }}
|
||||
configPvc:
|
||||
name: {{ .Values.nextcloud.configPvc.name }}
|
||||
storageClassName: {{ .Values.nextcloud.configPvc.storageClassName }}
|
||||
size: {{ .Values.nextcloud.configPvc.size }}
|
||||
syncthing:
|
||||
enable: {{ .Values.syncthing.enable }}
|
||||
configPvc:
|
||||
name: {{ .Values.syncthing.configPvc.name }}
|
||||
storageClassName: {{ .Values.syncthing.configPvc.storageClassName }}
|
||||
size: {{ .Values.syncthing.configPvc.size }}
|
||||
dataPvc:
|
||||
name: {{ .Values.dataPvc.name }}
|
||||
createEncryptedPvc: {{ .Values.dataPvc.createEncryptedPvc }}
|
||||
storageClassName: {{ .Values.dataPvc.storageClassName }}
|
||||
size: {{ .Values.dataPvc.size }}
|
||||
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
|
||||
Reference in New Issue
Block a user