global:
  #-- Incase you use your own application DNS name, uncomment and set below params --#
  #external_kube_apiserver_address: "https://my.applcation.dns.address"
  #applicationDnsName: "https://my.applcation.dns.address"

  clusterMode:
    enabled: false

  #-- Uncomment and change only if you are using your own private registry --#
  #imageRegistry: quay.io/sisense_release

  gatewayPort: 30845
  ssl:
    enabled: false
  exposeNodePorts:
    enabled: false
  albController:
    enabled: false
  kubeNetworkPlugin: calico
  isKubernetesCloud: false
  kubernetesCloudProvider:
  highAvailability: true
  #-- If installing on "namespaced only" mode, then set clusterVisibility to false --#
  clusterVisibility: true
  vpnMode: false
  cloudLoadBalancer:
    enabled: false
  storageType: "hostPath"
  serviceAccountAnnotations: {}
  enableWidgetDeltas: false
  securityContext:
    runAsUser: 1000
    runAsGroup: 1000
    fsGroup: 1000
    seLinuxOptions:
      level: s0:c123,c456
  #-- If running on Openshift, the below must be set on true --#
  isOpenshift: false
  offlineInstaller: false
  monitoring:
    #-- If installed Sisense Prometheus, set below to "true" --#
    internal: false
  deploymentSize: small
  notifyOnUpgrade: true
  mongodb:
    enabled: true
  keda:
    enabled: false
  storageClass: manual

api-gateway:
  ingress:
    awsAlb: false
    certificateArn: 
    annotations: {}

sisense-utils:
  dbConnectionString: 
  email_sending_block: false
  internal_logs: true
  timezone: UTC
  #-- If installed Sisense Prometheus on a different namespace than "monitoring", switch blow line from "monitoring" to correct namespace --#
  monitoring_namespace: monitoring
  isManaged: false
  resourceQuota:
    enabled: false
  sisenseDiskSize: 70

rabbitmq:
  podSecurityContext:  
    fsGroup: 1000
  containerSecurityContext:
    runAsUser: 1000
  clustering:
    enabled: false
  #-- If installed Sisense Prometheus, set below to "true" --#
  metrics:
    enabled: false

mongodb:
  enabled: true
  updateStrategy:
    type: Recreate
  podSecurityContext:
    fsGroup: 1000
  containerSecurityContext:
    runAsUser: 1000
  persistence:
    size: "20Gi"
  #-- If installed Sisense Prometheus, uncomment below "metrics" section, and make sure of the correct monitoring "namespace:" --#
  #metrics:
  #  enabled: true
  #  serviceMonitor:
  #    namespace: monitoring
  #--  If installed Sisense Prometheus on a different namespace than "monitoring", then switch *above* line from "monitoring" to correct namespace --#

zookeeper:
  podSecurityContext:
    fsGroup: 1000
  containerSecurityContext:
    runAsUser: 1000
  #-- If installed Sisense on a different namespace than "sisense", then in the last line of "configuration:", switch "sisense" to correct namespace --#
  #-- Example for namespace "mynamespace": --#
  #-- server.1=mynamespace-zookeeper-0.mynamespace-zookeeper-headless.mynamespace.svc.cluster.local:2888:3888 --#
  configuration: |-
    tickTime=2000
    initLimit=10
    syncLimit=5
    dataDir=/bitnami/zookeeper/data
    clientPort=2181
    maxClientCnxns=1000
    autopurge.snapRetainCount=3
    autopurge.purgeInterval=1
    snapshot.trust.empty=true
    metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider
    metricsProvider.httpPort=9141
    metricsProvider.exportJvmInfo=true
    maxCnxns=0
    reconfigEnabled=false
    quorumListenOnAllIPs=false
    4lw.commands.whitelist=srvr, mntr, ruok
    maxSessionTimeout=40000
    server.1=sisense-zookeeper-0.sisense-zookeeper-headless.sisense.svc.cluster.local:2888:3888
  persistence:
    size: "5Gi"
    existingClaim: data-zookeeper-0
  #-- If installed Sisense Prometheus, uncomment below lines --#
  #metrics:
  #  enabled: true

grafana:
  securityContext:
    runAsUser: 1000
    runAsGroup: 1000
    fsGroup: 1000
  #-- If installed Sisense on a different namespace than "sisense", switch from "sisense" to correct namespace in "adminUser", "adminPassword" --#
  adminUser: "user-sisense"
  adminPassword: "passwd-sisense"
  persistence:
    storageClassName: manual
    selectorLabels:
      #-- If installed Sisense on a different namespace than "sisense", switch the below from "sisense" to correct namespace --#
      app: "grafana-sisense"
  initChownData:
    enabled: true

  datasources:
    datasources.yaml:
      apiVersion: 1
      datasources:
      - name: Prometheus
        type: prometheus
        access: proxy
        isDefault: true
        #url: http://sisense-prom-operator-kube-prometheus.monitoring:9090
        #-- If installed Sisense Prometheus, uncomment comment *above* line --#
        #-- If installed Sisense Prometheus on a different namespace than "monitoring", then switch in above line from "monitoring" to correct namespace --#

  sidecar:
    dashboards:
      #-- If installed Sisense on a different namespace than "sisense", switch from "sisense" to correct namespace --#
      searchNamespace: sisense
    datasources:
      #-- If installed Sisense on a different namespace than "sisense", switch from "sisense" to correct namespace --#
      searchNamespace: sisense

  #-- If installing on "namespaced only" mode, then uncomment below lines --#
  #rbac:
  #  namespaced: true

keda:
  enabled: false
  podSecurityContext:
    operator:
      runAsUser: 1000
      runAsGroup: 1000
      fsGroup: 1000
    metricServer:
      runAsUser: 1000
      runAsGroup: 1000
      fsGroup: 1000
    webhooks:
      runAsUser: 1000
      runAsGroup: 1000
      fsGroup: 1000
