Skip to content

Commit

Permalink
Update the nginx template
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwani-opstree committed Dec 27, 2024
1 parent 26f4d04 commit be2703d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/nginx-ingress/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ spec:
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ $fullName }}
name: {{ .backendService }}
port:
number: {{ $svcPort }}
number: {{ .backendPort }}
{{- else }}
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
serviceName: {{ .backendService }}
servicePort: {{ .backendPort }}
{{- end }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit be2703d

Please sign in to comment.