Refactor ingress annotations to include dns-scope conditionally
This commit is contained in:
@@ -5,8 +5,11 @@ 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 }}
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user