Skip to content

Fix tenant-deploy contract (per-app ns/project) + appset-count docs#27

Merged
stxkxs merged 1 commit into
mainfrom
fix/audit-findings
Jun 7, 2026
Merged

Fix tenant-deploy contract (per-app ns/project) + appset-count docs#27
stxkxs merged 1 commit into
mainfrom
fix/audit-findings

Conversation

@stxkxs

@stxkxs stxkxs commented Jun 7, 2026

Copy link
Copy Markdown
Member

From the core-repos quality audit.

P0 — tenant deploy contract

apps-tenants.yaml targeted a shared tenants-protohype namespace + tenant-protohype AppProject that the operator never creates — it provisions per-Platform resources (tenants-<app> namespace, <app> AppProject). Retargeted each tenant Application to the per-app namespace + project (derived from .app in the template). Paired with eks-agent-platform#32 (widens the AppProject sourceRepos so the Application's git source is allowed).

Docs

  • ApplicationSet count 10 → 16.
  • Corrected "all use matrix" — 3 appsets (addons-agent-operator, clusters-appset, portal-tenants) use other generators.

Note — region finding was a false positive

The audit flagged addons-agent-operator reading an unset region cluster-Secret label. landing-zone cluster-bootstrap does set the region label on the in-cluster ArgoCD cluster Secret (bootstrap.tf:258, on the secret-type=cluster secret the generator reads), so standard-bootstrapped clusters are fine. No appset change.

… docs

From the core-repos quality audit.

P0 (tenant deploy contract): apps-tenants.yaml targeted a shared
`tenants-protohype` namespace + `tenant-protohype` AppProject that the operator
never creates — it provisions per-Platform resources (namespace tenants-<app>,
AppProject <app>). Retargeted each tenant Application to the per-app namespace
+ project (derived in the template from `.app`), matching what the operator
reconciles. Paired with eks-agent-platform widening the AppProject sourceRepos
to the nanohype org so the Application's source is allowed.

Docs: ApplicationSet count 10 -> 16; corrected "all use matrix" — 3 appsets
(addons-agent-operator, clusters-appset, portal-tenants) use other generators.

Note: the audit's "region cluster-Secret label is unset" finding is a false
positive — landing-zone cluster-bootstrap sets the `region` label on the
in-cluster ArgoCD cluster Secret (bootstrap.tf), which is what the
addons-agent-operator generator reads. No change needed there.
@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

CI Results

Check Status
YAML Lint
Environment Kustomize Build
dev
staging
production

All validations passed.

@stxkxs stxkxs merged commit 167f054 into main Jun 7, 2026
5 checks passed
@stxkxs stxkxs deleted the fix/audit-findings branch June 7, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant