If a YAML specifies an empty initContainers:, this will crash this code if we also specify yamls. regardless of how pointless this is, this is, it is valid k8s yaml that applies cleanly.
Related Issue
Fix #141
Motivation and Context
Fixes crash
How Has This Been Tested?
No longer crashes
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
If a YAML specifies an empty
initContainers:
, this will crash this code if we also specify yamls. regardless of how pointless this is, this is, it is valid k8s yaml that applies cleanly.Related Issue
Fix #141
Motivation and Context
Fixes crash
How Has This Been Tested?
No longer crashes
Types of changes
Checklist: