Skip to content

Commit bb943c3

Browse files
committed
Add navigation helpers to the end of the sections in the manual.
Add missing newlines in the test cases and samples.
1 parent 1aac145 commit bb943c3

25 files changed

+49
-22
lines changed

config/samples/client.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ spec:
9090
value: /var/dynamic-conf/lib
9191
volumeMounts:
9292
- name: dynamic-conf
93-
mountPath: /var/dynamic-conf
93+
mountPath: /var/dynamic-conf

config/samples/cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ kind: FoundationDBCluster
44
metadata:
55
name: sample-cluster
66
spec:
7-
version: 6.2.30
7+
version: 6.2.30

config/samples/restore.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ spec:
1515
# object store at `https://object-store.example:443`. It also assumes that you
1616
# have previously created a backup with the name `sample-cluster` using a
1717
# bucket named `fdb-backups`.
18-
backupURL: "blobstore://account@object-store.example:443/sample-cluster?bucket=fdb-backups"
18+
backupURL: "blobstore://account@object-store.example:443/sample-cluster?bucket=fdb-backups"

config/tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Most of these test cases are built using kustomize, and you can apply them by
99
using kubectl. Example: `kubectl apply -k config/tests/base`. The `multi_kc` and
1010
`multi_dc` test cases have special test scripts to support a multi-stage
1111
creation process. Example: `bash config/tests/multi_dc/create.bash`. Those
12-
directories also contain `apply.bash` and `delete.bash` scripts.
12+
directories also contain `apply.bash` and `delete.bash` scripts.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
bases:
22
- "../../base"
33
resources:
4-
- backup.yaml
4+
- backup.yaml
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
bases:
22
- "../stopped"
33
resources:
4-
- "restore.yaml"
4+
- "restore.yaml"

config/tests/backup/restore/restore.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ metadata:
44
name: test-cluster
55
spec:
66
destinationClusterName: test-cluster
7-
backupURL: "blobstore://minio@minio-service:9000/test-cluster?bucket=fdb-backups"
7+
backupURL: "blobstore://minio@minio-service:9000/test-cluster?bucket=fdb-backups"

config/tests/backup/stopped/backup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ kind: FoundationDBBackup
33
metadata:
44
name: test-cluster
55
spec:
6-
backupState: Stopped
6+
backupState: Stopped
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
bases:
22
- "../base"
33
patchesStrategicMerge:
4-
- backup.yaml
4+
- backup.yaml

config/tests/base/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# This file provides a basic cluster designed for local testing of the operator.
22
resources:
3-
- cluster.yaml
3+
- cluster.yaml
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
bases:
22
- "../base"
33
resources:
4-
- client.yaml
4+
- client.yaml

config/tests/multi_dc/create.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ applyFile $DIR/final.yaml dc3 $connectionString
2525

2626
checkReconciliationLoop test-cluster-dc1
2727
checkReconciliationLoop test-cluster-dc2
28-
checkReconciliationLoop test-cluster-dc3
28+
checkReconciliationLoop test-cluster-dc3

config/tests/multi_dc/delete.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#! /bin/bash
22

3-
kubectl delete fdb -l cluster-group=test-cluster
3+
kubectl delete fdb -l cluster-group=test-cluster

config/tests/multi_kc/create.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ applyFile $DIR/final.yaml dc3 $connectionString
2525

2626
checkReconciliationLoop test-cluster-dc1
2727
checkReconciliationLoop test-cluster-dc2
28-
checkReconciliationLoop test-cluster-dc3
28+
checkReconciliationLoop test-cluster-dc3

config/tests/multi_kc/delete.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#! /bin/bash
22

3-
kubectl delete fdb -l cluster-group=test-cluster
3+
kubectl delete fdb -l cluster-group=test-cluster

config/tests/tls/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ patchesJson6902:
77
group: apps.foundationdb.org
88
version: v1beta1
99
kind: FoundationDBCluster
10-
name: test-cluster
10+
name: test-cluster

config/tests/tls/tls.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@
3939
- op: add
4040
path: "/spec/sidecarContainer"
4141
value:
42-
enableTls: true
42+
enableTls: true

docs/manual/customization.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,4 +191,8 @@ You can build this kind of configuration easily from the sample deployment by ch
191191

