---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: single-sign-on
spec:
  releaseName: single-sign-on
  dependsOn:
    - name: single-sign-on-database
  chart:
    spec:
      # renovate: registryUrl=https://open.greenhost.net/api/v4/projects/8/packages/helm/stable
      chart: single-sign-on
      version: 0.7.4
      sourceRef:
        kind: HelmRepository
        name: single-sign-on
        namespace: flux-system
  interval: 1h0m0s
  install:
    timeout: 20m
  upgrade:
    crds: CreateReplace
  valuesFrom:
    - kind: ConfigMap
      name: stackspin-single-sign-on-values
    # Allow overriding values by ConfigMap or Secret
    - kind: ConfigMap
      name: stackspin-single-sign-on-override
      optional: true
    - kind: Secret
      name: stackspin-single-sign-on-override
      optional: true