You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
What happened:
You cannot use --set tcp='8080: "default/example-tcp-svc:9000"'
If you provide a single object it fails in templates/controller-service.yaml:
executing "nginx-ingress/templates/controller-service.yaml" at <.Values.tcp>: range can't iterate over 8080: "default/example-tcp-svc:9000"
If you provide a list the output of templates/tcp-configmap.yaml fails at runtime with:
UPGRADE FAILED: failed to create resource: ConfigMap in version "v1" cannot be handled as a ConfigMap: v1.ConfigMap: Data: ReadMapCB: expect { or n, parsing 27 ...","data":[... at {"apiVersion":"v1","data":["8080: \"default/example-tcp-svc:9000\""]
What you expected to happen:
A valid template would be created.
How to reproduce it (as minimally and precisely as possible):
The way that the two templates are treating the tcp values are incompatible. I think the solution is for templates/tcp-configmap.yaml to add a range loop.
The text was updated successfully, but these errors were encountered:
Is this a request for help?:
Yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Version of Helm and Kubernetes:
K8s 1.9.something (not really relevant)
Which chart:
stable/nginx-ingress
What happened:
You cannot use
--set tcp='8080: "default/example-tcp-svc:9000"'
If you provide a single object it fails in
templates/controller-service.yaml
:executing "nginx-ingress/templates/controller-service.yaml" at <.Values.tcp>: range can't iterate over 8080: "default/example-tcp-svc:9000"
If you provide a list the output of
templates/tcp-configmap.yaml
fails at runtime with:UPGRADE FAILED: failed to create resource: ConfigMap in version "v1" cannot be handled as a ConfigMap: v1.ConfigMap: Data: ReadMapCB: expect { or n, parsing 27 ...","data":[... at {"apiVersion":"v1","data":["8080: \"default/example-tcp-svc:9000\""]
What you expected to happen:
A valid template would be created.
How to reproduce it (as minimally and precisely as possible):
helm install nginx-ingress stable/nginx-ingress --set tcp='8080: "default/example-tcp-svc:9000"'
Anything else we need to know:
The way that the two templates are treating the tcp values are incompatible. I think the solution is for templates/tcp-configmap.yaml to add a range loop.
The text was updated successfully, but these errors were encountered: