Skip to content

Commit

Permalink
chore: Align event-listener name for routes(#93)
Browse files Browse the repository at this point in the history
Jira: EPMDEDP-12939

Related: #93

Change-Id: I81e0c5dd1cc015539f3623972d3911ffe75e1772
  • Loading branch information
oleksandr_taruraiev committed Jan 15, 2024
1 parent f95e6e0 commit c0e4df5
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
{{- if ne .Values.global.gitProvider "gerrit" -}}
{{ if eq .Values.global.platform "openshift" }}
{{- $elName := printf "el-%s-listener" .Values.global.gitProvider -}}
apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: {{ $elName }}
name: event-listener
labels:
{{- include "edp-tekton.labels" . | nindent 4 }}
{{- with .Values.eventListener.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
host: {{ $elName }}-{{ .Release.Namespace }}.{{ .Values.global.dnsWildCard }}
host: el-{{ .Release.Namespace }}.{{ .Values.global.dnsWildCard }}
tls:
insecureEdgeTerminationPolicy: Redirect
termination: edge
to:
kind: Service
name: {{ $elName }}
name: el-edp
weight: 100
port:
targetPort: http-listener
Expand Down

0 comments on commit c0e4df5

Please sign in to comment.