apiVersion: helm.cattle.io/v1 kind: HelmChart metadata: name: flux-operator namespace: infra-gitops spec: chart: oci://ghcr.io/controlplaneio-fluxcd/charts/flux-operator targetNamespace: infra-gitops version: 0.48.0 valuesContent: |- affinity: nodeAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 1 preference: matchExpressions: - key: kubernetes.io/hostname operator: In values: - homea installCRDs: true # 注意:flux-operator 的 web 配置(OIDC + Ingress)依赖 Gitea 与 ingress-nginx, # 由 Flux Kustomization `infra-gitops-post` 通过 k3s HelmChartConfig 在 Gitea 起来后叠加注入。 # 详见 flux/infrastructure/infra-gitops/post/helmchartconfig-flux-web.yaml