- name: fluent-operator
  namespace: observability
  create_namespace: true
  chart_ref: {{ .Modules.Observability.Logging.Operator.ChartRef }}
  chart_version: {{ .Modules.Observability.Logging.Operator.ChartVersion }}
  {{- if and .Modules.Observability.Enabled .Modules.Observability.Logging.Enabled }}
  release_state: "present"
  {{- else }}
  release_state: "absent"
  {{- end }}
  values:
    # Set this to containerd or crio if you want to collect CRI format logs
    containerRuntime: {{ .Orchestrator.ContainerEngine.Type }}
    Kubernetes: false

    operator:
      initcontainer:
        repository: "{{ .Modules.Observability.Logging.Operator.InitContainer.Image }}"
        tag: "{{ .Modules.Observability.Logging.Operator.InitContainer.Tag }}"

        resources:
          limits:
            cpu: 100m
            memory: 100Mi

          requests:
            cpu: 50m
            memory: 64Mi
      container:
        repository: "{{ .Modules.Observability.Logging.Operator.Image }}"
        tag: "{{ .Modules.Observability.Logging.Operator.Tag }}"
      resources:
        limits:
          cpu: 100m
          memory: 100Mi
        requests:
          cpu: 100m
          memory: 60Mi
      imagePullSecrets: []
      labels: {}
      logPath:
        # The operator currently assumes a Docker container runtime path for the logs as the default, for other container runtimes you can set the location explicitly below.
        # crio: /var/log
        containerd: /var/log
      disableComponentControllers: ""

    fluentbit:
      crdsEnable: true
      enable: false

    fluentd:
      crdsEnable: true
      enable: false
      name: fluentd
      # Valid modes include "collector" and "agent".
      # The "collector" mode will deploy Fluentd as a StatefulSet as before.
      # The new "agent" mode will deploy Fluentd as a DaemonSet.
      mode: "agent"
      port: 24224
      image:
        repository: "{{ .Modules.Observability.Logging.Fluentd.Image }}"
        tag: "{{ .Modules.Observability.Logging.Fluentd.Tag }}"

    nameOverride: ""
    fullnameOverride: ""
    namespaceOverride: ""
