- name: opentelemetry-operator
  namespace: observability
  create_namespace: true
  chart_ref: {{ .Modules.Observability.Tracing.Operator.ChartRef }}
  chart_version: {{ .Modules.Observability.Tracing.Operator.ChartVersion }}
  {{- if and .Modules.Observability.Enabled .Modules.Observability.Tracing.Enabled }}
  release_state: "present"
  {{- else }}
  release_state: "absent"
  {{- end }}
  values:
    replicaCount: 1
    nameOverride: ""
    imagePullSecrets: []
    pdb:
      create: false
      minAvailable: 1
      maxUnavailable: ""

    manager:
      image:
        repository: {{ .Modules.Observability.Tracing.Operator.Image }}
        tag: "{{ .Modules.Observability.Tracing.Operator.Tag }}"
      collectorImage:
        repository: {{ .Modules.Observability.Tracing.Collector.Image }}
        tag: {{ .Modules.Observability.Tracing.Collector.Tag }}

      featureGates: ""
      ports:
        metricsPort: 8080
        webhookPort: 9443
        healthzPort: 8081
      resources:
        limits:
          cpu: 100m
          memory: 128Mi
        requests:
          cpu: 100m
          memory: 64Mi
      env:
        ENABLE_WEBHOOKS: "true"

      serviceAccount:
        create: true
        annotations: {}

      serviceMonitor:
        enabled: true
        metricsEndpoints:
          - port: metrics

      prometheusRule:
        enabled: true
        groups: []
        defaultRules:
          enabled: true

      extraArgs: []

      leaderElection:
        enabled: true

      verticalPodAutoscaler:
        enabled: false
        controlledResources: []
        maxAllowed: {}
        minAllowed: {}

        updatePolicy:
          updateMode: Auto
          minReplicas: 2
      rolling: false

      securityContext: {}

    kubeRBACProxy:
      enabled: true
      image:
        repository: quay.io/brancz/kube-rbac-proxy
        tag: v0.15.0
      ports:
        proxyPort: 8443
      resources:
        limits:
          cpu: 500m
          memory: 128Mi
        requests:
          cpu: 5m
          memory: 64Mi

      extraArgs: []

      securityContext: {}

    admissionWebhooks:
      create: true
      servicePort: 443
      failurePolicy: Fail
      secretName: ""
      pods:
        failurePolicy: Ignore

      namePrefix: ""

      timeoutSeconds: 10

      namespaceSelector: {}
      objectSelector: {}
      certManager:
        enabled: true
        issuerRef: {}
        certificateAnnotations: {}
        issuerAnnotations: {}

      autoGenerateCert:
        enabled: true
        recreate: true

      secretAnnotations: {}
      secretLabels: {}

    role:
      create: true

    clusterRole:
      create: true

    affinity: {}
    tolerations: []
    nodeSelector: {}
    topologySpreadConstraints: []
    hostNetwork: false

    priorityClassName: ""

    securityContext:
      runAsGroup: 65532
      runAsNonRoot: true
      runAsUser: 65532
      fsGroup: 65532

    testFramework:
      image:
        repository: busybox
        tag: latest
