Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions botfront-project/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ metadata:
app: {{ $.Release.Name }}-{{ if ne $env "default"}}{{ $env }}-{{ end }}{{ $.Values.appName }}
name: {{ $.Release.Name }}-{{ if ne $env "default"}}{{ $env }}-{{ end }}rasa-ingress
annotations:
{{- with .Values.ingress.annotations }}
{{ toYaml . | nindent 4 }}
{{- end }}
{{- if $.Values.ingress.nginx.enabled}}
{{- if $.Values.ingress.nginx.enableSessionAffinity}}
nginx.ingress.kubernetes.io/affinity: "cookie"
Expand Down
1 change: 1 addition & 0 deletions botfront-project/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ persistenceClaim:

ingress:
enabled: true
annotations: {}
nginx:
# Set to true if your cluster uses the nginx-ingress controller
enabled: true
Expand Down