Skip to content

Commit 9883691

Browse files
authored
revert: docusaurus v3 (#4279)
1 parent 024ac25 commit 9883691

File tree

843 files changed

+5539
-10025
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

843 files changed

+5539
-10025
lines changed

website/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ Smaller chunks are usually fine. But for anything more that 10 lines it is
128128
neater to wrap it.
129129
130130
~~~markdown
131-
<details>
132-
<summary>Expand to see this awesome HelmRepository</summary>
131+
<details><summary>Expand to see this awesome HelmRepository</summary>
133132
134133
Don't forget to leave a line break below the opening tag...
135134
```yaml
@@ -142,8 +141,7 @@ and before the closing one.
142141
</details>
143142
~~~
144143
145-
<details>
146-
<summary>Expand to see this awesome HelmRepository</summary>
144+
<details><summary>Expand to see this awesome HelmRepository</summary>
147145
148146
Don't forget to leave a line break below the opening tag...
149147
```

website/docs/cluster-management/deploying-capa-eks.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ import WegoAdmin from "!!raw-loader!./assets/rbac/wego-admin.yaml";
6060
)}
6161
</BrowserOnly>
6262

63-
<details>
64-
<summary>Expand to see full template yaml</summary>
63+
<details><summary>Expand to see full template yaml</summary>
6564

6665
<CodeBlock
6766
title="clusters/bases/rbac/wego-admin.yaml"
@@ -128,8 +127,7 @@ Download the config with:
128127

129128
Then update the `GITOPS_REPO` variable to point to your cluster
130129

131-
<details>
132-
<summary>Expand to see full yaml</summary>
130+
<details><summary>Expand to see full yaml</summary>
133131

134132
<CodeBlock
135133
title="clusters/management/capi/boostrap/capi-gitops-cluster-bootstrap-config.yaml"

website/docs/cluster-management/managing-clusters-without-capi.mdx

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ import BrowserOnly from "@docusaurus/BrowserOnly";
1515
You do **not** need Cluster API to add your Kubernetes cluster to Weave GitOps Enterprise. The only thing you need is a secret containing a valid `kubeconfig`.
1616

1717
import TOCInline from "@theme/TOCInline";
18-
19-
<TOCInline />;
18+
<TOCInline />
2019

2120
<Tabs groupId="have-a-secret" default>
2221
<TabItem value="existing-kubeconfig-secret" label="Existing kubeconfig">
@@ -49,8 +48,7 @@ Here's how to create a kubeconfig secret.
4948

5049
2. Add RBAC permissions for the service account:
5150

52-
<details>
53-
<summary>Expand to see role manifests</summary>
51+
<details><summary>Expand to see role manifests</summary>
5452

5553
```yaml
5654
---
@@ -105,8 +103,7 @@ Here's how to create a kubeconfig secret.
105103

106104
4. Create a kubeconfig secret. We'll use a helper script to generate the kubeconfig, and then save it into `static-kubeconfig.sh`:
107105

108-
<details>
109-
<summary>Expand to see script</summary>
106+
<details><summary>Expand to see script</summary>
110107

111108
```bash title="static-kubeconfig.sh"
112109
#!/bin/bash
@@ -218,8 +215,7 @@ Download the config with:
218215
219216
Then update the `GITHUB_USER` variable to point to your repository
220217
221-
<details>
222-
<summary>Expand to see full yaml</summary>
218+
<details><summary>Expand to see full yaml</summary>
223219
224220
<CodeBlock
225221
title="clusters/management/capi/boostrap/capi-gitops-cluster-bootstrap-config.yaml"
@@ -248,8 +244,7 @@ import WegoAdmin from "!!raw-loader!./assets/rbac/wego-admin.yaml";
248244
)}
249245
</BrowserOnly>
250246
251-
<details>
252-
<summary>Expand to see full template yaml</summary>
247+
<details><summary>Expand to see full template yaml</summary>
253248
254249
<CodeBlock
255250
title="clusters/bases/rbac/wego-admin.yaml"
@@ -304,8 +299,7 @@ Once Flux has reconciled the cluster, you can inspect your Flux resources via th
304299
305300
To test that your kubeconfig secret is correctly set up, apply the following manifest and check the logs after the job completes:
306301
307-
<details>
308-
<summary>Expand to see manifest</summary>
302+
<details><summary>Expand to see manifest</summary>
309303
310304
```yaml
311305
---

website/docs/enterprise/getting-started/install-enterprise-airgap.mdx

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ We are going to install [ChartMuseum](https://chartmuseum.com/) via Flux.
8080
Remember to also install helm plugin
8181
[cm-push](https://github.com/chartmuseum/helm-push).
8282

83-
<details>
84-
<summary>Expand to see installation yaml</summary>
83+
<details><summary>Expand to see installation yaml</summary>
8584

8685
```yaml
8786
---
@@ -191,8 +190,7 @@ EOF
191190
```
192191
Execute `make` using the following makefile to intialise CAPI in your cluster:
193192

194-
<details>
195-
<summary>Expand to see Makefile contents</summary>
193+
<details><summary>Expand to see Makefile contents</summary>
196194

197195
```makefile
198196
.PHONY := capi
@@ -239,8 +237,7 @@ capi-cluster:
239237

