---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: metallb
  namespace: stackspin
spec:
  releaseName: metallb
  chart:
    spec:
      # https://artifacthub.io/packages/helm/bitnami/metallb
      # renovate: registryUrl=https://charts.bitnami.com/bitnami
      chart: metallb
      version: 2.6.8
      sourceRef:
        kind: HelmRepository
        name: bitnami
        namespace: flux-system
  interval: 1h
  install:
    timeout: 2m
  valuesFrom:
    - kind: ConfigMap
      name: stackspin-metallb-values
      optional: false
    # Allow overriding values by ConfigMap or Secret
    - kind: ConfigMap
      name: stackspin-metallb-override
      optional: true
    - kind: Secret
      name: stackspin-metallb-override
      optional: true