Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid statefulset when monolithic is deployed with receiver TLS enable both protocols #976

Closed
rubenvp8510 opened this issue Jul 10, 2024 · 0 comments · Fixed by #977
Closed

Comments

@rubenvp8510
Copy link
Collaborator

In monolithic deployment, if we enable TLS on the OTLP- GRPC and OTLP-HTTP protocols the statefulset generated by the operator is invalid and cannot be ready due this error:

  Type     Reason        Age                 From                    Message
  ----     ------        ----                ----                    -------
  Warning  FailedCreate  29s (x12 over 40s)  statefulset-controller  create Pod tempo-simplest-0 in StatefulSet tempo-simplest failed error: Pod "tempo-simplest-0" is invalid: [spec.volumes[4].name: Duplicate value: "custom-ca", spec.volumes[5].name: Duplicate value: "custom-cert", spec.containers[0].volumeMounts[4].mountPath: Invalid value: "/var/run/ca-receiver": must be unique, spec.containers[0].volumeMounts[5].mountPath: Invalid value: "/var/run/tls/receiver": must be unique]

CR used:

apiVersion: tempo.grafana.com/v1alpha1
kind: TempoMonolithic
metadata:
  name: simplest
spec:
  jaegerui:
    enabled: true
  ingestion:
    otlp:
      grpc:
        enabled: true
        tls:
          enabled: true
          caName: custom-ca
          certName: custom-cert
      http:
        enabled: true
        tls:
          enabled: true
          caName: custom-ca
          certName: custom-cert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant