Myasnikov Daniil
4c5319c426
test(harbor): add helm-unittest coverage for bucket-secret guards
...
`hack/helm-unit-tests.sh` auto-discovers any package whose Makefile has
a `test` target. `packages/system/harbor` had none, so the conditional
rendering of `bucket-secret.yaml` (the path this PR actively reshapes)
was un-asserted in CI and the bucket-secret guard would not be pinned
against future refactors.
Add the canonical `test: helm unittest .` target, matching every other
`packages/system/*` package that ships a `tests/` directory
(linstor-scheduler, linstor-gui, cozystack-scheduler, nfs-driver).
Add `tests/bucket_secret_test.yaml` with seven cases covering: spec
absent, spec empty, secretS3 absent, secretS3 empty, secretS3 partial
(only one inner field), bucketName missing, and fully populated. The
first six assert no Secret is rendered; the last asserts the four
expected `stringData` entries plus the static region. 7/7 pass locally
(`bash hack/helm-unit-tests.sh`).
Assisted-By: Claude <noreply@anthropic.com >
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com >
(cherry picked from commit 4ecb8fb0d6 )
2026-05-18 15:15:17 +00:00
..
2026-01-15 22:35:56 +01:00
2026-05-07 10:30:21 +00:00
2026-05-07 10:30:21 +00:00
2026-01-19 13:59:29 +01:00
2026-03-25 15:57:25 +05:00
2026-05-07 10:30:21 +00:00
2026-03-03 19:32:32 +03:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-02-19 22:12:33 +03:00
2026-01-15 16:06:56 +01:00
2026-02-26 18:32:35 +05:00
2026-02-26 15:28:19 +03:00
2026-04-21 17:00:31 +05:00
2026-04-11 16:39:58 +03:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-03-25 15:57:25 +05:00
2026-02-14 11:42:52 +01:00
2026-02-10 22:47:20 +05:00
2026-02-02 15:32:50 +01:00
2026-01-15 16:06:56 +01:00
2026-05-07 10:30:21 +00:00
2026-03-27 17:48:46 +05:00
2026-05-07 10:30:21 +00:00
2026-04-13 17:15:09 +03:00
2026-05-07 10:30:21 +00:00
2026-03-10 08:30:43 +01:00
2026-03-25 15:57:25 +05:00
2026-03-10 12:48:01 +01:00
2026-03-25 15:57:25 +05:00
2026-01-15 16:06:56 +01:00
2026-01-20 03:24:32 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-19 13:59:29 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00
2026-05-07 10:30:21 +00:00
2026-05-18 15:15:17 +00:00
2026-04-21 20:26:13 +02:00
2026-01-15 16:06:56 +01:00
2026-03-25 15:57:25 +05:00
2026-01-19 13:59:29 +01:00
2026-03-02 12:35:14 +05:00
2026-03-25 15:57:25 +05:00
2026-01-15 16:06:56 +01:00
2026-05-07 08:11:13 +00:00
2026-05-07 10:30:21 +00:00
2026-04-21 17:00:31 +05:00
2026-04-02 19:29:54 +03:00
2026-03-11 15:15:09 +03:00
2026-03-23 15:18:23 +03:00
2026-04-21 20:09:19 +02:00
2026-05-07 10:30:21 +00:00
2026-05-07 10:30:21 +00:00
2026-03-25 15:57:25 +05:00
2026-02-21 20:46:31 +01:00
2026-03-10 12:42:01 +01:00
2026-02-20 20:16:33 +01:00
2026-05-07 01:39:27 +00:00
2026-01-15 16:06:56 +01:00
2026-02-20 20:16:34 +01:00
2026-05-07 10:30:21 +00:00
2026-05-07 10:30:21 +00:00
2026-05-07 01:39:27 +00:00
2026-04-13 17:15:09 +03:00
2026-02-10 20:19:03 +01:00
2026-01-15 16:06:56 +01:00
2026-03-25 15:57:25 +05:00
2026-01-15 23:32:41 +00:00
2026-01-15 16:06:56 +01:00
2026-01-20 03:24:32 +01:00
2026-03-25 15:57:25 +05:00
2026-04-21 17:00:31 +05:00
2026-03-10 12:04:12 +05:00
2026-03-25 15:57:25 +05:00
2026-05-07 10:30:21 +00:00
2026-02-17 22:54:12 +01:00
2026-03-25 15:57:25 +05:00
2026-01-15 16:06:56 +01:00
2026-05-07 10:30:21 +00:00
2026-02-17 20:03:01 +03:00
2026-03-25 15:57:25 +05:00
2026-01-20 03:24:32 +01:00
2026-03-17 11:20:44 +01:00
2026-03-25 15:57:25 +05:00
2026-03-25 16:11:14 +03:00
2026-02-11 22:54:56 +01:00
2026-03-17 01:59:28 +03:00
2026-05-07 10:50:43 +03:00
2026-01-15 16:06:56 +01:00
2026-02-06 13:30:58 +03:00
2026-03-25 15:57:25 +05:00
2026-01-15 16:06:56 +01:00
2026-03-25 15:57:25 +05:00
2026-01-15 16:06:56 +01:00
2026-03-25 15:57:25 +05:00
2026-01-15 16:06:56 +01:00
2026-05-07 10:30:21 +00:00
2026-03-25 15:57:25 +05:00
2026-01-15 16:06:56 +01:00
2026-03-25 15:57:25 +05:00
2026-01-15 16:06:56 +01:00
2026-03-25 15:57:25 +05:00
2026-04-23 15:04:43 +03:00
2026-01-28 20:08:35 +03:00
2026-01-15 16:06:56 +01:00
2026-04-20 15:48:53 +03:00
2026-03-25 15:59:22 +05:00
2026-04-14 19:59:20 +05:00
2026-04-14 19:59:19 +05:00
2026-03-30 10:55:26 +05:00
2026-03-25 15:57:25 +05:00
2026-01-15 16:06:56 +01:00
2026-01-15 16:06:56 +01:00