Skip to content

Commit

Permalink
Adjusted cert path and image version for deployment (#18)
Browse files Browse the repository at this point in the history
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
  • Loading branch information
jpkrohling authored Dec 3, 2020
1 parent c41eb17 commit 27bf9a8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ receivers:
endpoint: localhost:55680
auth:
oidc:
issuer_url: http://dex.dex.svc.cluster.local:5556/dex
issuer_url: https://dex.dex.svc.cluster.local:5556/dex
audience: test
issuer_ca_path: /etc/pki/ca-trust/source/anchors/cacert.crt
username_claim: email
Expand Down
16 changes: 12 additions & 4 deletions deploy/observatorium-otelcol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,19 @@ metadata:
name: observatorium-otelcol
data:
config.yaml: |
extensions:
health_check:
receivers:
otlp:
protocols:
grpc:
endpoint: localhost:55680
auth:
oidc:
issuer_url: https://dex-dex.apps.llc.o4b5.p1.openshiftapps.com/dex
issuer_url: https://dex.dex.svc.cluster.local:5556/dex
audience: test
issuer_ca_path: /etc/pki/ca-trust/source/anchors/service-ca.crt
username_claim: email
processors:
Expand All @@ -44,16 +48,17 @@ data:
insecure: true
service:
extensions: [health_check]
pipelines:
traces:
receivers:
- otlp
processors:
# - authentication
- resourcedetection
- routing
exporters:
- jaeger
---
apiVersion: v1
kind: Service
Expand Down Expand Up @@ -84,7 +89,7 @@ spec:
spec:
containers:
- name: otelcol
image: quay.io/observatorium/opentelemetry-collector:0.3.0
image: quay.io/observatorium/opentelemetry-collector:v0.2.3
args: ["--config=/etc/otelcol/config.yaml"]
resources:
requests:
Expand All @@ -95,8 +100,11 @@ spec:
volumeMounts:
- name: otelcol-config
mountPath: /etc/otelcol
readOnly: true
- name: service-ca
mountPath: /etc/pki/ca-trust/source/anchors
mountPath: /etc/pki/ca-trust/source/anchors/service-ca.crt
subPath: service-ca.crt
readOnly: true
volumes:
- name: otelcol-config
configMap:
Expand Down

0 comments on commit 27bf9a8

Please sign in to comment.