-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsite.yaml
43 lines (35 loc) · 1.21 KB
/
site.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
domain: masterclasses.canonical.com
image: prod-comms.ps5.docker-registry.canonical.com/masterclasses.canonical.com
env:
- name: SENTRY_DSN
value: https://ac1f05d48419453ab98e9af52d0da6ae@sentry.is.canonical.com//35
- name: PRIVATE_KEY_ID
secretKeyRef:
key: private-key-id
name: masterclasses-canonical-com
- name: PRIVATE_KEY
secretKeyRef:
key: private-key
name: masterclasses-canonical-com
- name: DATABASE_URL
secretKeyRef:
key: masterclasses-database-url
name: masterclasses-canonical-com
# Overrides for production
production:
replicas: 2
nginxConfigurationSnippet: |
more_set_headers "Link: <https://assets.ubuntu.com>; rel=preconnect; crossorigin, <https://assets.ubuntu.com>; rel=preconnect";
# Overrides for staging
staging:
replicas: 2
nginxConfigurationSnippet: |
more_set_headers "X-Robots-Tag: noindex";
more_set_headers "Link: <https://assets.ubuntu.com>; rel=preconnect; crossorigin, <https://assets.ubuntu.com>; rel=preconnect";
tlsName: staging-masterclasses-canonical-com-tls
domain: staging.masterclasses.canonical.com
# Overrides for demo
demo:
env:
- name: OPENID_LAUNCHPAD_TEAM
value: canonical-content-people