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

Question: missing openshift ca bundle? #15

Open
frzifus opened this issue Jun 29, 2023 · 3 comments
Open

Question: missing openshift ca bundle? #15

frzifus opened this issue Jun 29, 2023 · 3 comments

Comments

@frzifus
Copy link
Contributor

frzifus commented Jun 29, 2023

In otel multitenant example, we use the default ca bundle.

ca_file: "/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt"

Do we not need the openshift ca`s?

Example

apiVersion: template.openshift.io/v1
kind: Template
objects:
  - apiVersion: v1
    kind: ConfigMap
    metadata:
      namespace: ${NAMESPACE}
      annotations:
        service.beta.openshift.io/inject-cabundle: "true"
      name: otelcol-cabundle
  - apiVersion: opentelemetry.io/v1alpha1
    kind: OpenTelemetryCollector
    spec:
      volumeMounts:
        - mountPath: /etc/pki/ca-trust/source/service-ca
          name: cabundle-volume
      volumes:
        - configMap:
            name: otelcol-cabundle
          name: cabundle-volume
      config: |
...
          otlp:
            endpoint: observatorium-tempostack.${NAMESPACE}.svc.cluster.local:8090
            tls:
              insecure: false
              ca_file: "/etc/pki/ca-trust/source/service-ca/service-ca.crt"
...

cc @iblancasa

@pavolloffay
Copy link
Member

@frzifus is the ca bundle from service.beta.openshift.io/inject-cabundle: "true" different to "/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt" ?

@frzifus
Copy link
Contributor Author

frzifus commented Jul 3, 2023

My understanding is, not on OpenShift 4. But on 3.11 which is still supported. But is that a thing for us?

@pavolloffay
Copy link
Member

We do not support OpenShift 3.x. Can you describe the difference (for curiosity) or paste a link to docs?

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

No branches or pull requests

2 participants