Füge neue ArgoCD-Anwendungen und Konfigurationen für Homelab-Apps hinzu
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: databasus
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: databasus
|
||||
server: {{ $.Values.spec.destination.server }}
|
||||
project: homelab-apps
|
||||
source:
|
||||
path: .
|
||||
repoURL: oci://ghcr.io/databasus/charts/databasus
|
||||
targetRevision: 2.16.3
|
||||
helm:
|
||||
values: |
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 10Gi
|
||||
storageClassName: nfs-csi
|
||||
route:
|
||||
enabled: true
|
||||
hostnames:
|
||||
- databasus.k8s.hnrx.net
|
||||
parentRefs:
|
||||
- name: shared-gateway
|
||||
namespace: default
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,24 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: freshrss
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: freshrss
|
||||
server: {{ $.Values.spec.destination.server }}
|
||||
project: homelab-apps
|
||||
source:
|
||||
path: .
|
||||
repoURL: https://git.hnrx.net/k8s/freshrss.git
|
||||
targetRevision: main
|
||||
directory:
|
||||
recurse: true
|
||||
exclude: 'renovate.json'
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,24 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: ghostfolio
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: ghostfolio
|
||||
server: {{ $.Values.spec.destination.server }}
|
||||
project: homelab-apps
|
||||
source:
|
||||
path: .
|
||||
repoURL: https://git.hnrx.net/k8s/ghostfolio.git
|
||||
targetRevision: main
|
||||
directory:
|
||||
recurse: true
|
||||
exclude: 'renovate.json'
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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
|
||||
@@ -0,0 +1,21 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: gethomepage
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: gethomepage
|
||||
server: {{ $.Values.spec.destination.server }}
|
||||
project: homelab-apps
|
||||
source:
|
||||
path: .
|
||||
repoURL: https://git.hnrx.net/k8s/gethomepage-dashboard.git
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,24 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: n8n
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: n8n
|
||||
server: {{ $.Values.spec.destination.server }}
|
||||
project: homelab-apps
|
||||
source:
|
||||
path: .
|
||||
repoURL: https://git.hnrx.net/k8s/n8n.git
|
||||
targetRevision: main
|
||||
directory:
|
||||
recurse: true
|
||||
exclude: 'renovate.json'
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,24 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: pgadmin
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: pgadmin
|
||||
server: {{ $.Values.spec.destination.server }}
|
||||
project: homelab-apps
|
||||
source:
|
||||
path: .
|
||||
repoURL: https://git.hnrx.net/k8s/pgadmin.git
|
||||
targetRevision: main
|
||||
directory:
|
||||
recurse: true
|
||||
exclude: 'renovate.json'
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,65 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: rancher
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
ignoreDifferences:
|
||||
- group: apps
|
||||
kind: Deployment
|
||||
jsonPointers: ["/metadata/finalizers"]
|
||||
destination:
|
||||
namespace: cattle-system
|
||||
server: {{ $.Values.spec.destination.server }}
|
||||
project: homelab-apps
|
||||
source:
|
||||
repoURL: https://releases.rancher.com/server-charts/stable
|
||||
chart: rancher
|
||||
targetRevision: v2.13.1
|
||||
helm:
|
||||
values: |
|
||||
hostname: rancher.k8s.hnrx.net
|
||||
replicas: 1
|
||||
bootstrapPassword: "admin123!"
|
||||
agentTLSMode: system-store # Because we use external TLS with Let's Encrypt
|
||||
ingress:
|
||||
enabled: false
|
||||
service:
|
||||
type: ClusterIP
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 10Gi
|
||||
storageClass: nfs-csi
|
||||
tls: external
|
||||
extraEnv:
|
||||
- name: CATTLE_FEATURES
|
||||
value: "continuous-delivery=false"
|
||||
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: rancher-route
|
||||
namespace: cattle-system
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: shared-gateway # Ihr Envoy Gateway
|
||||
namespace: default
|
||||
hostnames:
|
||||
- "rancher.k8s.hnrx.net"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
backendRefs:
|
||||
- name: rancher # Rancher Service Name
|
||||
port: 80 # Rancher läuft auf Port 80 intern
|
||||
Reference in New Issue
Block a user