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:
79
79
alb.ingress.kubernetes.io/listen-ports : ' [{"HTTP": 80}, {"HTTPS": 443}]'
80
80
alb.ingress.kubernetes.io/ssl-redirect : " 443"
81
81
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 }}
82
88
external-dns.alpha.kubernetes.io/hostname : example-app.{{ .Values.platform.default_ingress_domain }}
83
89
outputs.platform.cloudposse.com/webapp-url : " https://example-app.{{ .Values.platform.default_ingress_domain }}/dashboard"
84
90
hosts :
85
91
" example-app.{{ .Values.platform.default_ingress_domain }} " : /*
92
+ {{- end }}
86
93
87
94
probes :
88
95
# Probe that ensures service is healthy
You can’t perform that action at this time.
0 commit comments