---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: storage-volumes
  namespace: default
  annotations:
    clusterconfig.azure.com/use-managed-source: "true"
spec:
  targetNamespace: osdu-reference
  releaseName: storage-volumes
  chart:
    spec:
      chart: ./charts/storage-volumes
      sourceRef:
        kind: GitRepository
        name: flux-system
        namespace: flux-system
  interval: 5m0s
  install:
    remediation:
      retries: 3
  valuesFrom:
    - kind: ConfigMap
      name: config-map-values
      valuesKey: values.yaml
  values:
    volumes:
      - volumeName: "share-unit"
        containerName: "share-unit"
      - volumeName: "share-crs"
        containerName: "share-crs"
      - volumeName: "share-crs-conversion"
        containerName: "share-crs-conversion"