Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ displayed_sidebar: docsEnglish

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import CertificateManagement from '/src/components/en-us/_certificate-management.mdx';

This document explains how to create your custom values file for the Scalar Envoy chart. If you want to know the details of the parameters, please refer to the [README](https://github.com/scalar-labs/helm-charts/blob/main/charts/envoy/README.md) of the Scalar Envoy chart.

Expand Down Expand Up @@ -166,50 +167,7 @@ You can enable TLS in:
- Downstream connections between the client and Scalar Envoy.
- Upstream connections between Scalar Envoy and Scalar products.

In addition, you have several options from the following two perspectives:

1. Management of private key and certificate files
1. Manage your private key and certificate files automatically by using [cert-manager](https://cert-manager.io/docs/).
- You can reduce maintenance or operation costs. For example, cert-manager automatically renews certificates before they expire and Scalar Helm Chart automatically mounts private key and certificate files on the Scalar product pods.
- You cannot use a CA that cert-manager does not support. You can see the supported issuer in the [cert-manager documentation](https://cert-manager.io/docs/configuration/issuers/).
1. Manage your private key and certificate files manually.
- You can issue and manage your private key and certificate files by using your preferred method on your own.
- You can use any certificate even if cert-manager does not support it.
- You must update secret resources when certificates expire.
1. Kinds of certificates
1. Use a trusted CA (signed certificate by third party).
- You can use trusted certificates from a third-party certificate issuer.
- You can encrypt packets.
- You must pay costs to issue trusted certificates.
1. Use self-signed certificates.
- You can reduce costs to issue certificates.
- Reliability of certificates is lower than a trusted CA, but you can encrypt packets.

In other words, you have the following four options:

1. Use a self-signed CA with automatic management.
1. Use a trusted CA with automatic management.
1. Use a self-signed CA with manual management.
1. Use a trusted CA with manual management.

You should consider which method you use based on your security requirements. For guidance and related documentation for each method, refer to the following decision tree:

```mermaid
flowchart TD
A[Do you want to use <br /><a href='https://cert-manager.io/docs/'>cert-manager</a> to manage your <br />private key and certificate <br />files automatically?]
A -->|Yes, I want to manage my <br />certificates automatically.| B
A -->|No, I want to manage my <br />certificates manually by myself.| C
B[Do you want to use a <br />self-signed CA or a trusted CA?]
C[Do you want to use a <br />self-signed CA or a trusted CA?]
B -->|I want to use a <br />self-signed CA.| D
B -->|I want to use a <br />trusted CA.| E
C -->|I want to use a <br />self-signed CA.| F
C -->|I want to use a <br />trusted CA.| G
D[See the <a href='#use-a-self-signed-ca-with-cert-manager-to-manage-your-private-key-and-certificate-files'>Use a self-signed <br />CA with cert-manager to <br />manage your private key and <br />certificate files</a> section.]
E[See the <a href='#use-a-trusted-ca-with-cert-manager-to-manage-your-private-key-and-certificate-files'>Use a trusted <br />CA with cert-manager to <br />manage private key and <br />certificate files</a> section.]
F[See the <a href='#use-your-private-key-and-certificate-files'>Use your private <br />key and certificate files</a> <br />section, and use the self-signed <br />certificate you generated.]
G[See the <a href='#use-your-private-key-and-certificate-files'>Use your private key <br />and certificate files</a> section, <br />and use the trusted certificate <br />generated by the third party.]
```
<CertificateManagement />

#### Enable TLS in downstream connections

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ displayed_sidebar: docsEnglish

# Configure a custom values file for ScalarDB Cluster

import CertificateManagement from '/src/components/en-us/_certificate-management.mdx';

This document explains how to create your custom values file for the ScalarDB Cluster chart. For details on the parameters, see the [README](https://github.com/scalar-labs/helm-charts/blob/main/charts/scalardb-cluster/README.md) of the ScalarDB Cluster chart.

## Required configurations
Expand Down Expand Up @@ -151,26 +153,7 @@ You can enable TLS in:
- The communications between the ScalarDB Cluster node and clients.
- The communications between all ScalarDB Cluster nodes (the cluster's internal communications).

In addition, you have several options for certificate management. For more details, see [TLS configurations for Envoy](./configure-custom-values-envoy.mdx#tls-configurations-optional-based-on-your-environment).

You should consider which method you use based on your security requirements. For guidance and related documentation for each method, refer to the following decision tree:

```mermaid
flowchart TD
A[Do you want to use <br /><a href='https://cert-manager.io/docs/'>cert-manager</a> to manage your <br />private key and certificate <br />files automatically?]
A -->|Yes, I want to manage my <br />certificates automatically.| B
A -->|No, I want to manage my <br />certificates manually by myself.| C
B[Do you want to use a <br />self-signed CA or a trusted CA?]
C[Do you want to use a <br />self-signed CA or a trusted CA?]
B -->|I want to use a <br />self-signed CA.| D
B -->|I want to use a <br />trusted CA.| E
C -->|I want to use a <br />self-signed CA.| F
C -->|I want to use a <br />trusted CA.| G
D[See the <a href='#use-a-self-signed-ca-with-cert-manager-to-manage-your-private-key-and-certificate-files'>Use a self-signed <br />CA with cert-manager to <br />manage your private key and <br />certificate files</a> section.]
E[See the <a href='#use-a-trusted-ca-with-cert-manager-to-manage-your-private-key-and-certificate-files'>Use a trusted <br />CA with cert-manager to <br />manage private key and <br />certificate files</a> section.]
F[See the <a href='#use-your-private-key-and-certificate-files'>Use your private <br />key and certificate files</a> <br />section, and use the self-signed <br />certificate you generated.]
G[See the <a href='#use-your-private-key-and-certificate-files'>Use your private key <br />and certificate files</a> section, <br />and use the trusted certificate <br />generated by the third party.]
```
<CertificateManagement />

#### Enable TLS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ displayed_sidebar: docsEnglish

# Configure a custom values file for ScalarDL Auditor

import CertificateManagement from '/src/components/en-us/_certificate-management.mdx';

This document explains how to create your custom values file for the ScalarDL Auditor chart. If you want to know the details of the parameters, please refer to the [README](https://github.com/scalar-labs/helm-charts/blob/main/charts/scalardl-audit/README.md) of the ScalarDL Auditor chart.

## Required configurations
Expand Down Expand Up @@ -166,26 +168,7 @@ You can enable TLS in:
- The communications between the ScalarDL Auditor and clients.
- The communications between the ScalarDL Ledger and ScalarDL Auditor.

In addition, you have several options for certificate management. For more details, see [TLS configurations for Envoy](./configure-custom-values-envoy.mdx#tls-configurations-optional-based-on-your-environment).

You should consider which method you use based on your security requirements. For guidance and related documentation for each method, refer to the following decision tree:

```mermaid
flowchart TD
A[Do you want to use <br /><a href='https://cert-manager.io/docs/'>cert-manager</a> to manage your <br />private key and certificate <br />files automatically?]
A -->|Yes, I want to manage my <br />certificates automatically.| B
A -->|No, I want to manage my <br />certificates manually by myself.| C
B[Do you want to use a <br />self-signed CA or a trusted CA?]
C[Do you want to use a <br />self-signed CA or a trusted CA?]
B -->|I want to use a <br />self-signed CA.| D
B -->|I want to use a <br />trusted CA.| E
C -->|I want to use a <br />self-signed CA.| F
C -->|I want to use a <br />trusted CA.| G
D[See the <a href='#use-a-self-signed-ca-with-cert-manager-to-manage-your-private-key-and-certificate-files'>Use a self-signed <br />CA with cert-manager to <br />manage your private key and <br />certificate files</a> section.]
E[See the <a href='#use-a-trusted-ca-with-cert-manager-to-manage-your-private-key-and-certificate-files'>Use a trusted <br />CA with cert-manager to <br />manage private key and <br />certificate files</a> section.]
F[See the <a href='#use-your-private-key-and-certificate-files'>Use your private <br />key and certificate files</a> <br />section, and use the self-signed <br />certificate you generated.]
G[See the <a href='#use-your-private-key-and-certificate-files'>Use your private key <br />and certificate files</a> section, <br />and use the trusted certificate <br />generated by the third party.]
```
<CertificateManagement />

#### Enable TLS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ displayed_sidebar: docsEnglish

# Configure a custom values file for ScalarDL Ledger

import CertificateManagement from '/src/components/en-us/_certificate-management.mdx';

This document explains how to create your custom values file for the ScalarDL Ledger chart. If you want to know the details of the parameters, please refer to the [README](https://github.com/scalar-labs/helm-charts/blob/main/charts/scalardl/README.md) of the ScalarDL Ledger chart.

## Required configurations
Expand Down Expand Up @@ -166,26 +168,7 @@ You can enable TLS in:
- The communications between the ScalarDL Ledger and clients.
- The communications between the ScalarDL Ledger and ScalarDL Auditor.

Also, you have several options from the certificate management. See [TLS configurations on the Envoy document side](./configure-custom-values-envoy.mdx#tls-configurations-optional-based-on-your-environment) for more details.

Please consider which you use based on your security requirements. According to your decision, you can see the related document as follows:

```mermaid
flowchart TD
A[Do you want to use <br /><a href='https://cert-manager.io/docs/'>cert-manager</a> to manage your <br />private key and certificate <br />files automatically?]
A -->|Yes, I want to manage my <br />certificates automatically.| B
A -->|No, I want to manage my <br />certificates manually by myself.| C
B[Do you want to use a <br />self-signed CA or a trusted CA?]
C[Do you want to use a <br />self-signed CA or a trusted CA?]
B -->|I want to use a <br />self-signed CA.| D
B -->|I want to use a <br />trusted CA.| E
C -->|I want to use a <br />self-signed CA.| F
C -->|I want to use a <br />trusted CA.| G
D[See the <a href='#use-a-self-signed-ca-with-cert-manager-to-manage-your-private-key-and-certificate-files'>Use a self-signed <br />CA with cert-manager to <br />manage your private key and <br />certificate files</a> section.]
E[See the <a href='#use-a-trusted-ca-with-cert-manager-to-manage-your-private-key-and-certificate-files'>Use a trusted <br />CA with cert-manager to <br />manage private key and <br />certificate files</a> section.]
F[See the <a href='#use-your-private-key-and-certificate-files'>Use your private <br />key and certificate files</a> <br />section, and use the self-signed <br />certificate you generated.]
G[See the <a href='#use-your-private-key-and-certificate-files'>Use your private key <br />and certificate files</a> section, <br />and use the trusted certificate <br />generated by the third party.]
```
<CertificateManagement />

#### Enable TLS

Expand Down
Loading