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

Script install.sh has issue  #3235

Open
@prashant1diwase

Description

@prashant1diwase

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions