-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
featuregood first issueGood for newcomersGood for newcomersinfraFoundation of Skyflo.aiFoundation of Skyflo.ai
Description
The Kubernetes YAML manifests in deployment/ are not validated in CI. Invalid manifests, deprecated API versions, or security misconfigurations can reach the main branch without detection.
Scope
- CI (
.github/workflows/k8s-validate.yml):- Trigger on pull requests that modify files in
deployment/. - Steps:
- Install
kubevalorkubeconformfor schema validation. - Install
kube-scorefor best-practice scoring. - Validate all YAML files in
deployment/against the Kubernetes API schema. - Run
kube-scoreto check for security and reliability best practices. - Fail on schema errors; warn on best-practice violations.
- Install
- Trigger on pull requests that modify files in
Acceptance criteria
- CI workflow validates all Kubernetes manifests on relevant PRs.
- Invalid YAML or deprecated API versions fail the workflow.
- Best-practice violations are reported as warnings.
- Workflow is fast (< 2 minutes).
How to test manually
- Create a PR that modifies a file in
deployment/. - Verify the CI workflow triggers and validates the manifests.
- Introduce an invalid resource spec and verify the workflow fails.
- Fix the issue and verify the workflow passes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featuregood first issueGood for newcomersGood for newcomersinfraFoundation of Skyflo.aiFoundation of Skyflo.ai