mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-22 12:26:37 +00:00
feat(helm): add istio gateway class support (#6264)
This commit is contained in:
@@ -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 }}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user