Skip to content

feat(k8s): audit reads the Polaris config of an environment - #7892

Merged
dan-petty merged 1 commit into
mainfrom
feat/7891-polaris-environment-config
Nov 30, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/7891-polaris-environment-config

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

devops k8s audit now reads the Polaris config of an environment, so a cluster can record which checks do not fit it.

  • The audit takes --k8s-dir and finds the environment tree as devops k8s lint does. When the repository of the tree has .polaris.yaml, Polaris reads it merged with its default checks, and the audit names the file.
  • With no tree or no file, the audit runs the Polaris defaults, as before. devops-cli holds no check of any environment.
  • The sandbox binds the file read-only, and the record of the run holds its digest. An MCP caller can give only a --k8s-dir inside the workspace.
  • The agent tool scan_polaris runs the defaults.

Closes #7891

Change: openspec/changes/archive/2026-11-30-7891-polaris-environment-config/

@dan-petty dan-petty added type/feature Type feature: a new function scope/k8s Kubernetes commands, Helm charts, pods, services, and policies labels Nov 30, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 30, 2026 16:03
@dan-petty
dan-petty merged commit c04bc42 into main Nov 30, 2026
36 checks passed
@dan-petty
dan-petty deleted the feat/7891-polaris-environment-config branch November 30, 2026 16:04
dan-petty-release Bot added a commit that referenced this pull request Nov 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.262.0](v0.261.2...v0.262.0)
(2026-11-30)


### Features

* **k8s:** audit reads the Polaris config of an environment
([#7892](#7892))
([c04bc42](c04bc42))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/k8s Kubernetes commands, Helm charts, pods, services, and policies type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(k8s): audit reads the Polaris config of an environment

1 participant