-
Notifications
You must be signed in to change notification settings - Fork 917
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
Propagate Service Account Token Secret #4752
Comments
Yes, the background of #1525 is that people don't need to propagate a secret with the type
What do you mean |
I'm still a little confused. Even if this secret is propagated, will it be of any help to you? You can also create this secret on the member cluster by your controller and use it. Karmada neither collects it's token and certs, nor synchronizes any configuration, this approach doesn't seem to make much sense. Similarly, will this behavior affect K8s versions below 1.24? |
Perhaps we can make it default that secrets( |
/cc @RainbowMango @XiShanYongYe-Chang PTAL |
According to the current situation, users do propagate secrets of type For versions before 1.24, I think we can remove the How do you think? |
Correct, we have a tool (external to the cluster) that communicates via a long-lived service account token. Therefore we want the For versions before 1.24, the member cluster is going to automatically create the Secret anyways and changes in #4766 should ignore the data and the uid. |
What happened:
I made a PropagationPolicy for a secret with type
kubernetes.io/service-account-token
and it's ServiceAccount.It appears PR 1525 was made to ignore the secret. However, since 1.24 these secrets aren't automatically created anymore.
What you expected to happen:
I'd expect for karmada to copy my secret and use my ResourceInterpreterCustomization to not copy the secret data.
Additionally i'd like karmada to handle this case and and always remove the cluster specific secret data.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl-karmada version
orkarmadactl version
):The text was updated successfully, but these errors were encountered: