File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
components/vector-kubearchive-log-collector/development Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -144,13 +144,23 @@ ingester:
144144 hard : {}
145145 # AWS credentials for S3/MinIO access
146146 # These match the MinIO credentials from loki-helm-minio-values.yaml
147+ # Using secretKeyRef to satisfy kube-linter security requirements
147148 extraEnv :
148149 - name : AWS_ACCESS_KEY_ID
149- value : " loki"
150+ valueFrom :
151+ secretKeyRef :
152+ name : kubearchive-loki
153+ key : AWS_ACCESS_KEY_ID
150154 - name : AWS_SECRET_ACCESS_KEY
151- value : " supersecret"
155+ valueFrom :
156+ secretKeyRef :
157+ name : kubearchive-loki
158+ key : AWS_SECRET_ACCESS_KEY
152159 - name : AWS_DEFAULT_REGION
153- value : " us-east-1"
160+ valueFrom :
161+ secretKeyRef :
162+ name : kubearchive-loki
163+ key : AWS_DEFAULT_REGION
154164 # Graceful shutdown configuration to prevent stale ring instances
155165 # Give Loki time to flush chunks and leave the ring gracefully
156166 # Set to 90s to be longer than left_ingesters_timeout (60s) but still allow quick cleanup
Original file line number Diff line number Diff line change @@ -12,3 +12,6 @@ type: Opaque
1212stringData : # Using stringData for easier management
1313 USERNAME : admin
1414 PASSWORD : devpassword123 # notsecret only for dev
15+ AWS_ACCESS_KEY_ID : loki
16+ AWS_SECRET_ACCESS_KEY : supersecret
17+ AWS_DEFAULT_REGION : us-east-1
You can’t perform that action at this time.
0 commit comments