Dev-with-Dependencies Components Up-to-date (SL013)
Checks kubernetes/dev-with-dependencies/kustomization.yaml components for latest Release/* versions.
Description
Parses kustomization.yaml under kubernetes/dev-with-dependencies and inspects component URLs for ?ref=Release/<x.y>. Reports INFO when a newer Release branch exists; errors are reported if the file cannot be read.
Rationale
Keeping dependent components aligned with the latest Release improves environment stability.
Findings
-
INFO
-
A newer Release/x.y branch exists for a referenced component
-
-
ERROR
-
Error checking components (I/O or git ls-remote failure)
-
Noncompliant
Component on older Release branch
# kubernetes/dev-with-dependencies/kustomization.yaml (older Release)
components:
- https://coderepo.example.org/scm/dev/common-components.git//monitoring?ref=Release/1.2
- https://coderepo.example.org/scm/dev/common-components.git//logging?ref=Release/1.1 # older than 1.3
Compliant
Component on latest Release branch
# kubernetes/dev-with-dependencies/kustomization.yaml (latest Release)
components:
- https://coderepo.example.org/scm/dev/common-components.git//monitoring?ref=Release/1.3
- https://coderepo.example.org/scm/dev/common-components.git//logging?ref=Release/1.3