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

feat: enable austere linter for kurl.sh. #946

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

ricardomaraschini
Copy link
Member

@ricardomaraschini ricardomaraschini commented Feb 23, 2023

What has been introduced by this PR

Enables the kurl-api austere Installer linter.

Why has been done

The new linter has been hidden behind this flag for a long time, in the past we had to hide it due of:

  1. The initial implementation was incomplete (missed the skip_validation flag implementation).
  2. A bug in one of our cloudflare-workers.

Since then the new linter has been enabled as part of the kots-lint project and became active in the vendor portal. This is an example of how the new linter complains are presented in the vendor portal:

Screenshot 2023-02-23 at 14 32 27

Impact

Even though the new linter may return multiple complaints at the same time kurl.sh interface is prepared to receive only one complain at a time. Due to that limitation additional complains are being trimmed off by kurl-api. Allied to that the austere flag is not known or used by any other project so the only usage will be done here, by kurl.sh. The test deployment available here does not show any issues.

enables the kurl-api austere installer linter.
@ricardomaraschini ricardomaraschini added the type::feature New feature or request label Feb 23, 2023
@ricardomaraschini ricardomaraschini requested a review from a team as a code owner February 23, 2023 12:46
@github-actions
Copy link

@github-actions github-actions bot temporarily deployed to preview February 23, 2023 12:49 Inactive
@ricardomaraschini ricardomaraschini changed the title DONOTMERGE: feat: enable austere linter for kurl.sh. feat: enable austere linter for kurl.sh. Feb 23, 2023
@ricardomaraschini ricardomaraschini merged commit 298514a into main Feb 23, 2023
@ricardomaraschini ricardomaraschini deleted the testing-austere-lint branch February 23, 2023 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants