---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: osdu-developer-base-reference
  namespace: default
  annotations:
    clusterconfig.azure.com/use-managed-source: "true"
spec:
  targetNamespace: osdu-reference
  chart:
    spec:
      chart: ./charts/osdu-developer-base
      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:
    azure:
      enabled: true
    resourceLimits:
      defaultCpuRequests: "0.1"
      defaultMemoryRequests: "500Mi"
      defaultCpuLimits: "2"
      defaultMemoryLimits: "4Gi"
    share:
      enabled: true
      items:
        - name: unit
          pvc: "share-unit-pvc"
          file: "unit_catalog_v2.json"
          url: "https://community.opengroup.org/osdu/platform/system/reference/unit-service/-/raw/master/data/unit_catalog_v2.json"
        - name: crs
          pvc: "share-crs-pvc"
          file: "crs_catalog_v2.json"
          url: "https://community.opengroup.org/osdu/platform/system/reference/crs-catalog-service/-/raw/master/data/crs_catalog_v2.json"
        - name: crs-conversion
          pvc: "share-crs-conversion-pvc"
          file: "apachesis_setup"
          url: "https://community.opengroup.org/osdu/platform/system/reference/crs-conversion-service/-/archive/master/crs-conversion-service-master.tar.gz"