INFO
Sariva ships no IAM or RBAC into your accounts. Reader roles and Kubernetes RBAC in your clusters are customer-authored — the snippets on this page are examples you apply, so a security review sees exactly what was granted and by whom.
1. The platform pod’s own namespace
The Helm chart creates one Role for the pod’s ServiceAccount, in the release namespace only:getonsecrets— used solely to resolve per-cluster credential references of the formk8s://<namespace>/<name>when the Secret lives in the release namespace. Nolist, nowatch, no wildcards.rbac.appNamespacesis empty by default and should stay empty. It forward-provisions a per-namespacepods+eventsreader for a future in-cluster feature; populating it early grants permissions nothing consumes.
2. CFK custom-resource read access
Sariva’s observability (cluster health, component status, auto-registration) reads the CFK custom resources. It needsget, list, watch on all six CFK kinds — a Role covering only kafkas fails with 403 the moment component health reads Schema Registry or ksqlDB:
secrets, no core resources. When Sariva and Confluent Platform share the EKS cluster, this Role plus the pod’s in-cluster ServiceAccount token is the entire Kubernetes surface Sariva needs to observe CFK.
3. Kafka data plane — mTLS, ACL-enforced, read-only
- Sariva’s Kafka client certificate is issued by cert-manager into Sariva’s own namespace (for example
sariva-platform/tls-sariva-client). Sariva needs no Secret access in your Confluent Platform namespace — not even read. The certificate’s CN is Sariva’s Kafka identity (principalUser:sariva-platform). - Broker JMX metrics (throughput, JVM heap) are scraped from the CFK Prometheus exporter on each broker pod (port 7778) over the cluster network — this is network reachability, not an RBAC grant.
The authorization model (on by default)
Clusters emitted by the wizard run Kafka simple ACL authorization with strict default-deny (allow.everyone.if.no.acl.found=false). Every identity is one of exactly three things:
Sariva’s exact grant
An emitted one-shot bootstrap Job (sariva-read-acls, running as the broker super-principal) grants Sariva precisely this — nothing more:
That set is sufficient for everything Sariva answers from Kafka — broker/controller metadata, partition health, consumer lag — and insufficient for any write. Both halves are proven live on both packages: a full health check succeeds under enforcement, and a topic-create attempt as Sariva’s principal is rejected with
TopicAuthorizationException.
Verify it yourself
4. Pod health, CPU/memory usage, and events
“Is this pod healthy, how much headroom does it have, and why is it stuck?” uses a different path — AWS IAM, not the pod’s ServiceAccount, so the same model works whether the observed cluster is Sariva’s own EKS, a second EKS in the same account, or another AWS account entirely. The chain: Sariva’s pod identity assumes a customer-authored reader IAM role → callseks:DescribeCluster → obtains a short-lived EKS token → reads the Kubernetes API as a mapped group.
The IAM reader role (in the account that owns the observed cluster):
- Permissions:
eks:DescribeCluster(plus CloudWatch Logs read actions if you also use log observability) - Trust policy: allows Sariva’s pod role to assume it — and must grant both
sts:AssumeRoleandsts:TagSession(EKS Pod Identity stamps transitive session tags; withoutsts:TagSessionthe assume fails with AccessDenied) - An EKS access entry on the observed cluster maps the role to a Kubernetes group, for example
sariva-pod-readers
pods → status, restarts, readiness; events → the why behind Pending/CrashLoop (for example “Insufficient cpu”); pods/log → log reads; metrics.k8s.io → live CPU/memory for headroom percentages. Requests and limits come from the pod spec (pods read); live usage needs metrics-server — without it, Sariva degrades gracefully and tells you which grant or add-on is missing rather than failing.
This is a namespaced Role, never a ClusterRole — access is confined to the namespaces you bind, and node metrics are never read.
Topologies: same EKS, different EKS, different account
The wizard’s cluster-connection step asks where each cluster runs relative to the Sariva pod:Verify in one minute
Continue the deployment path
Cross-account reader role setup
The full IAM trust policy, access entry, and RBAC walkthrough for topologies B and C.
Back: AWS EKS + Confluent Platform (CFK)
Return to the CFK path map.