FluxCD-Operator
Installiert den Flux Operator (Helm Chart flux-operator)
und optional eine FluxInstance (CNCF Flux Controllers).
Web-UI (Port 9080) ist Chart-Default. Exposure ist opt-in und gegenseitig ausgeschlossen:
ingress.enabled— Default:false; Zweck: Chart-native Ingress (web.ingress)gateway.enabled— Default:false; Zweck: Gateway API wie Argo CD (Certificate + Gateway + HTTPRoute aufeg-shared)
values.yml.j2 enthält nur Ingress-Overrides. Alle anderen Helm-Values kommen vom Chart.
actions
install
operator only
blocks:
- name: fluxcd-operator
from: cargo.ayedo.cloud/ayedo/k8s/fluxcd-operator
kubeconfig:
from: k8s
config:
namespace: flux
operator:
enabled: true
crd
blocks:
- name: fluxcd-operator
from: cargo.ayedo.cloud/ayedo/k8s/fluxcd-operator
kubeconfig:
from: k8s
config:
fluxinstance:
enabled: true
# Optional overlay for spec.storage (does not replace the default CRD)
# storage:
# class: longhorn
# size: 4Gi
# Default CRD
# crd: |
# apiVersion: fluxcd.controlplane.io/v1
# kind: FluxInstance
# metadata:
# name: flux
# namespace: flux
# annotations:
# fluxcd.controlplane.io/reconcile: enabled
# fluxcd.controlplane.io/reconcileEvery: 1h
# fluxcd.controlplane.io/reconcileTimeout: 3m
# spec:
# distribution:
# version: 2.x
# registry: ghcr.io/fluxcd
# components:
# - source-controller
# - kustomize-controller
# - helm-controller
# - notification-controller
# - image-reflector-controller
# - image-automation-controller
# cluster:
# type: kubernetes
# multitenant: false
# networkPolicy: true
# domain: cluster.local
# storage:
# class: ""
# size: 20Gi
# commonMetadata:
# labels:
# app.kubernetes.io/name: flux
Web-UI via Gateway API (Envoy)
ingress:
enabled: false
host: flux.example.com
tls:
enabled: true
issuer: letsencrypt-production
gateway:
enabled: true
Web-UI via Ingress
ingress:
enabled: true
host: flux.example.com
class: nginx
tls:
enabled: true
issuer: letsencrypt-production
gateway:
enabled: false
uninstall
Deinstalliert FluxCD.
polycrate run fluxcd-operator uninstall