Compare commits

...

2 Commits

Author SHA1 Message Date
renovate[bot]
693e9ba6e5 chore(deps): update immich docker tag to v0.10.3 (#53)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-14 22:52:30 +00:00
3c8904b74a Add basicauth to otel 2025-11-14 23:47:15 +01:00
4 changed files with 39 additions and 22 deletions

View File

@@ -6,7 +6,7 @@ helmCharts:
name: immich
releaseName: immich
namespace: immich
version: 0.10.2
version: 0.10.3
valuesFile: values.yaml
resources:

View File

@@ -0,0 +1,12 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: otel-basicauth
spec:
refreshInterval: 24h
secretStoreRef:
kind: ClusterSecretStore
name: bitwarden
dataFrom:
- extract:
key: otel-basicauth

View File

@@ -18,18 +18,7 @@ spec:
name: otel-collector
port:
name: otlp-http
- host: otel-grpc.sdg.moe
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: otel-collector
port:
name: otlp-grpc
tls:
- hosts:
- otel.sdg.moe
- otel-grpc.sdg.moe
secretName: otel-ssl

View File

@@ -5,11 +5,24 @@ metadata:
spec:
mode: daemonset
env:
- name: CLICKHOUSE_PASSWORD
valueFrom:
secretKeyRef:
name: clickhouse-passwords
key: collector
- name: CLICKHOUSE_PASSWORD
valueFrom:
secretKeyRef:
name: clickhouse-passwords
key: collector
volumes:
- name: htpasswd
secret:
secretName: otel-basicauth
items:
- key: .htpasswd
path: .htpasswd
volumeMounts:
- name: htpasswd
mountPath: .htpasswd
subPath: .htpasswd
config:
receivers:
# hostmetrics:
@@ -25,10 +38,10 @@ spec:
# paging:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
auth:
authenticator: basicauth
processors:
memory_limiter:
@@ -66,14 +79,17 @@ spec:
endpoint: 0.0.0.0:1777
zpages:
endpoint: 0.0.0.0:55679
basicauth:
htpasswd:
file: .htpasswd
service:
extensions: [health_check, pprof, zpages]
extensions: [basicauth, health_check, pprof, zpages]
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [debug, clickhouse]
exporters: [clickhouse]
metrics:
receivers: [otlp] #[otlp, hostmetrics]
processors: [memory_limiter, batch]
@@ -81,4 +97,4 @@ spec:
logs:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [debug, clickhouse]
exporters: [clickhouse]