Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Script install.sh has issue #3235

Open
prashant1diwase opened this issue Oct 28, 2020 · 0 comments
Open

Script install.sh has issue #3235

prashant1diwase opened this issue Oct 28, 2020 · 0 comments

Comments

@prashant1diwase
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant