-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathnetlify.toml
118 lines (108 loc) · 3.19 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[build]
command = """
hugo --minify
"""
[build.environment]
GO_VERSION = "1.22.1"
HUGO_VERSION = "0.124.1"
[context.deploy-preview]
command = """
hugo --minify --gc -b $DEPLOY_PRIME_URL
"""
[[redirects]]
from = "/categories"
to = "/categories/index.xml"
status = 200
[[redirects]]
from = "/categories/*"
to = "/categories/:splat/index.xml"
status = 200
[[redirects]]
from = "/tags"
to = "/tags/index.xml"
status = 200
[[redirects]]
from = "/tags/*"
to = "/tags/:splat/index.xml"
status = 200
[[redirects]]
from = "/docs/reference/*"
to = "/docs/kluctl/reference/:splat"
[[redirects]]
from = "/docs/concepts"
to = "/docs/kluctl/concepts"
[[redirects]]
from = "/docs/get-started"
to = "/docs/kluctl/get-started"
[[redirects]]
from = "/docs/history"
to = "/docs/kluctl/history"
[[redirects]]
from = "/docs/installation"
to = "/docs/kluctl/installation"
[[redirects]]
from = "/docs/philosophy"
to = "/docs/kluctl/philosophy"
[[redirects]]
from = "/docs/flux/*"
to = "/docs/gitops"
[[redirects]]
from = "/docs/kluctl/concepts"
to = "/docs/kluctl"
[[redirects]]
from = "/docs/kluctl/history"
to = "/docs/kluctl"
[[redirects]]
from = "/docs/kluctl/philosophy"
to = "/docs/kluctl"
[[redirects]]
from = "/docs/kluctl/reference/gitops/*"
to = "/docs/gitops/:splat"
[[redirects]]
from = "/docs/kluctl/reference/*"
to = "/docs/kluctl/:splat"
# These are required due to the move from kluctl.io/blog -> blog.kluctl.io (hosted on medium) and then back to kluctl.io/blog
[[redirects]]
from = "/managing-cluster-api-with-kluctl*"
to = "https://kluctl.io/blog/2024/03/13/cluster-api-kluctl"
[[redirects]]
from = "/introducing-the-kluctl-webui*"
to = "https://kluctl.io/blog/2023/09/12/introducing-the-kluctl-webui"
[[redirects]]
from = "/managing-many-helm-charts-with-kluctl*"
to = "https://kluctl.io/blog/2023/02/28/managing-many-helm-charts-with-kluctl"
[[redirects]]
from = "/introducing-the-template-controller-and-building-gitops-preview-environments*"
to = "https://kluctl.io/blog/2022/12/28/template-controller"
[[redirects]]
from = "/templating-in-kustomize-with-kluctl-style-deploy-and-diff*"
to = "https://kluctl.io/blog/2022/11/17/templating-and-diffs-with-kustomize"
[[redirects]]
from = "/multiple-environments-with-flux-and-kluctl*"
to = "https://kluctl.io/blog/2022/06/03/multiple-environments-with-flux-and-kluctl"
[[redirects]]
from = "/rethinking-kubernetes-configuration-management*"
to = "https://kluctl.io/blog/2022/05/16/rethinking-kubernetes-configuration-management"
[[redirects]]
from = "/kluctl-and-flux*"
to = "https://kluctl.io/blog/2022/05/11/kluctl-and-flux"
# try to make google search console shut up about these
[[redirects]]
from = "https://blog.kluctl.io/robots.txt"
to = "https://kluctl.io/robots.old-blog-subdomain.txt"
status = 200
force = true
[[redirects]]
from = "http://blog.kluctl.io/*"
to = "https://kluctl.io/blog/"
status = 301
force = true
[[redirects]]
from = "https://blog.kluctl.io/*"
to = "https://kluctl.io/blog/"
status = 301
force = true
# fixed a typo
[[redirects]]
from = "/blog/2024/07/31/argcd-and-flux-vs-kluctl/"
to = "https://kluctl.io/blog/2024/07/31/argocd-and-flux-vs-kluctl/"