File tree 1 file changed +3
-3
lines changed
controllers/workspace/provision
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -214,15 +214,15 @@ func getSpecDeployment(
214
214
Name : common .DeploymentName (workspace .Status .DevWorkspaceId ),
215
215
Namespace : workspace .Namespace ,
216
216
Labels : map [string ]string {
217
- constants .DevWorkspaceIDLabel : workspace .Status .DevWorkspaceId ,
217
+ constants .DevWorkspaceIDLabel : workspace .Status .DevWorkspaceId ,
218
+ constants .DevWorkspaceNameLabel : workspace .Name ,
218
219
},
219
220
},
220
221
Spec : appsv1.DeploymentSpec {
221
222
Replicas : & replicas ,
222
223
Selector : & metav1.LabelSelector {
223
224
MatchLabels : map [string ]string {
224
- constants .DevWorkspaceIDLabel : workspace .Status .DevWorkspaceId ,
225
- constants .DevWorkspaceNameLabel : workspace .Name ,
225
+ constants .DevWorkspaceIDLabel : workspace .Status .DevWorkspaceId ,
226
226
},
227
227
},
228
228
Strategy : appsv1.DeploymentStrategy {
You can’t perform that action at this time.
0 commit comments