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

Unable to set Helm values to null in Go #3234

Open
mrlnstpn opened this issue Sep 30, 2024 · 1 comment
Open

Unable to set Helm values to null in Go #3234

mrlnstpn opened this issue Sep 30, 2024 · 1 comment
Labels
awaiting-feedback Blocked on input from the author kind/bug Some behavior is incorrect or out of spec

Comments

@mrlnstpn
Copy link

mrlnstpn commented Sep 30, 2024

What happened?

I tried to override the default value of CPU limit using null but it gives me 999m, other test along with this was I tried as well to use the AllowNullValues but it doesn't work as well, it says

    panic: fatal: A precondition has failed for vsrc: value must be valid`

I'm using https://www.pulumi.com/registry/packages/kubernetes/api-docs/helm/v3/release/#kubernetes-helm-sh-v3-release

Example

    resources:
      requests:
        cpu: 10m
        memory: 200Mi
      limits:
        cpu: null
        memory: 200Mi

### Output of `pulumi about`

CLI          
Version      3.134.1
Go Version   go1.23.1
Go Compiler  gc

Plugins
KIND      NAME          VERSION
resource  azure         5.89.0
resource  azure-native  2.63.0
resource  azure-native  2.63.0
resource  azure-native  2.63.0
resource  azure-native  2.63.0
resource  azure-native  2.63.0
resource  azure-native  2.63.0
resource  azure-native  2.63.0
resource  azure-native  2.63.0
resource  azuread       5.53.4
language  go            unknown
resource  kubernetes    3.30.2
resource  rancher2      3.9.0

Host     
OS       ubuntu
Version  22.04
Arch     x86_64

### Additional context

_No response_

### 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). 
@mrlnstpn mrlnstpn added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Sep 30, 2024
@blampe
Copy link
Contributor

blampe commented Sep 30, 2024

@mrlnstpn can you include the full Helm resource you're using in your program? That will help us reproduce this. The underlying issue is probably tracked in #2997.

@blampe blampe added awaiting-feedback Blocked on input from the author and removed needs-triage Needs attention from the triage team labels Sep 30, 2024
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

2 participants