From 4125f7844689ee30a725c7c0c76ed3c3c4e976c4 Mon Sep 17 00:00:00 2001 From: Chin K Date: Wed, 8 Nov 2023 20:44:45 -0500 Subject: [PATCH] Added OS route --- helm-chart/templates/14-route.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 helm-chart/templates/14-route.yaml diff --git a/helm-chart/templates/14-route.yaml b/helm-chart/templates/14-route.yaml new file mode 100644 index 000000000..bca4654c0 --- /dev/null +++ b/helm-chart/templates/14-route.yaml @@ -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 }} \ No newline at end of file