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

The check for cluster existence is not compatible with new version of eksctl #7

Closed
dale-c-anderson opened this issue Feb 25, 2021 · 0 comments · Fixed by #8
Closed
Assignees

Comments

@dale-c-anderson
Copy link
Contributor

The 0.38.0 release of the eksctl utility has started to always output timestamp and version information, which breaks all the stdout checks for No clusters found strings in tasks/eks-cluster.task.yaml and eks-destroy-cluster.playbook.yaml.

Old/Working:

$ eksctl version
0.36.2

$ eksctl get cluster --region us-west-2
No clusters found

New/Noisy/Breaky:

$ eksctl version 
0.38.0

$ eksctl get cluster --region us-west-2 
2021-02-25 09:54:00 [ℹ]  eksctl version 0.38.0
2021-02-25 09:54:00 [ℹ]  using region us-west-2
No clusters found

To Reproduce
Use the repo to create a new cluster (which pulls the latest version of eksctl), or upgrade an existing bastion's eksctl version to 0.38.0

Possible fix
eksctl has a --verbose 0 flag that silences all the extra stuff, which will get the checks working again, but this still seems somewhat brittle; maybe there's a better way to check.

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

Successfully merging a pull request may close this issue.

2 participants