You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a configmap is used to provide environment variables to a initContainer (envFrom) this is not evaluated. As a result such a cm is marked as not used and if it is removed then on a new pod creation (for whatever reasons) it will fail as the corresponding configmap for providing environment vars to the initContainer will be missing.
To Reproduce
Steps to reproduce the behavior:
have a pod with initContainer that gets env vars from a configmap
check for unused configmaps in the namespace where the above pod is running
Expected behavior
Additional validation for initContainer's 'envFrom' section will be needed to check if it contains 'ConfigMapRef' section.
Screenshots
OS version, architecture and kor version
x86_64 GNU/Linux
Kor version: 0.1.14
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
When a configmap is used to provide environment variables to a initContainer (envFrom) this is not evaluated. As a result such a cm is marked as not used and if it is removed then on a new pod creation (for whatever reasons) it will fail as the corresponding configmap for providing environment vars to the initContainer will be missing.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Additional validation for initContainer's 'envFrom' section will be needed to check if it contains 'ConfigMapRef' section.
Screenshots
OS version, architecture and kor version
x86_64 GNU/Linux
Kor version: 0.1.14
Additional context
The text was updated successfully, but these errors were encountered: