Skip to content
Snippets Groups Projects
Commit c7fd8e74 authored by Mitchell Nielsen's avatar Mitchell Nielsen Committed by Jason Plum
Browse files

Use correct template for TCP configmap

This aligns the template used when naming the TCP configmap with what is
defined in the Deployment. This was a miss from our NGINX chart upgrade.
parent a68886cd
No related branches found
No related tags found
1 merge request!1751Resolve "ingress-nginx DaemonSet does not bind SSH port"
......@@ -85,7 +85,7 @@ spec:
- --ingress-class={{ template "ingress-nginx.controller.ingress-class" . }}
- --configmap={{ .Release.Namespace }}/{{ include "ingress-nginx.controller.fullname" . }}
{{- if or .Values.tcp (include "gitlab.shell.port" $ ) }}
- --tcp-services-configmap={{ .Release.Namespace }}/{{ template "ingress-nginx.fullname" . }}-tcp
- --tcp-services-configmap={{ .Release.Namespace }}/{{ template "ingress-nginx.tcp-configmap" . }}
{{- end }}
{{- if .Values.udp }}
- --udp-services-configmap={{ .Release.Namespace }}/{{ include "ingress-nginx.fullname" . }}-udp
......
......@@ -280,7 +280,7 @@ Returns the nginx ingress class
Overrides the ingress-nginx template to make sure gitlab-shell name matches
*/}}
{{- define "ingress-nginx.tcp-configmap" -}}
{{ .Release.Name}}-ingress-nginx-tcp
{{ .Release.Name}}-nginx-ingress-tcp
{{- end -}}
{{/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment