Skip to content

Commit

Permalink
Update healthz endpoint for v1alpha3
Browse files Browse the repository at this point in the history
Signed-off-by: David Vossel <[email protected]>
  • Loading branch information
davidvossel committed Jan 14, 2019
1 parent 9e13fd8 commit 0359b7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/generated/virt-api.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
protocol: TCP
readinessProbe:
httpGet:
path: /apis/subresources.kubevirt.io/v1alpha2/healthz
path: /apis/subresources.kubevirt.io/v1alpha3/healthz
port: 8443
scheme: HTTPS
initialDelaySeconds: 15
Expand Down
2 changes: 1 addition & 1 deletion pkg/virt-operator/creation/components/deployments.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func NewApiServerDeployment(namespace string, repository string, version string,
Type: intstr.Int,
IntVal: 8443,
},
Path: "/apis/subresources.kubevirt.io/v1alpha2/healthz",
Path: "/apis/subresources.kubevirt.io/" + virtv1.GroupVersion.Version + "/healthz",
},
},
InitialDelaySeconds: 15,
Expand Down

0 comments on commit 0359b7f

Please sign in to comment.