Record M8.2 live verification, backlog and accepted default-project risk
The maintainer applied the platform layer, World0 admission policy and projects; verify-isolation.sh passed every guardrail, RBAC-negative, admission dry-run and cleanup check. Its three project failures were a script defect (destinations and the empty cluster whitelist were printed together as "[]"); check them separately. Ignore local result files, add docs/BACKLOG.md with break-glass membership and the storage re-probe, and record leaving Argo's default project unrestricted as an accepted risk. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -88,10 +88,14 @@ fi
|
||||
|
||||
# 4. Argo CD projects: each AEvolution project targets only its own namespace.
|
||||
for env in "${envs[@]}"; do
|
||||
dest="$("${k[@]}" get appproject "aevolution-$env" -n argocd -o jsonpath='{range .spec.destinations[*]}{.namespace}{" "}{end}{.spec.clusterResourceWhitelist}' 2>/dev/null)" || {
|
||||
dest="$("${k[@]}" get appproject "aevolution-$env" -n argocd -o jsonpath='{range .spec.destinations[*]}{.namespace}{" "}{end}' 2>/dev/null)" || {
|
||||
skip "appproject aevolution-$env not present"; continue; }
|
||||
cluster="$("${k[@]}" get appproject "aevolution-$env" -n argocd -o jsonpath='{.spec.clusterResourceWhitelist}' 2>/dev/null)"
|
||||
[ "$(echo "$dest" | xargs)" = "evolution-$env" ] && pass "appproject aevolution-$env destinations '$dest'" ||
|
||||
fail "appproject aevolution-$env destinations/cluster kinds '$dest'"
|
||||
fail "appproject aevolution-$env destinations '$dest'"
|
||||
# An empty whitelist prints as nothing or as [] depending on how it was stored.
|
||||
case "$cluster" in ""|"[]") pass "appproject aevolution-$env allows no cluster kinds" ;;
|
||||
*) fail "appproject aevolution-$env cluster kinds '$cluster'" ;; esac
|
||||
done
|
||||
wide="$("${k[@]}" get appproject default -n argocd -o jsonpath='{.spec.destinations[*].namespace}' 2>/dev/null)"
|
||||
[ "$wide" = "*" ] && echo "WARN appproject default allows every namespace; its applications could create objects in evolution-* (deletion is still denied in world0 by admission)"
|
||||
|
||||
Reference in New Issue
Block a user