mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-07-28 09:43:59 +00:00
Added OS route
This commit is contained in:
23
helm-chart/templates/14-route.yaml
Normal file
23
helm-chart/templates/14-route.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
apiVersion: route.openshift.io/v1
|
||||
kind: Route
|
||||
metadata:
|
||||
annotations:
|
||||
{{- if .Values.tap.annotations }}
|
||||
{{- toYaml .Values.tap.annotations | nindent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "kubeshark.labels" . | nindent 4 }}
|
||||
name: kubeshark-route
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
host: {{ .Values.tap.ingress.host }}
|
||||
to:
|
||||
kind: Service
|
||||
name: kubeshark-front
|
||||
port:
|
||||
targetPort: 80
|
||||
tls:
|
||||
termination: edge
|
||||
{{- if .Values.tap.ingress.tls }}
|
||||
{{- toYaml .Values.tap.ingress.tls | nindent 4 }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user