Skip to content

Commit

Permalink
Merge pull request #272 from RasaHQ/add-ingressClassName-rasa-x
Browse files Browse the repository at this point in the history
  • Loading branch information
virtualroot authored Feb 2, 2022
2 parents 239a549 + be460fe commit 23d3a8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/rasa-x/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v2

version: "4.3.2"
version: "4.3.3"

appVersion: "1.0.1"

Expand Down Expand Up @@ -42,4 +42,4 @@ annotations:
# See: https://artifacthub.io/docs/topics/annotations/helm/#supported-annotations
artifacthub.io/changes: |
- kind: fixed
description: Don't include DB envs with credentials if the postgresql.install is set to false
description: Add ingressClassName field to rasa-x ingress
3 changes: 3 additions & 0 deletions charts/rasa-x/templates/rasa-x-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ metadata:
nginx.ingress.kubernetes.io/server-snippet: |
add_header X-Robots-Tag none;
spec:
{{- if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName | quote }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
Expand Down

0 comments on commit 23d3a8e

Please sign in to comment.