revert to 4368a36150 with a few changes

This commit is contained in:
2025-07-10 05:40:02 +05:30
parent 8b859deb3f
commit bd5c081cac
24 changed files with 319 additions and 74 deletions

View File

@@ -0,0 +1,32 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: longhorn
namespace: longhorn-system
spec:
interval: 24h
chart:
spec:
chart: longhorn
version: "1.9.0"
sourceRef:
kind: HelmRepository
name: longhorn
namespace: flux-system
interval: 24h
install:
createNamespace: true
upgrade:
remediation:
remediateLastFailure: true
values:
persistence:
defaultClass: true
reclaimPolicy: Retain
ingress:
enabled: false
service:
ui:
type: LoadBalancer
port: 85

View File

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

View File

@@ -0,0 +1,33 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: portainer
namespace: default
spec:
interval: 24h
chart:
spec:
chart: portainer
version: "1.0.69"
sourceRef:
kind: HelmRepository
name: portainer
namespace: flux-system
interval: 24h
install:
remediation:
retries: 3
upgrade:
remediation:
retries: 3
values:
service:
type: LoadBalancer
httpPort: 9000
persistence:
enabled: true
storageClass: longhorn-static
accessModes:
- ReadWriteMany
size: 500Mi

View File

@@ -0,0 +1,9 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: portainer
namespace: flux-system
spec:
interval: 24h
url: https://portainer.github.io/k8s/

View File

@@ -1,11 +0,0 @@
# https://portainer.github.io/k8s/
service:
type: LoadBalancer
httpPort: 9000
persistence:
enabled: true
storageClass: longhorn-static
accessModes:
- ReadWriteMany
size: 500Mi

View File

@@ -0,0 +1,32 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: rancher-stable
namespace: cattle-system
spec:
interval: 24h
chart:
spec:
chart: rancher
version: "2.11.3"
sourceRef:
kind: HelmRepository
name: rancher-stable
namespace: flux-system
interval: 24h
install:
remediation:
retries: 3
upgrade:
remediation:
retries: 3
values:
hostname: rancher.akshun-lab.uk
service:
type: LoadBalancer
valuesFrom:
- kind: Secret
name: rancher-bootstrap-secret
valuesKey: bootstrapPassword
targetPath: bootstrapPassword

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/latest

View File

@@ -1,10 +0,0 @@
# https://releases.rancher.com/server-charts/latest
hostname: rancher.akshun-lab.uk
service:
type: LoadBalancer
valuesFrom:
- kind: Secret
name: rancher-bootstrap-secret
valuesKey: bootstrapPassword
targetPath: bootstrapPassword