8000 🐛 Fix Kwatch patch in Kind E2E bootstrap by abahmed · Pull Request #515 · abahmed/kwatch · GitHub
[go: up one dir, main page]

Skip to content

🐛 Fix Kwatch patch in Kind E2E bootstrap - #515

Merged
abahmed merged 1 commit into
mainfrom
fix/e2e-kubernetes-patches
Sep 24, 2026
Merged

abahmed merged 1 commit into
mainfrom
fix/e2e-kubernetes-patches

Conversation

@abahmed
@abahmed abahmed commented Sep 24, 2026
Copy link
Copy Markdown
Owner

Summary

  • replace the malformed multiline JSON Kwatch Deployment patch with a strategic YAML patch
  • allow the harmless /config/diagnostics-token file reference in diagnostics
  • continue rejecting actual E2E tokens and diagnostics-token values without printing them

Failure evidence

Run 35883180178 confirms the previous metrics-server correction worked: metrics-server rolled out and its APIService became available. The next installation command failed with invalid character \`` because the Kwatch image-pull-policy JSON patch contained the same literal shell line-continuation character.

The run also discarded diagnostics because the safety pattern matched the public Secret-mounted filename diagnostics-token, not a credential value.

Validation

  • make verify ✅
  • shellcheck scripts/test-kind-scenarios.sh scripts/check-e2e-artifacts.sh ✅
  • Kwatch patch contains no literal backslash ✅
  • harmless diagnostics-token path accepted ✅
  • actual diagnostics token assignment rejected without leaking its value ✅

@abahmed
abahmed merged commit c1e3eac into main Sep 24, 2026
8 of 9 checks passed
@abahmed
abahmed deleted the fix/e2e-kubernetes-patches branch September 24, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0