Skip to content

ci(k8s): Run kube-linter on the rendered manifests in CI #6068

Description

@dan-petty

Problem

No CI job runs kube-linter. The Security Scan step of .github/workflows/ci.yml runs devops scan report, and the runner has no kube-linter binary. The log of the Static Analysis job on main on 2026-11-16 says: "Scanner 'kubelinter' was not run (Binary 'kube-linter' not found on PATH)". The job passes. #5084 found the same for kubeconform.

The owner decided on 2026-11-16 that no test checks that a manifest holds a value: a schema or policy tool checks the manifests, and #6060 deletes the value tests. Then the service patterns for probes, the rollout strategy, PodDisruptionBudgets, requests and limits, service accounts and isolated pods have no check in CI.

Expected behavior

  • CI installs the pinned kube-linter and runs it on the manifests as Argo CD renders them (Kustomize and Helm).
  • A config file of the repository enables the built-in checks that the service patterns name, for example no-readiness-probe, no-liveness-probe, no-rolling-update-strategy, unset-cpu-requirements, unset-memory-requirements, default-service-account and non-isolated-pod. Each accepted exception has an annotation with its reason.
  • A new finding fails a check, and each current finding is fixed or has an exception with an issue.

Related

Activity

  1. added
    type/infra
    scope/k8s
    source/agent
    status/new
    value/medium
    on Nov 16, 2026
  2. dan-petty commented on Nov 16, 2026

    @dan-petty
    OwnerAuthor
  3. added
    effort/medium
    priority/p2-medium
    owner/agent
    on Nov 16, 2026
  4. added
    status/in-progress
    and removed
    status/new
    on Nov 17, 2026
  5. added 3 commits that reference this issue on Nov 17, 2026
    5cbdef6
    a89d45d
    cc4554b
  6. added
    status/in-review
    and removed
    status/in-progress
    on Nov 17, 2026
  7. added 4 commits that reference this issue on Nov 17, 2026
    4008ab1
    110cc4e
    858542d
    9a0491a
  8. removed
    status/in-review
    owner/agent
    on Nov 17, 2026
  9. added a commit that references this issue on Nov 17, 2026
  10. devops-cli-service commented on Nov 17, 2026

    @devops-cli-service
    Contributor
  11. devops-cli-service commented on Nov 17, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-17 09:25 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/k8ssource/agenttype/infravalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions