Fix RBAC objects with multiple namespaces
And unquote watch-namespaces values
What does this MR do and why?
This MR fixes two bugs.
-
bug in RBAC objects in case of multiple namespaces
When multiple namespaces are passed in
.Values.watchNamespaces
, the lack of document separator in the YAML file prevents creation of rolebindings. -
Unquote watch-namespaces values
Go takes the literal value passed against the flag, and this means
- This is NOT correct
--watch-namespaces="test-ns","default"
- This is correct
--watch-namespaces=test-ns,default
- This is NOT correct