diff --git a/helm/api7ee-demo-k8s/templates/ingress.yaml b/helm/api7ee-demo-k8s/templates/ingress.yaml index 99b8ea3..c6b30ae 100644 --- a/helm/api7ee-demo-k8s/templates/ingress.yaml +++ b/helm/api7ee-demo-k8s/templates/ingress.yaml @@ -5,10 +5,13 @@ metadata: name: {{ include "api7ee.fullname" . }} labels: {{- include "api7ee.labels" . | nindent 4 }} - {{- with .Values.ingress.annotations }} annotations: + {{- if .Values.ingress.dnsScope }} + dns-scope: {{ .Values.ingress.dnsScope | quote }} + {{- end }} + {{- with .Values.ingress.annotations }} {{- toYaml . | nindent 4 }} - {{- end }} + {{- end }} spec: {{- if .Values.ingress.className }} ingressClassName: {{ .Values.ingress.className }}