-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
created specific ingress for requests to api/bootstrap from outside t…
…he cluster (#20) * created specific ingress for requests to api/bootstrap from outside the cluster Signed-off-by: Savvas Kyriacou <[email protected]> * Update bootstrap ingress rewrite path Signed-off-by: Eamonn Mansour <[email protected]> * Fix webui liveness and readiness probe warnings Signed-off-by: Eamonn Mansour <[email protected]> * Update bootstrap ingress name Signed-off-by: Eamonn Mansour <[email protected]> --------- Signed-off-by: Savvas Kyriacou <[email protected]> Signed-off-by: Eamonn Mansour <[email protected]> Co-authored-by: Eamonn Mansour <[email protected]>
- Loading branch information
1 parent
7935679
commit 6b3419d
Showing
3 changed files
with
36 additions
and
5 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | ||
# Copyright contributors to the Galasa project | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
|
||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ .Release.Name }}-api-bootstrap | ||
annotations: | ||
{{- with .Values.ingress.annotations }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
nginx.ingress.kubernetes.io/rewrite-target: /bootstrap/external | ||
spec: | ||
ingressClassName: {{ .Values.ingress.ingressClassName }} | ||
{{- with .Values.ingress.tls }} | ||
tls: | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
rules: | ||
- host: {{ .Values.externalHostname }} | ||
http: | ||
paths: | ||
- path: /api/bootstrap | ||
pathType: ImplementationSpecific | ||
backend: | ||
service: | ||
name: {{ .Release.Name }}-api | ||
port: | ||
number: 8080 | ||
|
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