apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
  name: metallb
  namespace: flux-system
spec:
  interval: 30m
  url: https://metallb.github.io/metallb
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: metallb
  namespace: flux-system
spec:
  interval: 5m
  install:
    createNamespace: true
  targetNamespace: metallb-system
  chart:
    spec:
      chart: metallb
      version: 0.13.10
      sourceRef:
        kind: HelmRepository
        name: metallb
        namespace: flux-system
  values:
    controller:
      image:
        repository: quay.io/metallb/controller
        tag: v0.13.10
    speaker:
      image:
        repository: quay.io/metallb/speaker
        tag: v0.13.10
      frr:
        enabled: false
