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

v3.helm.Release reports incorrect kube version #2752

Closed
awopenphone opened this issue Jan 17, 2024 · 4 comments
Closed

v3.helm.Release reports incorrect kube version #2752

awopenphone opened this issue Jan 17, 2024 · 4 comments
Assignees
Labels
awaiting-feedback Blocked on input from the author kind/bug Some behavior is incorrect or out of spec

Comments

@awopenphone
Copy link

What happened?

cert-manager chart from https://charts.jetstack.io

Example

  kubernetes:helm.sh/v3:Release cert-manager  error: kubernetes:helm.sh/v3:Release resource 'cert-manager': property chart value {cert-manager} has a problem: chart requires kubeVersion: >= 1.22.0-0 which is incompatible with Kubernetes v1.20.0; check the chart name and repository configuration.

Output of pulumi about

❯ pulumi about
CLI
Version 3.101.1
Go Version go1.21.6
Go Compiler gc

Plugins
NAME VERSION
aws 6.18.0
aws 6.18.0
aws 6.18.0
aws-native 0.79.0
awsx 2.4.0
awsx 2.4.0
awsx 2.4.0
docker 4.5.0
docker 4.5.0
docker 4.5.0
docker 3.6.1
docker 3.6.1
docker 3.6.1
kubernetes 4.5.6
kubernetes 4.5.6
nodejs unknown

Host
OS darwin
Version 14.2.1
Arch arm64

This project is written in nodejs: executable='/Users/andrew/.nvm/versions/node/v18.18.2/bin/node' version='v18.18.2'

Current Stack: snip

Found no pending operations associated with snip

Backend
Name pulumi.com
snip
Token type personal

Dependencies:
NAME VERSION
@pulumi/pulumi 3.101.1
@swc/jest 0.2.29
@types/node 18.19.7
jest 29.7.0
@pulumi/aws 6.18.0
@pulumi/compliance-policy-manager 0.1.2
@pulumi/kubernetes 4.5.6
@pulumi/policy 1.9.0
@types/jest 29.5.11
@pulumi/aws-compliance-policies 0.1.0
@pulumi/awsx 2.4.0

Additional context

This issue was present before November 2023 and was fixed but I got this again on a Github Action run with all of the latest dependencies.

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@awopenphone awopenphone added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Jan 17, 2024
@awopenphone
Copy link
Author

awopenphone commented Jan 17, 2024

this chart does it too

kubernetes:helm.sh/v3:Release elastic-operator  error: kubernetes:helm.sh/v3:Release resource 'elastic-operator': property chart value {eck-operator} has a problem: chart requires kubeVersion: >=1.21.0-0 which is incompatible with Kubernetes v1.20.0; check the chart name and repository configuration.

kube version:

kubectl version        
Client Version: v1.29.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.5-eks-5e0fdde

@mjeffryes

This comment was marked as outdated.

@mjeffryes mjeffryes removed the needs-triage Needs attention from the triage team label Jan 17, 2024
@EronWright
Copy link
Contributor

EronWright commented Jan 17, 2024

This issue was mainly fixed in @pulumi/kubernetes v4.6.0 (see #2672). Sorry for the inconvenience, please update and try again. The reason was that 4.5.x would try to do helm template and it would fail on charts that had a kubeVersion requirement. In 4.6.x the provider doesn't use helm template.

@EronWright EronWright added the awaiting-feedback Blocked on input from the author label Jan 17, 2024
@awopenphone
Copy link
Author

This issue is resolved my libs were out of date sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-feedback Blocked on input from the author kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

3 participants