Add option to use existing ingress controller (#143)

Co-authored-by: Josh Bradley <joshbradley@microsoft.com>
This commit is contained in:
Ed Clark 2024-08-15 14:19:56 -04:00 committed by GitHub
parent edb16d7bf7
commit c7149da4c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
{{- if .Values.ingress.createIngressClass -}}
apiVersion: approuting.kubernetes.azure.com/v1alpha1 apiVersion: approuting.kubernetes.azure.com/v1alpha1
kind: NginxIngressController kind: NginxIngressController
metadata: metadata:
@ -9,3 +10,4 @@ spec:
loadBalancerAnnotations: loadBalancerAnnotations:
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
{{- end }}

View File

@ -18,6 +18,7 @@ serviceAccount:
ingress: ingress:
enabled: true enabled: true
className: nginx-internal className: nginx-internal
createIngressClass: true
host: graphrag.graphrag.io host: graphrag.graphrag.io
tls: [] tls: []
annotations: annotations: