cozystack/pkg/registry/apps/application
Aleksei Sviridkin b8aec9a973
fix(kubernetes): history guard non-empty check + nits from review
- Log .status.history regardless of content so a silently empty result
  (Flux field rename) shows up in CI logs, and treat empty history on
  a Ready HelmRelease as a distinct failure. A Ready HR by definition
  has at least one snapshot; anything else is a shape-drift signal.
- Replace the unquoted heredoc in remediation-guard.sh with a printf |
  grep pipeline. printf %s treats statuses as literal payload (no $
  expansion surprises for future callers), grep --quiet --extended-regexp
  returns exit status the caller can forward directly.
- Share the etcd-absent values file between both invariant tests
  (packages/apps/kubernetes/tests/values-ci-no-etcd.yaml) instead of
  duplicating the --set block.
- Fix typo "override applied" -> "override is applied" in the
  Kubernetes ApplicationDefinition.
- Add a coupling comment in the ApplicationDefinition annotation that
  points at the wait-for-kubeconfig init deadline in _helpers.tpl, so
  a future operator raising the HR timeout updates the init deadline
  too.
- Clarify the per-annotation timeout comment in rest.go so it stops
  implying the feature is Kubernetes-only (it is not - only today's
  one user is).

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-04-16 21:50:10 +03:00
..
rest.go fix(kubernetes): history guard non-empty check + nits from review 2026-04-16 21:50:10 +03:00
rest_conditions_test.go fix(application): address review feedback for WorkloadMonitor integration 2026-04-15 17:22:15 +03:00
rest_defaulting.go [registry] Fix linter errors 2025-12-26 12:52:49 +03:00
rest_defaulting_test.go [cozystack-api] Implement Kubernetes-like defaulting 2025-09-18 02:32:16 +02:00
rest_sorting_test.go [registry] Add alphabetical sorting to resource lists 2025-12-26 12:48:25 +03:00
rest_timeout_test.go chore(kubernetes): drop busybox mirror Containerfile, pin upstream directly 2026-04-16 21:31:29 +03:00
rest_validation_test.go fix(application): address review feedback for WorkloadMonitor integration 2026-04-15 17:22:15 +03:00
rest_watch_test.go fix(application): address review feedback for WorkloadMonitor integration 2026-04-15 17:22:15 +03:00
rest_workloads_test.go fix(application): address review feedback for WorkloadMonitor integration 2026-04-15 17:22:15 +03:00