Add HelmRelease and HelmRepository configuration for Rancher

This commit is contained in:
2025-05-01 14:27:12 +05:30
parent b430fe1d37
commit 8ba79fe7b5
2 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: rancher-stable
namespace: cattle-system
spec:
interval: 5m
chart:
spec:
chart: rancher-stable
version: "2.7.0"
sourceRef:
kind: HelmRepository
name: rancher-stable
namespace: flux-system
interval: 1m
install:
remediation:
retries: 3
upgrade:
remediation:
retries: 3
values:
hostname: rancher.akshun-lab.uk
bootstrapPassword:
valueFrom:
secretKeyRef:
name: rancher-bootstrap-secret
key: password
service:
type: NodePort
nodePort: 90

View File

@@ -0,0 +1,9 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: rancher-stable
namespace: flux-system
spec:
interval: 24h
url: https://releases.rancher.com/server-charts/stable