Skip to content

Commit 10db3ee

Browse files
committed
search: remove canonical cert given CDN with origin TLS to FQDN
Make the temporary change indefinite for now.
1 parent bab8bc4 commit 10db3ee

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
profile::certbot::certificates:
2-
search:
3-
domains:
4-
# Skip canonical host while setting up
5-
# - typesense.jquery.com
6-
- "%{::facts.networking.fqdn}"
7-
81
# https://github.com/jquery/infrastructure-puppet/issues/36
92
# profile::typesense::api_key: "0.25.2"

hieradata/roles/search.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@
77
profile::certbot::certificates:
88
search:
99
domains:
10-
- typesense.jquery.com
1110
- "%{::facts.networking.fqdn}"
11+
# Keep canonical name commented out, because we serve it via CDN
12+
# which has its own cert (and connects to origin via TLS using the FQDN).
13+
# By not redundantly generating the canonical cert here as well,
14+
# we ease provisioning new instances which otherwise requires removing it
15+
# temporary during setup and then re-adding after switching traffic as
16+
# otherwise certbot can't reach itself.
17+
#
18+
# Comment this out if we need to serve directly without CDN
19+
# - typesense.jquery.com
1220

1321
profile::typesense::tls_key_name: search

0 commit comments

Comments
 (0)