192192
* Delete the configuration for the `WATCH_NAMESPACE` variable
193193
* Change the Roles to ClusterRoles
194-
* Change the RoleBindings to ClusterRoleBindings
194+
* Change the RoleBindings to ClusterRoleBindings
195+
196+
## Next
197+
198+
You can continue on to the [next section](fault_domains.md) or go back to the [table of contents](index.md).

docs/manual/fault_domains.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,4 +181,8 @@ operator does not yet create these automatically. To aid in creation of PDBs the
181181
operator preferentially selects coordinators from just storage pods, then if
182182
there are not enough storage pods, or the storage pods are not spread across
183183
enough fault domains it also considers log pods, and finally transaction pods as
184-
well.
184+
well.
185+
186+
## Next
187+
188+
You can continue on to the [next section](tls.md) or go back to the [table of contents](index.md).

docs/manual/getting_started.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,6 @@ Note that:
8787
* The name of the config map will depend on the name of your cluster.
8888
* For long-running applications you should ensure that your cluster file is writeable by your application.
8989

90+
## Next
91+
92+
You can continue on to the [next section](warnings.md) or go back to the [table of contents](index.md).

docs/manual/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ This document assumes that you are generally familiar with Kubernetes. For more
1212
1. [Scaling](scaling.md)
1313
1. [Customization](customization.md)
1414
1. [Controlling Fault Domains](fault_domains.md)
15-
1. [Running with TLS](tls.md)
15+
1. [Running with TLS](tls.md)

docs/manual/operations.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,7 @@ The name of a cluster is immutable, and it is included in the names of all of th
6565
4. Delete the `sample-cluster` resource.
6666

6767
At that point, you will be left with just the resources for `sample-cluster-2`. You can continue performing operations on `sample-cluster-2` as normal. You can also change or remove the `instanceIDPrefix` if you had to set it to a different value earlier in the process.
68+
69+
## Next
70+
71+
You can continue on to the [next section](scaling.md) or go back to the [table of contents](index.md).

docs/manual/scaling.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,8 @@ spec:
8888
storage: 5
8989
```
9090

91-
This will run the configuration command on the database, and may also add or remove processes to match the new configuration.
91+
This will run the configuration command on the database, and may also add or remove processes to match the new configuration.
92+
93+
## Next
94+
95+
You can continue on to the [next section](customization.md) or go back to the [table of contents](index.md).

docs/manual/tls.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,8 @@ If you want to run any clusters with TLS, you must configure the operator to sup
9595

9696
Connections to FDB will use the peer verification logic provided by the FDB client, which can be configured with peer verification rules in the same way as we support for the server. However, there is no mechanism to set these rules on a per-cluster basis, so it may not be beneficial to define them on the operator's side of the connection.
9797

98-
Connections to the sidecar will use the peer verification logic provided by go's tls library. This means that the sidecar's certificate must be valid for the pod's IP. You can disable verification for the connections to the sidecar by setting the environment variable `DISABLE_SIDECAR_TLS_CHECK=1` on the operator, but this will also disable the validation of the certificate chain, so it is not recommended to use this in real environments.
98+
Connections to the sidecar will use the peer verification logic provided by go's tls library. This means that the sidecar's certificate must be valid for the pod's IP. You can disable verification for the connections to the sidecar by setting the environment variable `DISABLE_SIDECAR_TLS_CHECK=1` on the operator, but this will also disable the validation of the certificate chain, so it is not recommended to use this in real environments.
99+
100+
## Next
101+
102+
You can go back to the [table of contents](index.md).

docs/manual/warnings.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,7 @@ The `podTemplate` field allows you to customize nearly every part of the pods th
4040
You should be careful when changing images, environment variables, commands, or arguments for the built-in containers. Your custom values may interfere with how the operator is using them. Even if you can make your usage work with the current version of the operator, subsequent releases of the operator may change its behavior in a way that introduces conflicts.
4141

4242
Other than the above, you can make any modifications to the pod definition you need to suit your requirements.
43+
44+
## Next
45+
46+
You can continue on to the [next section](operations.md) or go back to the [table of contents](index.md).

0 commit comments

Comments
 (0)