240238
Apply the following example manifest to deploy the Terraform Controller:
241239

242-
<details>
243-
<summary>Expand to see file contents</summary>
240+
<details><summary>Expand to see file contents</summary>
244241

245242
```yaml
246243
apiVersion: source.toolkit.fluxcd.io/v1beta2
@@ -281,8 +278,7 @@ spec:
281278

282279
Update the following manifest to your context.
283280

284-
<details>
285-
<summary>Expand to see file contents</summary>
281+
<details><summary>Expand to see file contents</summary>
286282

287283
```yaml {4-7,19-20}
288284
---
@@ -426,8 +422,7 @@ ghcr.io/fluxcd/notification-controller:v0.25.2
426422
This section guides you to push installed artifacts to your private registry.
427423
Here's a Makefile to help you with each stage:
428424

429-
<details>
430-
<summary>Expand to see Makefile contents</summary>
425+
<details><summary>Expand to see Makefile contents</summary>
431426

432427
```makefile {4-6}
433428
.PHONY := all
@@ -498,8 +493,7 @@ Follow the instructions to install WGE with the following considerations:
498493

499494
An example of how it would look for Weave GitOps Enterprise is shown below.
500495

501-
<details>
502-
<summary>Expand to view example WGE manifest</summary>
496+
<details><summary>Expand to view example WGE manifest</summary>
503497

504498
```yaml title="weave-gitops-enterprise.yaml" {21-24,32}
505499
---

website/docs/enterprise/getting-started/install-enterprise.mdx

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,7 @@ kubectl create secret generic github-client \
256256

257257
Use `HelmRepository` and `HelmRelease` objects to let Flux deploy everything.
258258

259-
<details>
260-
<summary>Expand to see resource manifests</summary>
259+
<details><summary>Expand to see resource manifests</summary>
261260

262261
```yaml
263262
---
@@ -369,8 +368,7 @@ the user.
369368

370369
Based on these groups, we can bind roles to groups:
371370

372-
<details>
373-
<summary>Expand to see group role bindings</summary>
371+
<details><summary>Expand to see group role bindings</summary>
374372

375373
```yaml
376374
---
@@ -418,8 +416,7 @@ rules:
418416

419417
In the same way, we can bind cluster roles to a group:
420418

421-
<details>
422-
<summary>Expand to see group cluster role bindings</summary>
419+
<details><summary>Expand to see group cluster role bindings</summary>
423420

424421
```yaml
425422
---
@@ -795,8 +792,7 @@ cluster client (and vice versa).
795792

796793
The yaml to configure these permissions would look roughly like:
797794

798-
<details>
799-
<summary>Expand to see example RBAC</summary>
795+
<details><summary>Expand to see example RBAC</summary>
800796

801797
```yaml
802798
# Admin cluster role
@@ -1061,8 +1057,7 @@ Download the helm-release to `clusters/management/weave-gitops-enterprise.yaml`.
10611057
import ExampleWGE from "../../assets/example-enterprise-helm.yaml";
10621058
import ExampleWGEContent from "!!raw-loader!../../assets/example-enterprise-helm.yaml";
10631059

