gitops/infrastructure/controllers/weave-gitops.yaml

49 lines
1.0 KiB
YAML

---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: weave-gitops
namespace: flux-system
spec:
type: oci
interval: 60m0s
url: oci://ghcr.io/weaveworks/charts
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: weave-gitops
namespace: flux-system
spec:
interval: 60m
chart:
spec:
chart: weave-gitops
version: "4.0.16"
sourceRef:
kind: HelmRepository
name: weave-gitops
interval: 12h
# https://github.com/weaveworks/weave-gitops/blob/main/charts/gitops-server/values.yaml
values:
#resources:
# requests:
# cpu: 100m
# memory: 64Mi
# limits:
# cpu: 1
# memory: 512Mi
adminUser:
create: false
oidcSecret:
create: false
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-dns
hosts:
- host: weave.midnightthoughts.space
paths:
- path: /
pathType: ImplementationSpecific