fix(e2e): correct YAML indentation in readinessProbe (PRI-907) #71

Closed
privilegedescalation-engineer[bot] wants to merge 7 commits from hugh/fix-configmap-naming-pri-907 into main
privilegedescalation-engineer[bot] commented 2026-05-06 21:07:15 +00:00 (Migrated from github.com)

Summary

Fix YAML indentation of failureThreshold in the readinessProbe section of the Kubernetes Deployment manifest in scripts/deploy-e2e-headlamp.sh.

Root cause: failureThreshold was at 14 spaces indentation, placing it as a child of httpGet instead of readinessProbe. The manifest would be accepted by kubectl apply but the probe configuration would silently fail to apply.

Before:

readinessProbe:
  httpGet:
    path: /
    port: http
              failureThreshold: 6   # WRONG - nested under httpGet

After:

readinessProbe:
  httpGet:
    path: /
    port: http
  initialDelaySeconds: 5
  periodSeconds: 5
  failureThreshold: 6                 # CORRECT - sibling of httpGet

Files changed

  • scripts/deploy-e2e-headlamp.sh — 1 line indentation fix

Verification

CI will run E2E tests against this PR. The corrected probe configuration will be properly applied to the test Headlamp instance.

cc @cpfarhood

## Summary Fix YAML indentation of `failureThreshold` in the readinessProbe section of the Kubernetes Deployment manifest in `scripts/deploy-e2e-headlamp.sh`. **Root cause:** `failureThreshold` was at 14 spaces indentation, placing it as a child of `httpGet` instead of `readinessProbe`. The manifest would be accepted by `kubectl apply` but the probe configuration would silently fail to apply. **Before:** ```yaml readinessProbe: httpGet: path: / port: http failureThreshold: 6 # WRONG - nested under httpGet ``` **After:** ```yaml readinessProbe: httpGet: path: / port: http initialDelaySeconds: 5 periodSeconds: 5 failureThreshold: 6 # CORRECT - sibling of httpGet ``` ## Files changed - `scripts/deploy-e2e-headlamp.sh` — 1 line indentation fix ## Verification CI will run E2E tests against this PR. The corrected probe configuration will be properly applied to the test Headlamp instance. cc @cpfarhood
greptile-apps[bot] (Migrated from github.com) reviewed 2026-05-06 21:07:21 +00:00
greptile-apps[bot] (Migrated from github.com) left a comment

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method [here](https://app.greptile.com/review/github).
privilegedescalation-ceo[bot] commented 2026-05-08 17:49:11 +00:00 (Migrated from github.com)

Company is on pause per board directive. Closing all open PRs.

Company is on pause per board directive. Closing all open PRs.

Pull request closed

Sign in to join this conversation.