astefanutti commented on code in PR #3977:
URL: https://github.com/apache/camel-k/pull/3977#discussion_r1084112088
##########
pkg/controller/integration/monitor.go:
##########
@@ -435,45 +442,100 @@ func (action *monitorAction) probeReadiness(
if container == nil {
return fmt.Errorf("integration container not found in
Pod %s/%s", pod.Namespace, pod.Name)
}
+
+ readyCondition.Pods[i].Name = pod.Name
+
+ for p := range pod.Status.Conditions {
+ if pod.Status.Conditions[p].Type == corev1.PodReady {
+ readyCondition.Pods[i].Condition =
pod.Status.Conditions[p]
+ break
+ }
+ }
if probe := container.ReadinessProbe; probe != nil &&
probe.HTTPGet != nil {
body, err := proxyGetHTTPProbe(ctx, action.client,
probe, pod, container)
+
+ // When invoking the HTTp probe, the kubernetes client
exposes a very
Review Comment:
nit: `HTTp` -> `HTTP`
##########
script/gen_client_strimzi.sh:
##########
@@ -20,7 +20,7 @@ set -e
location=$(dirname $0)
rootdir=$location/..
-unset GOPATH
+#unset GOPATH
Review Comment:
Can be removed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]