You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(k8s): audit reads the Polaris config of an environment #7891
devops k8s audit runs Polaris with its default checks only. A cluster has checks that do not fit it, such as replica and spread rules on a cluster with single replicas. The audit has no way to read the judgments of an environment, so its report stays long and real findings are hard to see.
Proposed Design
devops k8s audit takes --k8s-dir, as devops k8s lint does. When the repository that holds the environment tree has .polaris.yaml, the audit gives it to Polaris with --config and --merge-config, so the file holds only the differences from the defaults.
The audit names the config file that it uses, so a relaxed audit is never silent.
With no environment tree, or no such file, the audit runs the Polaris defaults, which stay the strict choice for each other environment.
The sandbox binds the file read-only, and the record of the run holds its digest.
Existing Tool Considered
Polaris reads a config file itself (--config, --merge-config). The change only names the file. No tool is built here.
Acceptance Criteria
An audit of an environment with .polaris.yaml runs Polaris with that file and says so.
An audit with no file, and an audit with no environment tree, run Polaris with no --config.
Related: feat(k8s): replace Popeye with Polaris in the cluster audit #7872, which asks for a different change. Both work on the 'devops k8s audit' Polaris invocation; #7872 swapped Popeye for Polaris, the candidate adds '--config'/'--merge-config' file passing to that same command.
Activity
dan-petty commentedon Nov 30, 2026
Both work on the 'devops k8s audit' Polaris invocation; #7872 swapped Popeye for Polaris, the candidate adds '--config'/'--merge-config' file passing to that same command.devops-cli-service commentedon Nov 30, 2026
Released in v0.262.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.262.0
devops-cli-service commentedon Nov 30, 2026
Live since 2026-11-30 20:54 UTC