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`
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).
What happened?
I tried to override the default value of CPU limit using
null
but it gives me999m
, other test along with this was I tried as well to use theAllowNullValues
but it doesn't work as well, it saysI'm using https://www.pulumi.com/registry/packages/kubernetes/api-docs/helm/v3/release/#kubernetes-helm-sh-v3-release
Example