FIX(tempo): move extraEnv under tempo section for S3 credentials

- Move extraEnv from top-level to tempo section where chart expects it
- Move extraVolumeMounts under tempo section for proper WAL mounting
- Fixes Access Denied error when connecting to MinIO
This commit is contained in:
2026-01-09 18:42:13 +09:00
parent 8ac76d17f3
commit b378c6ec06

View File

@@ -63,32 +63,34 @@ tempo:
enabled: true enabled: true
remoteWriteUrl: http://prometheus-kube-prometheus-prometheus.prometheus.svc:9090/api/v1/write remoteWriteUrl: http://prometheus-kube-prometheus-prometheus.prometheus.svc:9090/api/v1/write
# MinIO S3 credentials
extraEnv:
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: minio-s3-credentials
key: AWS_ACCESS_KEY_ID
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: minio-s3-credentials
key: AWS_SECRET_ACCESS_KEY
# Additional volume mounts for WAL
extraVolumeMounts:
- name: tempo-data
mountPath: /var/tempo
# ============================================================================= # =============================================================================
# Persistence - Disabled (use emptyDir for WAL, data in MinIO) # Persistence - Disabled (use emptyDir for WAL, data in MinIO)
# ============================================================================= # =============================================================================
persistence: persistence:
enabled: false enabled: false
# emptyDir for WAL # emptyDir volume for WAL
extraVolumes: extraVolumes:
- name: tempo-data - name: tempo-data
emptyDir: {} emptyDir: {}
extraVolumeMounts:
- name: tempo-data
mountPath: /var/tempo
# MinIO S3 credentials
extraEnv:
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: minio-s3-credentials
key: AWS_ACCESS_KEY_ID
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: minio-s3-credentials
key: AWS_SECRET_ACCESS_KEY
# ============================================================================= # =============================================================================
# Service # Service