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

Change List to Get when sync imagePullSecret from API server #513

Open
sctb512 opened this issue Jul 25, 2023 · 0 comments
Open

Change List to Get when sync imagePullSecret from API server #513

sctb512 opened this issue Jul 25, 2023 · 0 comments

Comments

@sctb512
Copy link
Member

sctb512 commented Jul 25, 2023

Now we have three methods to get auth for nydusd. For the k8s scenario, the best solution is to get imagePullSecret directly from the API server if nydus-snapshotter is running on the node. Currently the kubeconfig-based-authentication uses List to synchronise secrets for all namespaces, which is stressed and unacceptable for API server.

But we cannot change it to Get now, because snapshotter has no chance to get the pod.Namespace and pod.Spec.imagePullSecret.Name.

@sctb512 sctb512 changed the title Change List to to Get when sync imagePullSecret from API server Change List to Get when sync imagePullSecret from API server Jul 25, 2023
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