Skip to content

Commit 85ac288

Browse files
ArnobKumarSahatamalsaha
authored andcommitted
update
Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
1 parent cd6c2c3 commit 85ac288

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

charts/ace/templates/ingress/issuer.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,19 @@ spec:
7070
{{- else }}
7171
# Use ACEM http challenge for everything else
7272
http01:
73+
{{ if (index .Values "setupJob" "config" "selfManagement" "useGateway") }}
7374
gatewayHTTPRoute:
7475
parentRefs:
7576
- group: gateway.networking.k8s.io
7677
kind: Gateway
7778
name: {{ include "ace.fullname" . }}
7879
namespace: {{ .Release.Namespace }}
7980
sectionName: api
81+
{{- else }}
8082
ingress:
8183
ingressClassName: {{ index .Values "ingress-nginx" "controller" "ingressClassResource" "name" }}
8284
serviceType: ClusterIP
85+
{{- end }}
8386
{{- end }}
8487
{{- end }}
8588
{{- end }}

0 commit comments

Comments
 (0)