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 incompatible 1.18 #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

panguicai008
Copy link

What this PR does / why we need it:

/kind bug

When I execute the make dev-env command to deploy, an error is reported at line 100 of the dev-env script, prompting that the version of kubernetes 1.18 is incompatible. Through checking the relevant code of the helm github repo, we know that when the helm template command is executed, the mock data will be used for verification. The mock needs to specify the version of the kubernetes for compatibility. Under the version 3.5 of Helm, kubernetes 1.18 will be used for verification.

reference:
https://github.com/helm/helm/blob/release-3.4/pkg/chartutil/capabilities.go#L34
https://github.com/helm/helm/blob/release-3.5/pkg/chartutil/capabilities.go#L32

The deployed chart must be greater than or equal to 1.19.
reference:
https://github.com/karmada-io/multi-cluster-ingress-nginx/blob/main/charts/ingress-nginx/Chart.yaml#L19

so i need to find a version of Helm that is compatible with 1.19. The minimum version is helm3.5

Signed-off-by: panguicai008 <1121906548@qq.com>
@karmada-bot karmada-bot added the kind/bug Categorizes issue or PR as related to a bug. label Oct 9, 2022
@karmada-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@karmada-bot karmada-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 9, 2022
@panguicai008
Copy link
Author

/cc @RainbowMango

@panguicai008
Copy link
Author

/cc @RainbowMango

@RainbowMango
Copy link
Member

/assign @XiShanYongYe-Chang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants