-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
netlify.toml
33 lines (28 loc) · 902 Bytes
/
netlify.toml
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
# Netlify build instructions
[build]
command = "make -C docs/book build"
publish = "docs/book/book"
[build.environment]
GO_VERSION = "1.22.4"
# Standard Netlify redirects
[[redirects]]
from = "https://main--kubernetes-sigs-cluster-api.netlify.com/*"
to = "https://main.cluster-api.sigs.k8s.io/:splat"
status = 301
force = true
# HTTP-to-HTTPS rules
[[redirects]]
from = "http://main.cluster-api.sigs.k8s.io/*"
to = "https://main.cluster-api.sigs.k8s.io/:splat"
status = 301
force = true
[[redirects]]
from = "http://main--kubernetes-sigs-cluster-api.netlify.com/*"
to = "http://main.cluster-api.sigs.k8s.io/:splat"
status = 301
force = true
[[headers]]
for = "/tasks/experimental-features/runtime-sdk/runtime-sdk-openapi.yaml"
[headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Methods = "*"