Allow Hermes to create Secrets except in kube-system #222
Loading…
Reference in a new issue
No description provided.
Delete branch "wiring-guru/hermes-secret-create-rbac"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Grant create-only on core Secrets cluster-wide and create on Namespaces. A fail-closed ValidatingAdmissionPolicy denies Secret CREATE by system:serviceaccount:hermes:hermes in kube-system; Argo sync waves install policy and binding before the RBAC grant. No Secret get/list/watch, patch, update or delete granted. Review before merging; merge triggers GitOps. kubectl auth can-i tests RBAC only, not the admission-policy denial in kube-system.