---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: wordpress
  namespace: stackspin-apps
spec:
  releaseName: wordpress
  chart:
    spec:
      # renovate: registryUrl=https://open.greenhost.net/api/v4/projects/27/packages/helm/stable
      chart: wordpress
      version: 0.6.2
      sourceRef:
        kind: HelmRepository
        name: wordpress-helm
        namespace: flux-system
  interval: 1h
  install:
    timeout: 30m
  valuesFrom:
    - kind: ConfigMap
      name: stackspin-wordpress-values
      optional: false
    # Allow overriding values by ConfigMap or Secret
    - kind: ConfigMap
      name: stackspin-wordpress-override
      optional: true
    - kind: Secret
      name: stackspin-wordpress-override
      optional: true