Skip to content

Commit

Permalink
minor fixes (#2489)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber authored Feb 29, 2024
1 parent 1ee186d commit 41b42d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ Example:
--meta nebula-metad-0.nebula-metad-headless.nebula.svc.cluster.local:9559 # The address of the Metad service.
--storage gs://BUCKET_NAME # The name of the GCS bucket where the backup data is stored.
--gs.credentials '{"type":"service_account","project_id":"<project_id>","project_key":"<project_key>","private_key":"<private_key>","client_email":"<service_account_email>","client_id":"<client_id>","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_x509_cert_url":"https://www.googleapis.com/robot/v1/metadata/x509/<service_account_email>","universe_domain":"googleapis.com"}'# The JSON string that represents your service account key provided by Google Cloud.
``` -->
```
-->

### Incremental backup

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ The following only lists the fields that must be configured to enable mTLS with
clientCert: "tls.crt" # The key name of the certificate in the client certificate Secret, default is "tls.crt".
clientKey: "tls.key" # The key name of the private key in the client certificate Secret, default is "tls.key".
caSecret: "ca-cert" # The name of the CA certificate Secret.
caCert: "tls.crt" # The key name of the certificate in the CA certificate Secret, default is "tls.crt".
caCert: "tls.crt" # The key name of the certificate in the CA certificate Secret, default is "ca.crt".
```

Ensure that the keys for the certificates and private keys in the created Secret match the values of the `clientCert`, `clientKey`, and `caCert` fields in `spec.sslCerts`. If you've created a Secret of the TLS type, the default key names are `tls.crt` and `tls.key` for the certificate and private key. In this case, you'll need to manually configure `caCert` field with `ca.crt`.
Expand Down Expand Up @@ -521,19 +521,6 @@ The following only lists the fields that must be configured to enable mTLS with
enable_storage_ssl: "true"
```

To enable mTLS between the client and the Graph service, add the following fields under the `spec.graphd.config` in the cluster configuration file. The paths specified in fields with `*_path` correspond to file paths relative to `/user/local/nebula`. **It's important to avoid using absolute paths to prevent path recognition errors.**

```yaml
spec:
graph:
config:
ca_client_path: certs/root.crt
ca_path: certs/root.crt
cert_path: certs/server.crt
key_path: certs/server.key
enable_graph_ssl: "true"
```

#### `initContainers`, `sidecarContainers`, `volumes`, and `volumeMounts`

`initContainers`, `sidecarContainers`, `volumes`, and `volumeMounts` fields are essential for implementing mTLS certificate online hot-reloading.
Expand Down

0 comments on commit 41b42d8

Please sign in to comment.