From 9ab8e2411668af960c45acd33abc945711771e25 Mon Sep 17 00:00:00 2001 From: Melvin Zottola <37779145+mzottola@users.noreply.github.com> Date: Mon, 22 Jul 2024 11:29:25 +0200 Subject: [PATCH] feat(cor-923) Add use_cdn flag to CustomDomain (#671) --- openapi.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index a7624307..055d3787 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -13482,6 +13482,13 @@ components: generate_certificate: type: boolean description: to control if a certificate has to be generated for this custom domain by Qovery. The default value is `true`. This flag should be set to `false` if a CDN or other entities are managing the certificate for the specified domain and the traffic is proxied by the CDN to Qovery. + use_cdn: + type: boolean + description: | + Indicates if the custom domain is behind a CDN (i.e Cloudflare). + This will condition the way we are checking CNAME before & during a deployment: + * If `true` then we only check the domain points to an IP + * If `false` then we check that the domain resolves to the correct service Load Balancer CustomDomainRequest: type: object required: @@ -13495,6 +13502,13 @@ components: generate_certificate: type: boolean description: to control if a certificate has to be generated for this custom domain by Qovery. The default value is `true`. This flag should be set to `false` if a CDN or other entities are managing the certificate for the specified domain and the traffic is proxied by the CDN to Qovery. + use_cdn: + type: boolean + description: | + Indicates if the custom domain is behind a CDN (i.e Cloudflare). + This will condition the way we are checking CNAME before & during a deployment: + * If `true` then we only check the domain points to an IP + * If `false` then we check that the domain resolves to the correct service Load Balancer CustomDomainResponseList: type: object properties: