Skip to content

Commit 48d3c14

Browse files
committed
fix: Add missing secret file mode
Signed-off-by: Ales Raszka <araszka@redhat.com>
1 parent 27ee785 commit 48d3c14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

controllers/workspace/devworkspace_controller.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,8 @@ func (r *DevWorkspaceReconciler) Reconcile(ctx context.Context, req ctrl.Request
375375
Name: constants.RegistryAuthVolumeName,
376376
VolumeSource: corev1.VolumeSource{
377377
Secret: &corev1.SecretVolumeSource{
378-
SecretName: registryAuthSecret.Name, // You may want to make this configurable
378+
SecretName: registryAuthSecret.Name,
379+
DefaultMode: pointer.Int32(0640),
379380
},
380381
},
381382
})

0 commit comments

Comments
 (0)