Anil:
Hello Everyone, is there any other way to tackle this copy and paste the base64 encoded values into csr.yaml file, I always get the below error while copying encoded CSR content into CSR obejct under request:
error: error parsing csr.yaml: error converting YAML to JSON: yaml: line 8: could not find expected ‘:’
Also, there is no lab solution video for this. @Tej_Singh_Rana @Tharanath
Daniel Henson:
I was having similar issues when I first started messing with CSR and RBAC stuff.
For me what worked was setting the nowrap
option in vim and making sure the request was a one-liner by using cat <filename>.csr | base64 | tr -d '\n'
. I got the last bit/trick from another member on here.