This page is for a team that reviews every configuration change as a pull request, more and more of them written by agents. A diff can show replicas: 4 → 1 in a Kustomize overlay. It does not show what that becomes in each environment, or that the 4 was set last week for a sale. This GitHub Action adds a comment to each pull request that says what each value becomes where it is deployed, why it was set, and what merging would undo.
You need no hub (ConfigHub server), no account, and nothing installed in the cluster. Nothing leaves the runner but the comment.
.github/workflows/, with this content:
name: Configuration review
on: pull_request
permissions:
contents: read
pull-requests: write
jobs:
review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: confighubai/confighub-mini-plugin/review@v0@v0 follows every 0.x release. To stay on one release, use a version such as @v0.99.36.
CUB_MINI_RECORD_IN_REPO=1 in the plugin's settings. Without these records, the review still lists each value changed.For a platform team whose clusters Argo CD or Flux deploys from Git. Nothing changes in how they deploy, and nothing is installed on anyone's computer: the review runs on GitHub's runners, may read the repository and write a comment, and needs no secret.
.github/CODEOWNERS:
/clusters/ @your-org/platform
/catalog/ @your-org/platformmain, require a pull request, and a review from the code owners.Each change to a cluster's values then waits for someone on that team. They see in the comment what each cluster gets, and why. GitHub keeps who approved each pull request, and the comment stays on it: what changed, on which clusters, why, and who said yes.
Here is part of the comment on a pull request that raises us-east's ingress for a launch, in a repository whose ApplicationSet deploys the ingress chart to each cluster labeled ingress=enabled, with each cluster's own values in clusters/CLUSTER/ingress/values.yaml:
clusters/us-east/ingress/values.yaml (Helm values)
| Value | Change | Why | What it was, and why |
|---|---|---|---|
replicas | 4 → 6 | commit ede07e5: us-east launch: 6 ingress replicas | 4 since commit 9967c61 by Amara on 2026-11-24: start |
ApplicationSet argocd/ingress: Application us-east-ingress
for us-east, whose values this repository keeps. The ApplicationSet makes one Application for each cluster labeled ingress=enabled; Argo CD knows the full list.
| Value | Change | Why |
|---|---|---|
Deployment/ingress/spec.replicas | 4 → 6 | commit ede07e5: us-east launch: 6 ingress replicas |
A change to the chart itself, in catalog/ingress, is rendered for each cluster whose values the repository keeps. A cluster that overrides the changed value shows no change.
When agents make the changes, and you want only named people to be able to approve them, with each approval kept in ConfigHub: a check that only the approved copy merges. Argo CD still reads Git.
If your platform or security team wants an immutable audit trail across GitOps repositories inside your own network — without replacing Git, branch protection, or Argo CD/Flux — run ConfigHub self-hosted in your own cluster behind your company's OIDC or SAML single sign-on (SSO), and pass three optional inputs to the review Action (hub-url, hub-space, and a scoped CI service account hub-token). Each pull request with configuration changes is recorded as an immutable PullRequestReview attestation with its changed values, reasons, reviewers who approved it, and a SHA-256 digest of the redacted review. Credentials never leave the runner. See recording pull requests in a self-hosted hub with SSO.
The comment lists every configuration value the pull request changes, from what to what. Where the ConfigHub plugin's record says why a value was set, the comment says why. The record is the plugin's list of what agents changed, with the reason for each change. Where no record explains a value, the reason is the message of the pull request's commit that set it: its line for that value in a section headed Reasons:, or else its first line.
The review reads Kubernetes files, Helm values, Kustomize, Compose, GitHub Actions workflows, settings files, Terraform variables and agent configuration.
Agents set a sale's capacity in a repository with Kustomize overlays and a Flux HelmRelease, and kept their records in it. This is part of the comment on their pull request:
apps/api/overlays/prod/replicas.yaml (Kubernetes)
| Value | Change | Why |
|---|---|---|
Deployment/api/spec.replicas | 3 → 6 | Black Friday, ~3x normal traffic |
apps/api/overlays/prod/resources.yaml (Kubernetes)
| Value | Change | Why |
|---|---|---|
Deployment/api/spec.template.spec.containers[api].resources.limits.memory | (none) → 512Mi | Black Friday, ~3x normal traffic |
infra/redis/helmrelease.yaml (Kubernetes)
| Value | Change | Why |
|---|---|---|
HelmRelease/redis/spec.values.replica.replicaCount | 1 → 2 | Black Friday, ~3x normal traffic |
The comment then renders each Kustomize overlay and Helm release that the change reaches, before and after. It says what each value becomes where it is deployed. In this example:
replicaCount is the StatefulSet's replicas in the bitnami Redis chart.apps/api/overlays/prod
| Value | Change | Why |
|---|---|---|
Deployment/api/spec.replicas | 3 → 6 | Black Friday, ~3x normal traffic |
Deployment/api/spec.template.spec.containers[api].resources.limits.memory | 256Mi → 512Mi | Black Friday, ~3x normal traffic |
HelmRelease shop-prod/redis
| Value | Change | Why |
|---|---|---|
StatefulSet/redis-replicas/spec.replicas | 1 → 2 | Black Friday, ~3x normal traffic |
The chart makes these anew each time it renders, so they are not compared: Secret/redis/data.redis-password.
Overlays are rendered with kubectl kustomize, and charts with helm template, both on GitHub's runners.
$values/...). Applications are rendered with helm template --skip-tests as Argo CD applies those settings.clusters/us-east/ingress/values.yaml. At most 12 of one ApplicationSet's Applications are rendered, and the rest are counted.file://, are built with helm dependency build in the review's copy of each commit, never in your files.Verified live (2026-12-02) against real Argo CD multi-source $values/... OCI charts (oci://ghcr.io/stefanprodan/charts/podinfo:6.7.0) and HTTP Helm ApplicationSet list generators (https://stefanprodan.github.io/podinfo:6.7.0), rendering exact Deployment diffs (spec.replicas, env, command) without Helm test-hook noise.
Private Helm & OCI registries in CI: Add a login step right before review@v0 — helm template inherits your runner's Helm registry login (helm registry login ghcr.io -u "$GITHUB_ACTOR" --password-stdin <<< "${{ secrets.GITHUB_TOKEN }}") for OCI charts, and reads optional CUB_MINI_HELM_USERNAME / CUB_MINI_HELM_PASSWORD environment variables for private HTTP Helm repositories. Otherwise, the comment states clearly why a source was not rendered.
The comment opens with what merging the pull request would undo.
Here is an example. An agent scaled the api to 4 on the cluster for a sale, and its record was kept in the repository. Later, a pull request changes only the api's image, in a file that still says 2 replicas. The comment opens:
This change undoes 1 earlier change(s):
deploy.yamlhasDeployment/api/spec.replicasat 2; an agent set it to 4 on the cluster withkubectl -n shop scale deploy api --replicas=4, 25 October 07:01. Deploying this puts it back. Why it was set: the commit with its record, accf5fd, Note live scale-up of api to 4 replicas for flash sale
The pull request never touches the replicas. But deploying it, by Argo CD or by kubectl apply, puts the sale's 4 back to 2.
The review flags a second case the same way: a value put back to what it was before an earlier commit set it.
When a pull request replaces a value, the comment also says:
For example, weeks after the sale, someone without the plugin scales prod back:
| Value | Change | Why | What it was, and why |
|---|---|---|---|
Deployment/api/spec.replicas | 6 → 2 | no record | 6 since 0f426fd, …, 2026-10-24: Black Friday, ~3x normal traffic |