File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed
Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 2020 - {{ include "ace.fullname" . }}-nats
2121 - {{ include "ace.fullname" . }}-nats.{{ .Release.Namespace }}.svc
2222 - {{ include "ace.fullname" . }}-nats.{{ .Release.Namespace }}.svc.cluster.local
23+ - {{ include "ace.fullname" . }}-s3proxy
24+ - {{ include "ace.fullname" . }}-s3proxy.{{ .Release.Namespace }}.svc
25+ - {{ include "ace.fullname" . }}-s3proxy.{{ .Release.Namespace }}.svc.cluster.local
2326 {{- if eq .Values.global.platform.hostType "domain" }}
2427 - " {{ .Values.global.platform.host }}"
2528 {{- if and .Values.nats.enabled .Values.nats.nats.externalAccess }}
Original file line number Diff line number Diff line change 11{{- if (index .Values "gateway" "enabled") }}
22
3+ {{- if (index .Values "gateway" "hosts") }}
4+
35apiVersion : gateway.networking.k8s.io/v1
46kind : HTTPRoute
57metadata :
@@ -35,13 +37,31 @@ spec:
3537 - group : " "
3638 kind : Service
3739 name : {{ include "s3proxy.fullname" . }}
38- namespace : {{ .Release.Namespace }}
39- port : {{ .Values.service.port }}
40+ namespace : {{ $ .Release.Namespace }}
41+ port : {{ $ .Values.service.port }}
4042 weight : 1
4143 {{- end }}
4244 {{- end }}
4345
4446---
47+ apiVersion : gateway.networking.k8s.io/v1
48+ kind : BackendTLSPolicy
49+ metadata :
50+ name : {{ include "ace.fullname" . }}-s3proxy
51+ namespace : {{ .Release.Namespace }}
52+ spec :
53+ targetRefs :
54+ - group : " "
55+ kind : Service
56+ name : {{ include "ace.fullname" . }}-s3proxy
57+ validation :
58+ caCertificateRefs :
59+ - group : " "
60+ kind : Secret
61+ name : {{ include "ace.fullname" . }}-cert
62+ hostname : {{ include "ace.fullname" . }}-s3proxy
63+ {{- end }}
64+
4565---
4666apiVersion : gateway.networking.k8s.io/v1alpha2
4767kind : TCPRoute
You can’t perform that action at this time.
0 commit comments