k8s: corev1.Handler has been replaced by corev1.ProbeHandler

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/1677/head
CrazyMax 2 years ago
parent cfa6b4f7c8
commit 92d2dc8263
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -89,7 +89,7 @@ func NewDeployment(opt *DeploymentOpt) (d *appsv1.Deployment, c []*corev1.Config
Privileged: &privileged,
},
ReadinessProbe: &corev1.Probe{
Handler: corev1.Handler{
ProbeHandler: corev1.ProbeHandler{
Exec: &corev1.ExecAction{
Command: []string{"buildctl", "debug", "workers"},
},

Loading…
Cancel
Save