Script install.sh has issue #3235
Description
Script available at https://github.com/eclipse/codewind-operator -b 0.14.1
$ cd deploy
$ ./install.sh codewind -n -u has issue.
It fails with the reason below
bash install.sh codewind -n codewind-instance-kgsyrdae51v2-fer97b482 -u xxxx_xxxxxx
New Codewind deployment
Have you remembered to set up 'xxxx_xxxxxx' in the Keycloak directory (y/n)?y
Creating Codewind deployment
The Codewind "codewind-instance-kgsyrdae51v2-fer97b482" is invalid: spec.username: Invalid value: "": spec.username in body should match '^[A-Za-z0-9/-]*$'
Waiting for codewind (may take a few minutes, expected phases: Pending->ContainerCreating->Running)
No resources found in codewind namespace.
codewind:
No resources found in codewind namespace.
No resources found in codewind namespace.
This failure because install.sh at line 190 is missing to add variable value.
echo " spec: " >> custom-codewind.eclipse.org_v1alpha1_codewind_cr.yaml
It has been required to change as below
echo " spec: "$FLG_NAMESPACE >> custom-codewind.eclipse.org_v1alpha1_codewind_cr.yaml