postinstall stuff (tailscale ingresses)
This commit is contained in:
32
immich-argocd-apps/templates/immich-postinstall-app.yaml
Normal file
32
immich-argocd-apps/templates/immich-postinstall-app.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: immich-postinstall
|
||||
namespace: argocd # Ensure this is the namespace where Argo CD is installed
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "1"
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: "https://git.blarre.net/thomas/helm-charts.git"
|
||||
targetRevision: HEAD
|
||||
path: immich-argocd-postInstall
|
||||
helm:
|
||||
releaseName: immich-postinstall
|
||||
valuesObject:
|
||||
tailscaleIngresses:
|
||||
immichHostName: {{ .Values.tailscaleIngresses.immichHostName }}
|
||||
filebrowserHostName: {{ .Values.tailscaleIngresses.filebrowserHostName }}
|
||||
destination:
|
||||
server: https://kubernetes.default.svc # Targeting the current Kubernetes cluster
|
||||
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