deploy app openprject
This commit is contained in:
36
apps/openproject-app.yaml
Normal file
36
apps/openproject-app.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: openproject # <--- Name der App in ArgoCD UI
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "5"
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://git.cloud-infra.prod.openmailserver.de/stabify/gitops.git
|
||||
targetRevision: HEAD
|
||||
path: apps/openproject # <--- WICHTIG: Hier muss dein Wrapper-Chart liegen
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: openproject # <--- WICHTIG: Der Namespace, in den installiert wird
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true # Erstellt den Namespace 'openproject' automatisch
|
||||
ignoreDifferences:
|
||||
# Das hast du gut drin! Behalte es bei.
|
||||
# Da OpenProject PVCs (Speicher) nutzt, verhindert das, dass ArgoCD
|
||||
# ständig "Out of Sync" schreit, wenn K3s/Longhorn kleine Metadaten am Speicher ändert.
|
||||
- group: ""
|
||||
kind: PersistentVolumeClaim
|
||||
jqPathExpressions:
|
||||
- .metadata.annotations."pv.kubernetes.io/bind-completed"
|
||||
- .metadata.annotations."pv.kubernetes.io/bound-by-controller"
|
||||
- .metadata.annotations."volume.beta.kubernetes.io/storage-provisioner"
|
||||
- .metadata.annotations."volume.kubernetes.io/storage-provisioner"
|
||||
- .metadata.uid
|
||||
- .metadata.resourceVersion
|
||||
- .status
|
||||
Reference in New Issue
Block a user