Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RBAC for documented Service Account #12

Open
Samze opened this issue Jul 14, 2022 · 0 comments
Open

Update RBAC for documented Service Account #12

Samze opened this issue Jul 14, 2022 · 0 comments

Comments

@Samze
Copy link
Contributor

Samze commented Jul 14, 2022

Today the ServiceAccount we recommend to use for kapp installations has overly permissive RBAC. See here

---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: cloudsql-install
  namespace: default
rules:
- apiGroups: ["*"] # TODO: use more fine-grained RBAC permissions
  resources: ["*"]
  verbs: ["*"]

We should narrow the scope to just the resources managed by the kapp deployment.

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

No branches or pull requests

1 participant