feat: add open-webui application and disable rancher application manifests

This commit is contained in:
2026-08-25 21:19:05 +02:00
parent db4eaac0a3
commit e108b6523e
2 changed files with 86 additions and 0 deletions
@@ -0,0 +1,62 @@
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
source:
repoURL: https://releases.rancher.com/server-charts/latest
chart: rancher
targetRevision: 2.15.0
helm:
values: |
hostname: rancher.k8s.hnrx.net
replicas: 1
bootstrapPassword: "admin123!"
ingress:
enabled: false
service:
type: ClusterIP
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- CreateNamespace=true
# Verhindert, dass ArgoCD seine eigenen Finalizer für kaskadierendes Löschen injiziert
- DeletePropagationPolicy=background
# Nutzt Kubernetes Server-Side Apply, was oft Konflikte mit Rancher-Mutationen löst
- ServerSideApply=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: /
timeouts:
request: 0s # Deaktiviert das Timeout für langlebige Streams
backendRefs:
- name: rancher # Rancher Service Name
port: 80 # Rancher läuft auf Port 80 und 443 intern
@@ -0,0 +1,24 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: open-webui
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: open-webui
server: {{ $.Values.spec.destination.server }}
project: homelab
source:
path: .
repoURL: https://git.hnrx.net/k8s/open-webui.git
targetRevision: main
directory:
recurse: true
exclude: 'renovate.json'
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true