@@ -516,15 +516,23 @@ const createK8sDeploymentForTeam = async ({ team, passcodeHash }) => {
516
516
{
517
517
mountPath : '/tmp' ,
518
518
name : 'ephemeral' ,
519
- } ,
520
- {
521
- name : 'secrets-store-inline' ,
522
- mountPath : '/mnt/secrets-store' ,
523
- readOnly : true ,
524
- } ,
519
+ }
525
520
] ,
526
521
} ,
527
522
] ,
523
+ volumes : [
524
+ // {
525
+ // name: 'wrongsecrets-config',
526
+ // configMap: {
527
+ // name: 'wrongsecrets-config',
528
+ // },
529
+ // },
530
+ {
531
+ name : 'ephemeral' ,
532
+ emptyDir : { } ,
533
+ } ,
534
+ // ...get('wrongsecrets.volumes', []),
535
+ ] ,
528
536
tolerations : get ( 'wrongsecrets.tolerations' ) ,
529
537
affinity : get ( 'wrongsecrets.affinity' ) ,
530
538
runtimeClassName : get ( 'wrongsecrets.runtimeClassName' )
@@ -787,6 +795,19 @@ const createAWSDeploymentForTeam = async ({ team, passcodeHash }) => {
787
795
// ...get('wrongsecrets.volumeMounts', []),
788
796
] ,
789
797
} ,
798
+ ] ,
799
+ volumes : [
800
+ // {
801
+ // name: 'wrongsecrets-config',
802
+ // configMap: {
803
+ // name: 'wrongsecrets-config',
804
+ // },
805
+ // },
806
+ {
807
+ name : 'ephemeral' ,
808
+ emptyDir : { } ,
809
+ } ,
810
+ // ...get('wrongsecrets.volumes', []),
790
811
] ,
791
812
tolerations : get ( 'wrongsecrets.tolerations' ) ,
792
813
affinity : get ( 'wrongsecrets.affinity' ) ,
@@ -1069,6 +1090,19 @@ const createAzureDeploymentForTeam = async ({ team, passcodeHash }) => {
1069
1090
// ...get('wrongsecrets.volumeMounts', []),
1070
1091
] ,
1071
1092
} ,
1093
+ ] ,
1094
+ volumes : [
1095
+ // {
1096
+ // name: 'wrongsecrets-config',
1097
+ // configMap: {
1098
+ // name: 'wrongsecrets-config',
1099
+ // },
1100
+ // },
1101
+ {
1102
+ name : 'ephemeral' ,
1103
+ emptyDir : { } ,
1104
+ } ,
1105
+ // ...get('wrongsecrets.volumes', []),
1072
1106
] ,
1073
1107
tolerations : get ( 'wrongsecrets.tolerations' ) ,
1074
1108
affinity : get ( 'wrongsecrets.affinity' ) ,
@@ -2191,6 +2225,19 @@ const createGCPDeploymentForTeam = async ({ team, passcodeHash }) => {
2191
2225
} ,
2192
2226
] ,
2193
2227
} ,
2228
+ ] ,
2229
+ volumes : [
2230
+ // {
2231
+ // name: 'wrongsecrets-config',
2232
+ // configMap: {
2233
+ // name: 'wrongsecrets-config',
2234
+ // },
2235
+ // },
2236
+ {
2237
+ name : 'ephemeral' ,
2238
+ emptyDir : { } ,
2239
+ } ,
2240
+ // ...get('wrongsecrets.volumes', []),
2194
2241
] ,
2195
2242
tolerations : get ( 'wrongsecrets.tolerations' ) ,
2196
2243
affinity : get ( 'wrongsecrets.affinity' ) ,
0 commit comments