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

[charts/csm-authorization-v2.0]: Add OTEL Collector address to storage-service and expose prometheus metrics #512

Merged
merged 7 commits into from
Sep 18, 2024
124 changes: 124 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
# github actions
- package-ecosystem: "github-actions"
target-branch: "release-v1.12.0"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
day: "saturday"
groups:
github-actions:
patterns:
- "*"

# csi-powerstore packages
- package-ecosystem: docker
target-branch: "release-v1.12.0"
directories:
- /charts/csi-powerstore
labels:
- dependencies
schedule:
# check daily
interval: daily
# at 6pm UTC
time: "18:00"
groups:
csi-powerstore:
patterns:
- "*"

# csi-isilon packages
- package-ecosystem: docker
target-branch: "release-v1.12.0"
directories:
- /charts/csi-isilon
labels:
- dependencies
schedule:
# check daily
interval: daily
# at 6pm UTC
time: "18:00"
groups:
csi-isilon:
patterns:
- "*"

# csi-vxflexos packages
- package-ecosystem: docker
target-branch: "release-v1.12.0"
directories:
- /charts/csi-vxflexos
labels:
- dependencies
schedule:
# check daily
interval: daily
# at 6pm UTC
time: "18:00"
groups:
csi-vxflexos:
patterns:
- "*"

# csi-unity packages
- package-ecosystem: docker
target-branch: "release-v1.12.0"
directories:
- /charts/csi-unity
labels:
- dependencies
schedule:
# check daily
interval: daily
# at 6pm UTC
time: "18:00"
groups:
csi-unity:
patterns:
- "*"
# csm-authorization packages
- package-ecosystem: docker
target-branch: "release-v1.12.0"
directories:
- /charts/csm-authorization
- /charts/csm-authorization-v2.0
labels:
- dependencies
schedule:
# check daily
interval: daily
# at 6pm UTC
time: "18:00"
groups:
csm-authorization:
patterns:
- "*"

# karavi-observability packages
- package-ecosystem: docker
target-branch: "release-v1.12.0"
directories:
- /charts/karavi-observability
labels:
- dependencies
schedule:
# check daily
interval: daily
# at 6pm UTC
time: "18:00"
ignore:
# ignore all updates to otel/opentelemetry-collector
- dependency-name: "otel/opentelemetry-collector"
groups:
karavi-observability:
patterns:
- "*"
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,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 @@ -137,6 +140,9 @@ spec:
- port: 50051
targetPort: 50051
name: grpc
- port: 2112
targetPort: 2112
name: promhttp
---
{{- if .Values.vault.certificateAuthority }}
{{- $certificateFileContents := .Values.vault.certificateAuthority }}
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 @@ -45,6 +45,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