operator-courier
operator-courier copied to clipboard
Improve how yaml paths are vertified
Multiple if statements are currently used to validate dictionary fields. I recommend creating a method that:
- Accepts a
dictand a path (example path:metadata.annotations.alm-examples) - Checks that the path exists within the
dict - Returns true/false