Skip to content

Commit

Permalink
Remove service port solution for now
Browse files Browse the repository at this point in the history
  • Loading branch information
dfangl committed Jun 7, 2024
1 parent 0f86be8 commit ca5559c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions charts/localstack/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ spec:
containerPort: 53
protocol: UDP
{{- end }}
{{- range $index, $port := untilStep (.Values.service.externalServicePorts.start|int) (.Values.service.externalServicePorts.end|int) 1 }}
- name: "external-service-port-{{ $port }}"
port: {{ $port }}
targetPort: "ext-svc-{{ $port }}"
nodePort: {{ add $index 31510 }}
{{- range untilStep (.Values.service.externalServicePorts.start|int) (.Values.service.externalServicePorts.end|int) 1 }}
- name: "external-service-port-{{ . }}"
port: {{ . }}
targetPort: "ext-svc-{{ . }}"
{{- end }}
selector:
{{- include "localstack.selectorLabels" . | nindent 4 }}

0 comments on commit ca5559c

Please sign in to comment.