when we use envFrom to inject comlete configmap to our pod, envFrom should come as an array or as an object? I check kubecnetes documentation, there they are using envFrom as object :
while when I was doing lab exercise there I got error as it expect envFrom as array and same I saw in solution video too.
Also what’s the difference in both approach? How to decide if we need to use envFrom as an array or as an object?