-
Notifications
You must be signed in to change notification settings - Fork 549
Closed
Description
Describe the bug
jkube-volume-permission adds init container to deployment with busybox as image, if there is a volume mounted. This is implicit, so really hard to predict.
Problem is that docker hub has rate limit. So, just by adding volume mount to a few deployments you could have broken release - pods not starting because busybox could not be downloaded.
For me, it is quite dangerous behavior, and should be switched off by default.
Eclipse JKube version
1.11.0
Component
Kubernetes Maven Plugin
Apache Maven version
3.8.3
Gradle version
None
Steps to reproduce
- Create project with dozens of services, referring common resource fragment (deployment.yml)
- Add persistentVolumeClaim and volumeMount to deployment.yml
- mvn k8s:resource k8s:apply
- kubectl get pod
Expected behavior
It COULD happens that you get ImagePullBackOff on some pod.
Runtime
Kubernetes (vanilla)
Kubernetes API Server version
1.25.3
Environment
Linux
Eclipse JKube Logs
No response
Sample Reproducer Project
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working