-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jörg Erdmenger
committed
Oct 10, 2024
1 parent
d68e565
commit 5045cb5
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{{- if and .Values.openshift .Values.openshift.route.contextPath }} | ||
kind: Route | ||
apiVersion: route.openshift.io/v1 | ||
metadata: | ||
name: {{ include "krakend.fullname" . }}-route | ||
spec: | ||
{{- if .Values.openshift.route.host }} | ||
host: {{ .Values.openshift.route.host }} | ||
{{- end }} | ||
path: {{ .Values.openshift.route.contextPath }} | ||
to: | ||
kind: Service | ||
name: {{ include "krakend.fullname" . }} | ||
weight: 100 | ||
port: | ||
targetPort: http | ||
tls: | ||
termination: reencrypt | ||
insecureEdgeTerminationPolicy: Redirect | ||
wildcardPolicy: None | ||
{{ end }} |