https://pulumi.com logo
#general
Title
# general
c

crooked-jelly-50877

10/22/2019, 10:51 PM
The error trace is
Copy code
Error: render error in "nginx-ingress/templates/default-backend-poddisruptionbudget.yaml": template: nginx-ingress/templates/default-backend-poddisruptionbudget.yaml:1:7: executing "nginx-ingress/templates/default-backend-poddisruptionbudget.yaml" at <gt .Values.defaultBackend.replicaCount 1.0>: error calling gt: incompatible types for comparison
    Error: Error: Command failed: helm template /var/folders/br/vk7vq4s17z50g66njs1gmlc80000gn/T/tmp-78327rwjsRXZ39Xkh/nginx-ingress --name nginx-ingress --values /var/folders/br/vk7vq4s17z50g66njs1gmlc80000gn/T/tmp-78327rwjsRXZ39Xkh/nginx-ingress/values.yaml --values /var/folders/br/vk7vq4s17z50g66njs1gmlc80000gn/T/tmp-783273FSDGnkfbySQ.yaml --namespace nginx
    Error: render error in "nginx-ingress/templates/default-backend-poddisruptionbudget.yaml": template: nginx-ingress/templates/default-backend-poddisruptionbudget.yaml:1:7: executing "nginx-ingress/templates/default-backend-poddisruptionbudget.yaml" at <gt .Values.defaultBackend.replicaCount 1.0>: error calling gt: incompatible types for comparison
        at /Users/warren.strange/tmp/forgeops/cluster/pulumi/node_modules/@pulumi/kubernetes/helm/v2/helm.js:112:23
        at OutputImpl.<anonymous> (/Users/warren.strange/tmp/forgeops/cluster/pulumi/node_modules/@pulumi/pulumi/output.js:110:47)
        at Generator.next (<anonymous>)
        at fulfilled (/Users/warren.strange/tmp/forgeops/cluster/pulumi/node_modules/@pulumi/pulumi/output.js:18:58)
w

worried-city-86458

10/22/2019, 11:10 PM
Helm 2.15 has an issue with numbers IIRC
c

crooked-jelly-50877

10/22/2019, 11:12 PM
Hmm - that would explain it
w

worried-city-86458

10/22/2019, 11:26 PM
c

crooked-jelly-50877

10/22/2019, 11:55 PM
👍
w

worried-city-86458

10/24/2019, 12:38 AM
@crooked-jelly-50877 does this fix your issue?
c

crooked-jelly-50877

10/24/2019, 1:56 AM
Just tested it - looks good!
👍
2 Views