feat: Gateway supports the configuration of forwarding tcp/udp traffic. (#5445)
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io> Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
This commit is contained in:
@@ -266,7 +266,22 @@ spec:
|
||||
imagePullSecrets: []
|
||||
# - name: secretName
|
||||
|
||||
|
||||
# TCP service key:value pairs
|
||||
# Ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/exposing-tcp-udp-services.md
|
||||
##
|
||||
{{- if .Values.controller.tcp }}
|
||||
tcp: {{ toYaml .Values.controller.tcp | nindent 4 }}
|
||||
{{- end }}
|
||||
# 8080: "default/example-tcp-svc:9000"
|
||||
|
||||
|
||||
# UDP service key:value pairs
|
||||
# Ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/exposing-tcp-udp-services.md
|
||||
##
|
||||
{{- if .Values.controller.udp }}
|
||||
udp: {{ toYaml .Values.controller.udp | nindent 4 }}
|
||||
{{- end }}
|
||||
# 53: "kube-system/kube-dns:53"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -15,6 +15,9 @@ controller:
|
||||
tag: "v1.1.0"
|
||||
pullPolicy: IfNotPresent
|
||||
digest: ""
|
||||
# add configuration of forwarding tcp/udp traffic
|
||||
tcp: {}
|
||||
udp: {}
|
||||
|
||||
|
||||
service:
|
||||
|
||||
Reference in New Issue
Block a user