1064-
<details>
1065-
<summary>Expand to see file contents</summary>
1060+
<details><summary>Expand to see file contents</summary>
10661061

10671062
<CurlCodeBlock
10681063
localPath="clusters/management/weave-gitops-enterprise.yaml"

website/docs/enterprise/getting-started/join-cluster-azure-flux.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ If you already have Flux running, you can create the service account in your fle
5454

5555
1. Create a service account file:
5656

57-
<details>
58-
<summary>Expand to see role manifests</summary>
57+
<details><summary>Expand to see role manifests</summary>
5958

6059
```yaml
6160
apiVersion: v1
@@ -78,8 +77,7 @@ metadata:
7877
7978
2. Create a roles file:
8079
81-
<details>
82-
<summary>Expand to see role manifests</summary>
80+
<details><summary>Expand to see role manifests</summary>
8381
8482
```yaml
8583
apiVersion: rbac.authorization.k8s.io/v1
@@ -126,8 +124,7 @@ Kubernetes 1.24+ [will not create secrets for Service Accounts for you](https://
126124
127125
6. Create a kubeconfig secret. We'll use a helper script to generate the kubeconfig, and then save it into `static-kubeconfig.sh`:
128126

129-
<details>
130-
<summary>Expand to see script</summary>
127+
<details><summary>Expand to see script</summary>
131128

132129
```bash title="static-kubeconfig.sh"
133130
#!/bin/bash

website/docs/explorer/configuration.mdx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ To configure collection, you would need to extend this configuration with the fo
114114

115115
1. Create a ServiceAccount for the one that you specified in your [setup](#setup) `.spec.values.explorer.collector.serviceAccount`.
116116

117-
<details>
118-
<summary>Expand to see an example</summary>
117+
<details><summary>Expand to see an example</summary>
119118

120119
```yaml
121120
apiVersion: v1
@@ -130,8 +129,7 @@ metadata:
130129

131130
2. Create a ClusterRole with the permissions to watch the supported resources.
132131

133-
<details>
134-
<summary>Expand to see an example</summary>
132+
<details><summary>Expand to see an example</summary>
135133

136134
```yaml
137135
apiVersion: rbac.authorization.k8s.io/v1
@@ -160,8 +158,7 @@ rules:
160158

161159
3. Create a ClusterRolebinding to assign previous ClusterRole to the created collector `ServiceAccount`.
162160

163-
<details>
164-
<summary>Expand to see an example</summary>
161+
<details><summary>Expand to see an example</summary>
165162

166163
```yaml
167164
apiVersion: rbac.authorization.k8s.io/v1
@@ -184,8 +181,7 @@ If you want the collector to watch a particular namespace use a RoleBinding inst
184181

185182
4. Extend impersonation rules to allow service account impersonation for ServiceAccount `collector`
186183

187-
<details>
188-
<summary>Expand to see an example</summary>
184+
<details><summary>Expand to see an example</summary>
189185

190186
```yaml
191187
apiVersion: rbac.authorization.k8s.io/v1

website/docs/gitops-templates/profiles.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ Keys available in the `spec.charts.items` entries and the template variables ava
5151
| `required` | (default=false) Allow the user to de-select this profile |
5252
| `editable` | (default=false) Allow the user to edit the values.yaml of this profile |
5353

54-
<details>
55-
<summary>Expand for a complete yaml example</summary>
54+
<details><summary>Expand for a complete yaml example</summary>
5655

5756
```yaml
5857
spec:

website/docs/gitops-templates/quickstart-templates.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ github repo.
2020
To get started, add the following `HelmRelease` object to your Weave GitOps Enterprise
2121
configuration repo for your management cluster.
2222

23-
<details>
24-
<summary>Expand to view</summary>
23+
<details><summary>Expand to view</summary>
2524

2625
```yaml
2726
---

website/docs/gitops-templates/repo-rendered-paths.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ The path for rendered resources is configured via the
2222
- The path can be templated using params
2323
:::
2424

25-
<details>
26-
<summary>Expand to see example</summary>
25+
<details><summary>Expand to see example</summary>
2726

2827
```yaml
2928
spec:

0 commit comments

Comments
 (0)