Skip to content
New issue

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

Helm chart deployment fails with duplicate container port when using TLS termination at LB #5802

Open
revvysh opened this issue Nov 16, 2024 · 0 comments
Labels
t:bug Something isn't working

Comments

@revvysh
Copy link

revvysh commented Nov 16, 2024

{{- range .Values.service.ports }}
- name: {{ .name }}
containerPort: {{ int .targetPort }}
{{- if .protocol }}
protocol: {{ .protocol }}
{{- end }}
{{- if .hostPort }}
hostPort: {{ .hostPort }}
{{- end }}
{{- end}}

Following the doc will fail with duplicate container port on first installation.

The container ports are defined by target ports in service values. Which is causing duplicates during TLS termination at LB

@dosubot dosubot bot added the t:bug Something isn't working label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant