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

Fix image pull secret name #56

Merged
merged 1 commit into from
Aug 5, 2024
Merged

Fix image pull secret name #56

merged 1 commit into from
Aug 5, 2024

Conversation

ordovicia
Copy link
Contributor

to prevent the issue in the following scenario:

  1. An image pull secret is provisioned, and a Pod successfully pulls image and starts
  2. ServiceAccount's annotation is changed, resulting in a change of the image pull secret name
  3. The Pod attempts to pull the image again for some reason
  4. The old image pull secret has been deleted, causing the Pod to fail in pulling the image
  5. Since the Pod initially started successfully in step 1, the evictor does not recover the Pod

to prevent the issue in the following scenario:

1. An image pull secret is provisioned, and a Pod successfully pulls image and starts
2. ServiceAccount's annotation is changed, resulting in a change of the image pull secret name
3. The Pod attempts to pull the image again for some reason
4. The old image pull secret has been deleted, causing the Pod to fail in pulling the image
5. Since the Pod initially started successfully in step 1, the evictor does not recover the Pod
@ordovicia ordovicia merged commit 34def88 into main Aug 5, 2024
3 checks passed
@ordovicia ordovicia deleted the secret-name branch August 5, 2024 05:18
@github-actions github-actions bot mentioned this pull request Aug 5, 2024
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

Successfully merging this pull request may close these issues.

2 participants