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
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
The current way to specify the list of zones where a volume would be available is to specify a JSON blob as a value of the volume-requested-topology annotation. While this works, this quickly becomes unreadable for any human interaction and consumption. A cleaner way would be to use YAML strings. Here a comparison of both current and the proposed approach:
Consider a scenario where a PVC is being made available in 5 zones (for illustration purpose). The value of the annotation starts to becomes unreadable.
Please note the use of the | character after the annotation key. This indicates a multi-line YAML string. I validated this works for annotations by creating a ConfigMap with one. Importantly the info is also returned in this format as well.
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
The current way to specify the list of zones where a volume would be available is to specify a JSON blob as a value of the
volume-requested-topology
annotation. While this works, this quickly becomes unreadable for any human interaction and consumption. A cleaner way would be to use YAML strings. Here a comparison of both current and the proposed approach:Consider a scenario where a PVC is being made available in 5 zones (for illustration purpose). The value of the annotation starts to becomes unreadable.
The same PVC will look like this using the proposed YAML string approach:
YAML as a string also has an advantage of being able to identify any mistakes while crafting the object (essential for non automation/machine users).
What you expected to happen:
N/A
How to reproduce it (as minimally and precisely as possible):
Create a multi zone PVC and observe the JSON blob in the annotation.
Anything else we need to know?:
N/A
Skipping the env section since this is present on main.
The text was updated successfully, but these errors were encountered: