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

Rename Serverless internal registry initContainer #16266

Merged
merged 1 commit into from Dec 6, 2022

Conversation

moelsayed
Copy link
Contributor

@moelsayed moelsayed commented Dec 6, 2022

Description
During the security-related changes made to the Serverless chart, extra functionality were added to the registry initContianer. So, it was renamed it to better reflect it's current function.

Normally this should be fine. However, since the Reconciler uses PATCH() by default to update resources, in this case, it will add a new initContainer to the deployment, not replace it. The end result is a deployment with 2 initContainers, one of them has old permission configuration which causes it to break.

To test this:

  • Create a 2.9.1 kyma cluster on Gardener. K3d uses it's own local registry so this won't work
  • Upgrade to current main
  • describe the failing serverless-docker-registry pod in kyma-system namespace.

Changes proposed in this pull request:

  • Rename Serverless internal registry initContainer
  • ...
  • ...

Related issue(s)

#15245
#16195
#16205

@moelsayed moelsayed added kind/bug Categorizes issue or PR as related to a bug. area/serverless Issues or PRs related to serverless labels Dec 6, 2022
@kyma-bot kyma-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 6, 2022
@moelsayed
Copy link
Contributor Author

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/serverless Issues or PRs related to serverless kind/bug Categorizes issue or PR as related to a bug. lgtm Looks good to me! size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants