File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
controllers/workspace/provision Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -214,15 +214,15 @@ func getSpecDeployment(
214214 Name : common .DeploymentName (workspace .Status .DevWorkspaceId ),
215215 Namespace : workspace .Namespace ,
216216 Labels : map [string ]string {
217- constants .DevWorkspaceIDLabel : workspace .Status .DevWorkspaceId ,
217+ constants .DevWorkspaceIDLabel : workspace .Status .DevWorkspaceId ,
218+ constants .DevWorkspaceNameLabel : workspace .Name ,
218219 },
219220 },
220221 Spec : appsv1.DeploymentSpec {
221222 Replicas : & replicas ,
222223 Selector : & metav1.LabelSelector {
223224 MatchLabels : map [string ]string {
224- constants .DevWorkspaceIDLabel : workspace .Status .DevWorkspaceId ,
225- constants .DevWorkspaceNameLabel : workspace .Name ,
225+ constants .DevWorkspaceIDLabel : workspace .Status .DevWorkspaceId ,
226226 },
227227 },
228228 Strategy : appsv1.DeploymentStrategy {
You can’t perform that action at this time.
0 commit comments