Commit 3b41d46
mz-debug: read the always-installed v1alpha1 Materialize CRD (#37133)
Follow-up to #35418
I assume we want to keep mz-debug working on existing v1alpha CRDs or do
we plan to upgrade them all to v1? Otherwise `mz-debug` loses:
* Auth-mode auto-detection (`get_k8s_auth_mode`) 404s and falls back to
`AuthMode::None`, so SQL collection connects with the wrong auth mode on
clusters using Password/Sasl/Oidc.
* The Materialize CR is dropped from the debug bundle, with only a log
warning to indicate why.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 16ad60f commit 3b41d46
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments