Commit fb2ea25
authored
feat: add tenant CRD to e2e artifact collection and debug report (#787)
## Summary
Add the `tenants.maas.opendatahub.io` CRD to e2e must-gather artifact
collection and the auth debug report.
## Description
The Tenant CRD was recently introduced but was missing from the e2e
debugging and artifact-collection utilities in `auth_utils.sh`.
- Add `tenants.maas.opendatahub.io` to the `MAAS_CRDS` array so
`collect_maas_crs()` dumps Tenant CR YAML to `tenants.yaml`.
- Add `kubectl get tenants` to `collect_cluster_state()` alongside other
MaaS CRs.
- Add Tenant listing and status/condition detail to
`run_auth_debug_report()` under the MaaS CRs section.
- Update header comment to document the new `tenants.yaml` artifact.
## How it was tested
- Verified script syntax with `bash -n`.
- Confirmed the Tenant CRD name matches
`deployment/base/maas-controller/crd/bases/maas.opendatahub.io_tenants.yaml`.
- Confirmed namespace usage aligns with
`TenantReconciler.TenantNamespace` (sourced from
`--maas-subscription-namespace`).
Made with [Cursor](https://cursor.com)
Signed-off-by: Chaitanya Kulkarni <ckulkarn@redhat.com>
Signed-off-by: Chaitanya Kulkarni <chkulkar@redhat.com>1 parent 1b8f212 commit fb2ea25
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
208 | 210 | | |
209 | 211 | | |
210 | 212 | | |
| 213 | + | |
211 | 214 | | |
212 | 215 | | |
213 | 216 | | |
| |||
324 | 327 | | |
325 | 328 | | |
326 | 329 | | |
| 330 | + | |
| 331 | + | |
327 | 332 | | |
328 | 333 | | |
329 | 334 | | |
| |||
0 commit comments