File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -79,10 +79,17 @@ releases:
7979 alb.ingress.kubernetes.io/listen-ports : ' [{"HTTP": 80}, {"HTTPS": 443}]'
8080 alb.ingress.kubernetes.io/ssl-redirect : " 443"
8181 alb.ingress.kubernetes.io/target-type : ip
82+ {{- if eq .Environment.Name "preview" }}
83+ external-dns.alpha.kubernetes.io/hostname : example-app-pr-{{ .Namespace }}.{{ .Values.platform.default_ingress_domain }}
84+ outputs.platform.cloudposse.com/webapp-url : " https://example-app-pr-{{ .Namespace }}.{{ .Values.platform.default_ingress_domain }}/dashboard"
85+ hosts :
86+ " example-app-pr-{{ .Namespace }}.{{ .Values.platform.default_ingress_domain }} " : /*
87+ {{- else }}
8288 external-dns.alpha.kubernetes.io/hostname : example-app.{{ .Values.platform.default_ingress_domain }}
8389 outputs.platform.cloudposse.com/webapp-url : " https://example-app.{{ .Values.platform.default_ingress_domain }}/dashboard"
8490 hosts :
8591 " example-app.{{ .Values.platform.default_ingress_domain }} " : /*
92+ {{- end }}
8693
8794 probes :
8895 # Probe that ensures service is healthy
You can’t perform that action at this time.
0 commit comments