diff --git a/infra/helm/graphrag/templates/graphrag-nginx-internal-controller.yaml b/infra/helm/graphrag/templates/graphrag-nginx-internal-controller.yaml index 95cfc5c..23510b1 100644 --- a/infra/helm/graphrag/templates/graphrag-nginx-internal-controller.yaml +++ b/infra/helm/graphrag/templates/graphrag-nginx-internal-controller.yaml @@ -1,3 +1,4 @@ +{{- if .Values.ingress.createIngressClass -}} apiVersion: approuting.kubernetes.azure.com/v1alpha1 kind: NginxIngressController metadata: @@ -9,3 +10,4 @@ spec: loadBalancerAnnotations: {{- toYaml . | nindent 4 }} {{- end }} +{{- end }} \ No newline at end of file diff --git a/infra/helm/graphrag/values.yaml b/infra/helm/graphrag/values.yaml index 405e59e..46f2e95 100644 --- a/infra/helm/graphrag/values.yaml +++ b/infra/helm/graphrag/values.yaml @@ -18,6 +18,7 @@ serviceAccount: ingress: enabled: true className: nginx-internal + createIngressClass: true host: graphrag.graphrag.io tls: [] annotations: