mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: weave-gitops
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: weave-gitops
|
|
version: 4.0.36
|
|
interval: 30m
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: weaveworks
|
|
namespace: flux-system
|
|
maxHistory: 2
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
values:
|
|
annotations:
|
|
secret.reloader.stakater.com/reload: &secret weave-gitops-secret
|
|
adminUser:
|
|
create: true
|
|
username: admin
|
|
# passwordHash: from valuesFrom
|
|
ingress:
|
|
enabled: true
|
|
className: nginx
|
|
annotations:
|
|
hajimari.io/icon: mdi:sawtooth-wave
|
|
hosts:
|
|
- host: &host "gitops.${SECRET_CLUSTER_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
valuesFrom:
|
|
- kind: Secret
|
|
name: *secret
|
|
valuesKey: adminPassword
|
|
targetPath: adminUser.passwordHash
|