Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[installer] New gitpod installer validate command cannot specify a namespace #7784

Closed
yevon opened this issue Jan 23, 2022 · 2 comments
Closed
Labels
component: install Terraform installation scripts, helm charts, installer images team: delivery Issue belongs to the self-hosted team

Comments

@yevon
Copy link

yevon commented Jan 23, 2022

Bug description

The validate command of the installer doesn't allow to specify a namespace, so whe it tries to find the secrets and certificate issuers it can't find them.

Steps to reproduce

For a k3s cluster, the command I used is:

./installer validate cluster --kubeconfig /etc/rancher/k3s/k3s.yaml --config gitpod.config.yaml

How do I specify a namespace in the validation?

Results in:

 "name": "cert-manager installed",
  "description": "cert-manager is installed and has available issuer",
  "status": "WARNING",
  "errors": [
    {
      "message": "no cluster issuers configured",
      "type": "WARNING"
    }
  ]
},
{
  "name": "https-certificates is present and valid",
  "description": "ensures the https-certificates secret is present and contains the required data",
  "status": "ERROR",
  "errors": [
    {
      "message": "secret https-certificates not found",
      "type": "ERROR"
    }
  ]
}

But I already have issuers and the secret in the namespace

Workspace affected

No response

Expected behavior

No response

Example repository

No response

Anything else?

No response

@axonasif axonasif added component: install Terraform installation scripts, helm charts, installer images team: delivery Issue belongs to the self-hosted team labels Jan 23, 2022
@yevon yevon changed the title New gitpod installer validate command cannot specify a namespace [installer] New gitpod installer validate command cannot specify a namespace Jan 23, 2022
@corneliusludmann
Copy link
Contributor

Thanks for reporting this issue. Is it the same as in this issue? #7497

@yevon
Copy link
Author

yevon commented Jan 24, 2022

Yes, it is the same, so I will close it.

@yevon yevon closed this as completed Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: install Terraform installation scripts, helm charts, installer images team: delivery Issue belongs to the self-hosted team
Projects
None yet
Development

No branches or pull requests

3 participants