We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In charts/coredns/templates/configmap.yaml, port is allowed to be missing:
charts/coredns/templates/configmap.yaml
port
{{- if .port }}:{{ .port }} {{ end -}}
However, in charts/coredns/templates/_helpers.tpl, there is no check if the port is missing, only a call to toString:
charts/coredns/templates/_helpers.tpl
toString
{{- $port := toString .port -}}
When templated, this produces containerPorts like this:
containerPorts
- containerPort: <nil> name: udp-<nil> protocol: UDP - containerPort: <nil> name: tcp-<nil> protocol: TCP
The workaround is to explicitly specify the default port 53
53
The text was updated successfully, but these errors were encountered:
/assign
Sorry, something went wrong.
shubham-cmyk
No branches or pull requests
In
charts/coredns/templates/configmap.yaml
,port
is allowed to be missing:However, in
charts/coredns/templates/_helpers.tpl
, there is no check if the port is missing, only a call totoString
:When templated, this produces
containerPorts
like this:The workaround is to explicitly specify the default port
53
The text was updated successfully, but these errors were encountered: