Skip to content

Commit

Permalink
[charts/csm-authorization-v2.0]: Add OTEL Collector address to storag…
Browse files Browse the repository at this point in the history
…e-service and expose prometheus metrics (#512)

* Cherry-picked .github/dependabot.yaml from 6e0b47d (#481)

* [charts/csm-authorization-v2.0] Enable dependabot for authorization v2 (#495)

* add dependabot config

* combine into one

* updating dependabot.yaml for isilon (#491)

* Add dependabot compatibility for csi-powerstore images (#506)

* Add dependabot compatibility for csi-powerstore images

* Update dependabot.yml

* Adding dependabot compatibility for csi-unity (#509)

* Adding dependabot compatibility for csi-unity

* Adding dependabot compatibility for csi-unity

* Adding dependabot compatibility for csi-unity

* add collector address

* remove depdendabot

---------

Co-authored-by: Eric Young <[email protected]>
Co-authored-by: shaynafinocchiaro <[email protected]>
Co-authored-by: aqu-dell <[email protected]>
Co-authored-by: Akshay Saini <[email protected]>
Co-authored-by: sakshi-garg1 <[email protected]>
  • Loading branch information
6 people authored Sep 18, 2024
1 parent 52a78bc commit 3a09206
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/csm-authorization-v2.0/templates/storage-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,12 @@ spec:
- "--redis-sentinel={{ $str }}"
- "--redis-password=$(REDIS_PASSWORD)"
- "--leader-election=true"
- "--collector-address={{ .Values.authorization.openTelemetryCollectorAddress}}"
ports:
- containerPort: 50051
name: grpc
- containerPort: 2112
name: promhttp
volumeMounts:
- name: config-volume
mountPath: /etc/karavi-authorization/config
Expand Down Expand Up @@ -139,6 +142,9 @@ spec:
- port: 50051
targetPort: 50051
name: grpc
- port: 2112
targetPort: 2112
name: promhttp
---
{{- $namespace := . }}
{{- range .Values.vault }}
Expand Down
3 changes: 3 additions & 0 deletions charts/csm-authorization-v2.0/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ authorization:
# collectoruri: http://DNS-hostname:9411/api/v2/spans
# probability: 1

# openTelemetryCollectorAddress: the OTLP receiving endpoint using gRPC
openTelemetryCollectorAddress: ""

# proxy-server ingress configuration
proxyServerIngress:
ingressClassName: nginx
Expand Down

0 comments on commit 3a09206

Please sign in to comment.