Open kromanow94 opened 9 months ago
are you sure that this serviceaccount does not exist in a single user / development deployment? We probably need to fix it in Kubeflow/kubeflow then.
I checked across the kubeflow/kubeflow and kubeflow/manifests repository and it's true for both:
$ grep -RnI jupyter-notebook | grep -v "\.md"
manifests/apps/jupyter/jupyter-web-app/upstream/base/role.yaml:4: name: jupyter-notebook-role
manifests/apps/jupyter/jupyter-web-app/upstream/base/role-binding.yaml:4: name: jupyter-notebook-role-binding
manifests/apps/jupyter/jupyter-web-app/upstream/base/role-binding.yaml:8: name: jupyter-notebook-role
manifests/apps/jupyter/jupyter-web-app/upstream/base/role-binding.yaml:11: name: jupyter-notebook
kubeflow/components/crud-web-apps/jupyter/manifests/base/role.yaml:4: name: jupyter-notebook-role
kubeflow/components/crud-web-apps/jupyter/manifests/base/role-binding.yaml:4: name: jupyter-notebook-role-binding
kubeflow/components/crud-web-apps/jupyter/manifests/base/role-binding.yaml:8: name: jupyter-notebook-role
kubeflow/components/crud-web-apps/jupyter/manifests/base/role-binding.yaml:11: name: jupyter-notebook
For now I'll be focusing or more critical Issues/PRs but I'll get back to it sometime in future.
CC @thesuperzapper @kimwnasptd then.
@kromanow94 @juliusvonkohout Hi, I am interested in contributing to the kubeflow project and have started working on this issue. I have submitted a PR to 'kubeflow/kubeflow'. Your review would be greatly appreciated.
Please let me know if you also need PR for kubeflow/manifests.
@kromanow94 @juliusvonkohout Hi, I am interested in contributing to the kubeflow project and have started working on this issue. I have submitted a PR to 'kubeflow/kubeflow'. Your review would be greatly appreciated.
Please let me know if you also need PR for kubeflow/manifests.
@nishi-t The PR https://github.com/kubeflow/kubeflow/pull/7616 will be merged by @thesuperzapper or @kimwnasptd and then I can synchronize it back to kubeflow/manifetsts and close the issue here as well.
@juliusvonkohout Thank you for your comment. I understand.
Description
The
jupter-web-app
defined in apps/jupyter/jupyter-web-app/upstream/base definesrole-binding.yaml
for a ServiceAccount that doesn't exist:jupyter-notebook
.The app is still working correctly because of a ClusterRoleBinding in
cluster-role-binding.yaml
. Thiscluster-role-binding.yaml
referencescluster-role.yaml
with rules that consist and extends the rules defined incluster-role.yaml
.Considering the above, I think it makes sense to delete both the
role.yaml
androle-binding.yaml