kuui
kuui copied to clipboard
`\n` is being printed if the configmap is being created through a prop file, which should not
If we create the configmap using properties file and the file has newlines those newlines are being converted to \n in the front end, which should not.
{
"secret.properties": "name=vivek\nage=27\nlastname=singh\n"
}
below is how secret.properties looks
more secret.properties
name=vivek
age=27
lastname=singh
How describe shows the configmap
kubectl describe configmaps cmprop
Name: cmprop
Namespace: default
Labels: <none>
Annotations: <none>
Data
====
secret.properties:
----
name=vivek
age=27
lastname=singh
Events: <none>