Skip to content

Commit

Permalink
remove host value from route
Browse files Browse the repository at this point in the history
Signed-off-by: Maximiliano Pizarro <maximiliano.pizarro.5@gmail.com>
  • Loading branch information
maximilianoPizarro committed Feb 21, 2025
1 parent c86244b commit 7058345
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
5 changes: 2 additions & 3 deletions charts/botpress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ The purpose of this project is to generate the kubernetes objects based on the n
| Parameter | Value | Default |
|-----------------------------|-----------------------------------------------------|------------------------------------|
| env.EXTERNAL_URL | https://my-botpress-NAMESPACE-dev.apps.sandbox-m2.ll9k.p1.openshiftapps.com | https://botpress-server-maximilianopizarro5-dev.apps.sandbox-m2.ll9k.p1.openshiftapps.com |
| route.host | my-botpress-NAMESPACE-dev.apps.sandbox-m2.ll9k.p1.openshiftapps.com | botpress-server-maximilianopizarro5-dev.apps.sandbox-m2.ll9k.p1.openshiftapps.com |
| image.repository | botpress/server | quay.io/maximilianopizarro/botpress-server-v12 |


Expand All @@ -47,12 +46,12 @@ helm repo add botpress https://redhat-cop.github.io/helm-charts
## Install Chart with parameters

```bash
helm install botpress botpress/botpress --version VERSION --set route.host="Your-WilcardDNS-hostname",env.EXTERNAL_URL="Your-WilcardDNS-with-https"
helm install botpress botpress/botpress --version VERSION --set env.EXTERNAL_URL="Your-WilcardDNS-with-https"
```

```bash
Example:
helm install botpress botpress/botpress --version 0.1.1 --set route.host="my-botpress-maximilianopizarro5-dev.apps.sandbox-m2.ll9k.p1.openshiftapps.com",env.EXTERNAL_URL="https://my-botpress-maximilianopizarro5-dev.apps.sandbox-m2.ll9k.p1.openshiftapps.com"
helm install botpress botpress/botpress --version 0.1.1 --set env.EXTERNAL_URL="https://my-botpress-maximilianopizarro5-dev.apps.sandbox-m2.ll9k.p1.openshiftapps.com"
```


Expand Down
2 changes: 0 additions & 2 deletions charts/botpress/templates/route.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Values.route.enabled -}}
kind: Route
apiVersion: route.openshift.io/v1
metadata:
Expand All @@ -15,4 +14,3 @@ spec:
tls:
termination: edge
insecureEdgeTerminationPolicy: Redirect
{{- end }}
3 changes: 0 additions & 3 deletions charts/botpress/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ service:
type: ClusterIP
port: 3000

route:
enabled: true
host: botpress-server-maximilianopizarro5-dev.apps.sandbox-m2.ll9k.p1.openshiftapps.com

ingress:
enabled: false
Expand Down

0 comments on commit 7058345

Please sign in to comment.