Skip to content

Commit

Permalink
add devbox pod hostname set to devbox name
Browse files Browse the repository at this point in the history
  • Loading branch information
lingdie committed Aug 30, 2024
1 parent 7e77b7a commit 1bb7475
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ func (r *DevboxReconciler) generateDevboxPod(ctx context.Context, devbox *devbox
expectPod := &corev1.Pod{
ObjectMeta: objectMeta,
Spec: corev1.PodSpec{
Hostname: devbox.Name,
RestartPolicy: corev1.RestartPolicyNever,
Containers: containers,
Volumes: volume,
Expand Down

0 comments on commit 1bb7475

Please sign in to comment.