dongjoon-hyun opened a new pull request, #998: URL: https://github.com/apache/spark-kubernetes-operator/pull/998
### What changes were proposed in this pull request? This PR adds a new `Trust assumptions` section to `SECURITY.md`, right after the `Threat model` section. It states that: - Users who can create or update `SparkApplication` or `SparkCluster` resources are trusted within the RBAC scope that the cluster administrator grants to the operator, and the operator acts with its own service account. - The Helm chart grants cluster-wide permissions by default (`operatorRbac.clusterRole.create: true`, `operatorRbac.clusterRoleBinding.create: true`), and `spark.kubernetes.operator.watchedNamespaces` limits only which custom resources are reconciled, not where the operator's service account may act. - A single operator instance is therefore not a tenant isolation boundary. For tenant isolation, run one operator instance per tenant with namespace-scoped `Role`s and `RoleBinding`s only (`operatorRbac.role.create`, `operatorRbac.roleBinding.create`) on that tenant's `workloadResources.namespaces.data`. ### Why are the changes needed? To make the trust model of the operator explicit for users, contributors, and automated security scanners, so that the expected deployment for multi-tenant clusters is clear. ### Does this PR introduce _any_ user-facing change? No. This is a documentation-only change. ### How was this patch tested? Manual review. The Helm value names and defaults were checked against `build-tools/helm/spark-kubernetes-operator/values.yaml` and `templates/operator-rbac.yaml`, and the file was checked with `markdownlint`. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 5.5 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
