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

fix: do not fetch kong version when running validate #1247

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

GGabriele
Copy link
Collaborator

decK used to fetch the running Kong version in order to gate route regex patterns validation. This is problematic in the case users don't have access to the / endpoint, which is the one used to fetch the version of the runtime.

This commit removes the need of fetching the Kong version entirely by relying on the _format_version field from the config file instead.

decK used to fetch the running Kong version in order to gate
route regex patterns validation. This is problematic in
the case users don't have access to the `/` endpoint, which
is the one used to fetch the version of the runtime.

This commit removes the need of fetching the Kong version
entirely by relying on the `_format_version` field from the
config file instead.
@GGabriele GGabriele requested a review from a team as a code owner March 15, 2024 11:59
@GGabriele GGabriele merged commit a038861 into main Mar 20, 2024
39 checks passed
@GGabriele GGabriele deleted the fix/validate-no-fetch-kong-version branch March 20, 2024 12:40
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 this pull request may close these issues.

None yet

2 participants