feat(helm): add istio gateway class support (#6264)

This commit is contained in:
hector
2026-08-19 21:01:53 +08:00
committed by GitHub
parent 1f8359537b
commit 9fed675185
3 changed files with 19 additions and 3 deletions
@@ -0,0 +1,16 @@
{{- if and .Values.gatewayApi.enabled (eq .Values.gatewayApi.gatewayClass "istio") }}
apiVersion: networking.istio.io/v1
kind: DestinationRule
metadata:
name: {{ include "rustfs.fullname" . }}-sticky
namespace: {{ .Release.Namespace }}
spec:
host: {{ include "rustfs.fullname" . }}-svc.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}
trafficPolicy:
loadBalancer:
consistentHash:
httpCookie:
name: rustfs
path: /
ttl: 0s
{{- end }}
+1 -1
View File
@@ -361,7 +361,7 @@ ingress:
gatewayApi:
enabled: false
gatewayClass: traefik # Only support for traefik and contour gatewayClass at the moment.
gatewayClass: traefik # Supported gatewayClass: traefik, contour, istio.
listeners: # Specify which listeners to create on the Gateway.
http:
name: web