We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Part of #1725
We want to show GitOps resources across namespaces. Given how RBAC works in kubernetes, we need to know which namespaces to query.
We determine "access" as a user who has these permissions in a given namespace:
apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: wego-admin-user-role namespace: {{.Values.namespace}} rules: - apiGroups: [""] resources: ["secrets", "pods","events", "namespaces"] verbs: [ "get", "list" ] - apiGroups: ["apps"] resources: [ "deployments", "replicasets", "pods" ] verbs: [ "get", "list" ] - apiGroups: ["kustomize.toolkit.fluxcd.io"] resources: [ "kustomizations" ] verbs: [ "get", "list" ] - apiGroups: ["helm.toolkit.fluxcd.io"] resources: [ "helmreleases" ] verbs: [ "get", "list" ] - apiGroups: ["source.toolkit.fluxcd.io"] resources: [ "buckets", "helmcharts", "gitrepositories", "helmrepositories" ] verbs: [ "get", "list" ]
Acceptance Criteria:
interface
Reference PoC PR: #1715
The text was updated successfully, but these errors were encountered:
jpellizzari
Successfully merging a pull request may close this issue.
Part of #1725
We want to show GitOps resources across namespaces. Given how RBAC works in kubernetes, we need to know which namespaces to query.
We determine "access" as a user who has these permissions in a given namespace:
Acceptance Criteria:
interface
needs to return a list of namespaces that represent "access" for a given userReference PoC PR: #1715
The text was updated successfully, but these errors were encountered: