Hi,
I’m deploying Loki with Grafana Community Kubernetes Helm Charts | helm-charts and using the following configuration for the S3 auth:
...
loki:
storage:
type: s3
s3:
accessKeyId: <grafana-loki-s3-acceskeyid>
secretAccessKey: <grafana-loki-s3-secretaccesskey>
...
My question is:
How can I read the values for accessKeyId and secretAccessKey from a k8s secret?
Supposing I have the following secret, how do I use it in the above example?:
apiVersion: v1
kind: Secret
metadata:
name: loki-secrets
namespace: grafana-loki
data:
grafana-loki-s3-accessKeyId: **************
grafana-loki-s3-secretAccessKey: **************
type: Opaque
TIA!