- If users want a route to the web service, added a Route with the service
This commit is contained in:
@@ -94,3 +94,4 @@ $ helm install robot-shop --set openshift=true helm
|
||||
| payment.gateway | null | string | External URL end-point to simulate partial/3rd party traces. |
|
||||
| psp.enabled | false | boolean | Enable Pod Security Policy for clusters with a PSP Admission controller |
|
||||
| redis.storageClassName | standard | string | Storage class to use with Redis's StatefulSet. The default for EKS is gp2. |
|
||||
| ocCreateRoute | false | boolean | If you are running on OpenShift and need a Route to the web service, set this to `true` |
|
||||
|
@@ -16,3 +16,14 @@ spec:
|
||||
{{ else }}
|
||||
type: LoadBalancer
|
||||
{{ end }}
|
||||
---
|
||||
{{if .Values.ocCreateRoute}}
|
||||
apiVersion: route.openshift.io/v1
|
||||
kind: Route
|
||||
metadata:
|
||||
name: web
|
||||
spec:
|
||||
to:
|
||||
kind: Service
|
||||
name: web
|
||||
{{end}}
|
@@ -31,3 +31,5 @@ openshift: false
|
||||
# Storage class to use with redis statefulset.
|
||||
redis:
|
||||
storageClassName: standard
|
||||
|
||||
ocCreateRoute: false
|
||||
|
Reference in New Issue
Block a user