Füge neue ArgoCD-Anwendungen und Konfigurationen für Homelab-Apps hinzu
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: gitea-runners
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: {{ $.Values.spec.destination.namespace }}
|
||||
server: {{ $.Values.spec.destination.server }}
|
||||
project: default
|
||||
source:
|
||||
path: .
|
||||
repoURL: https://git.hnrx.net/k8s/gitea_runners.git
|
||||
targetRevision: main
|
||||
kustomize:
|
||||
namespace: {{ $.Values.spec.destination.namespace }}
|
||||
patches:
|
||||
- target:
|
||||
kind: PhaseSecret
|
||||
name: gitea-runner-secret
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /spec/managedSecretReferences/0/secretNamespace
|
||||
value: "{{ $.Values.spec.destination.namespace }}"
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Reference in New Issue
Block a user