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

Invalid Semantic Version #393

Closed
dcuebas opened this issue Nov 16, 2022 · 5 comments
Closed

Invalid Semantic Version #393

dcuebas opened this issue Nov 16, 2022 · 5 comments

Comments

@dcuebas
Copy link

dcuebas commented Nov 16, 2022

I am using an image that includes my custom external plugin but because of
(.../apisix/templates/configmap.yaml - line 17)

{{- $isBeta := (semverCompare ">=2.99.0-0" .Values.apisix.image.tag) }}

I now get an error:
error calling semverCompare: Invalid Semantic Version

Please consider users who are not using default apisix images.

@tokers
Copy link
Contributor

tokers commented Nov 16, 2022

What's the APISIX version are you using?

@dcuebas
Copy link
Author

dcuebas commented Nov 22, 2022

2.15.0

@tao12345666333
Copy link
Member

tao12345666333 commented Nov 22, 2022

what's your image tag?

.Values.apisix.image.tag 's value

@dcuebas
Copy link
Author

dcuebas commented Nov 22, 2022

It is a custom image. My image tag does not follow semantic versioning.

@tao12345666333
Copy link
Member

This is where the problem lies.

The logic here exists for APISIX 3.0-compatible mirroring to run.
We will publish an official Helm chart for 3.0 once other relevant components are in place.
At that time, these logics will be removed.

What you need to do is to remove this part of the logic, or modify your image tag.

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

No branches or pull requests

3 participants