File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 20
20
S3_SECRET_KEY : 8dea68a1
21
21
S3_SECRET_KEY__K8S_SECRET_KEY : cdf7c60b
22
22
S3_BUCKET : 72017610
23
+ K8S_SECRET_NAME : super-secrets
23
24
MIN_SKYMAP_SCANNER_TAG : " v3.21.2" # TODO: remove once skyscan v4 is out (that's the real min)
24
25
25
26
Original file line number Diff line number Diff line change @@ -248,17 +248,21 @@ async def _launch_scan(
248
248
"name" : "S3_ACCESS_KEY_ID" ,
249
249
"valueFrom" : {
250
250
"secretKeyRef" : {
251
- "key" : os .environ ["S3_ACCESS_KEY_ID" ],
252
- "name" : None ,
251
+ "key" : os .environ [
252
+ "S3_ACCESS_KEY_ID__K8S_SECRET_KEY"
253
+ ],
254
+ "name" : os .environ ["K8S_SECRET_NAME" ],
253
255
}
254
256
},
255
257
},
256
258
{
257
259
"name" : "S3_SECRET_KEY" ,
258
260
"valueFrom" : {
259
261
"secretKeyRef" : {
260
- "key" : os .environ ["S3_SECRET_KEY" ],
261
- "name" : None ,
262
+ "key" : os .environ [
263
+ "S3_SECRET_KEY__K8S_SECRET_KEY"
264
+ ],
265
+ "name" : os .environ ["K8S_SECRET_NAME" ],
262
266
}
263
267
},
264
268
},
You can’t perform that action at this time.
0 commit comments