diff --git a/swh-graphql/templates/ingress.yaml b/swh-graphql/templates/ingress.yaml index 3b05ab8..a9bf188 100644 --- a/swh-graphql/templates/ingress.yaml +++ b/swh-graphql/templates/ingress.yaml @@ -1,23 +1,24 @@ {{ if .Values.enableIngress }} apiVersion: networking.k8s.io/v1 kind: Ingress metadata: + namespace: {{ .Values.namespace }} name: graphql annotations: nginx.ingress.kubernetes.io/rewrite-target: / spec: {{- if .Values.ingressClassName }} ingressClassName: {{ .Values.ingressClassName }} {{- end }} rules: - host: {{ .Values.ingressHost }} http: paths: - path: {{ .Values.ingressHttpPath }} pathType: Prefix backend: service: name: graphql port: number: 5013 {{ end }}