@@ -97,7 +97,7 @@ const createK8sDeploymentForTeam = async ({ team, passcodeHash }) => {
97
97
name : `t-${ team } -wrongsecrets` ,
98
98
labels : {
99
99
app : 'wrongsecrets' ,
100
- team,
100
+ team : ` ${ team } ` ,
101
101
'deployment-context' : get ( 'deploymentContext' ) ,
102
102
} ,
103
103
annotations : {
@@ -113,15 +113,15 @@ const createK8sDeploymentForTeam = async ({ team, passcodeHash }) => {
113
113
selector : {
114
114
matchLabels : {
115
115
app : 'wrongsecrets' ,
116
- team,
116
+ team : ` ${ team } ` ,
117
117
'deployment-context' : get ( 'deploymentContext' ) ,
118
118
} ,
119
119
} ,
120
120
template : {
121
121
metadata : {
122
122
labels : {
123
123
app : 'wrongsecrets' ,
124
- team,
124
+ team : ` ${ team } ` ,
125
125
'deployment-context' : get ( 'deploymentContext' ) ,
126
126
} ,
127
127
} ,
@@ -332,7 +332,7 @@ const createAWSDeploymentForTeam = async ({ team, passcodeHash }) => {
332
332
name : `t-${ team } -wrongsecrets` ,
333
333
labels : {
334
334
app : 'wrongsecrets' ,
335
- team,
335
+ team : ` ${ team } ` ,
336
336
'deployment-context' : get ( 'deploymentContext' ) ,
337
337
} ,
338
338
annotations : {
@@ -348,15 +348,15 @@ const createAWSDeploymentForTeam = async ({ team, passcodeHash }) => {
348
348
selector : {
349
349
matchLabels : {
350
350
app : 'wrongsecrets' ,
351
- team,
351
+ team : ` ${ team } ` ,
352
352
'deployment-context' : get ( 'deploymentContext' ) ,
353
353
} ,
354
354
} ,
355
355
template : {
356
356
metadata : {
357
357
labels : {
358
358
app : 'wrongsecrets' ,
359
- team,
359
+ team : ` ${ team } ` ,
360
360
'deployment-context' : get ( 'deploymentContext' ) ,
361
361
} ,
362
362
} ,
@@ -528,7 +528,7 @@ const createNSPsforTeam = async (team) => {
528
528
kind : 'NetworkPolicy' ,
529
529
apiVersion : 'networking.k8s.io/v1' ,
530
530
metadata : {
531
- name : 'allow-same-namespace-and-defaults ' ,
531
+ name : 'allow-same-namespace' ,
532
532
namespace : `t-${ team } ` ,
533
533
} ,
534
534
spec : {
@@ -590,7 +590,7 @@ const createNSPsforTeam = async (team) => {
590
590
kind : 'NetworkPolicy' ,
591
591
apiVersion : 'networking.k8s.io/v1' ,
592
592
metadata : {
593
- name : 'allow-namespace- and-defaults ' ,
593
+ name : 'allow-ns-to-default- and-back ' ,
594
594
namespace : `t-${ team } ` ,
595
595
} ,
596
596
spec : {
@@ -652,7 +652,7 @@ const createNSPsforTeam = async (team) => {
652
652
apiVersion : 'networking.k8s.io/v1' ,
653
653
kind : 'NetworkPolicy' ,
654
654
metadata : {
655
- name : 'allow-webtop-to-talk-tokubesystem ' ,
655
+ name : 'allow-webtop-kubesystem ' ,
656
656
namespace : `t-${ team } ` ,
657
657
} ,
658
658
spec : {
0 commit comments