diff --git a/botfront-project/templates/ingress.yaml b/botfront-project/templates/ingress.yaml index dde25c9..49e0a3f 100644 --- a/botfront-project/templates/ingress.yaml +++ b/botfront-project/templates/ingress.yaml @@ -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" diff --git a/botfront-project/values.yaml b/botfront-project/values.yaml index dc79b31..fe55390 100644 --- a/botfront-project/values.yaml +++ b/botfront-project/values.yaml @@ -38,6 +38,7 @@ persistenceClaim: ingress: enabled: true + annotations: {} nginx: # Set to true if your cluster uses the nginx-ingress controller enabled: true