Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K8SPSMDB-491 add custom issuer options #131

Merged
merged 3 commits into from
May 24, 2024
Merged
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
48 changes: 40 additions & 8 deletions docs/operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,6 @@ The [policy used to update images :octicons-link-external-16:](https://kubernet
| ----------- | ---------- |
| :material-code-string: string | `Always` |

### `tls.certValidityDuration`

The validity duration of the external certificate for cert manager (90 days by default). This value is used only at cluster creation time and can’t be changed for existing clusters.

| Value type | Example |
| ----------- | ---------- |
| :material-code-string: string | `2160h` |

### `imagePullSecrets.name`

The [Kubernetes ImagePullSecret :octicons-link-external-16:](https://kubernetes.io/docs/concepts/configuration/secret/#using-imagepullsecrets) to access the [custom registry](custom-registry.md#custom-registry).
Expand Down Expand Up @@ -160,6 +152,46 @@ The cluster domain to be used as a suffix for [multi-cluster Services](replicati
| ----------- | ---------- |
| :material-code-string: string | `svc.clusterset.local` |

### <a name="operator-issuerconf-section"></a>TLS (extended cert-manager configuration section)

The `tls` section in the [deploy/cr.yaml :octicons-link-external-16:](https://github.com/percona/percona-server-mongodb-operator/blob/main/deploy/cr.yaml) file contains various configuration options for additional customization of the [Transport Layer Security](TLS.md).

### `tls.certValidityDuration`

The validity duration of the external certificate for cert manager (90 days by default). This value is used only at cluster creation time and can’t be changed for existing clusters.

| Value type | Example |
| ----------- | ---------- |
| :material-code-string: string | `2160h` |

### `tls.allowInvalidCertificates`

If enabled, `--tlsAllowInvalidCertificates` MongoDB Shell option will be set to true, [bypassing checks for the certificates presented by the mongod/mongos instance :octicons-link-external-16:](https://www.mongodb.com/docs/mongodb-shell/reference/options/#std-option-mongosh.--tlsAllowInvalidCertificates) (`true` by default to allow self-signed certificates generated by the Operator).

| Value type | Example |
| ----------- | ---------- |
| :material-toggle-switch-outline: boolean | `true` |

### 'tls.issuerConf.name'

A [cert-manager issuer name :octicons-link-external-16:](https://cert-manager.io/docs/concepts/issuer/).

| Value type | Example |
| ----------- | ---------- |
| :material-code-string: string | `special-selfsigned-issuer` |

### 'tls.issuerConf.kind'

A [cert-manager issuer type :octicons-link-external-16:](https://cert-manager.io/docs/configuration/).

### 'tls.issuerConf.group'

A [cert-manager issuer group :octicons-link-external-16:](https://cert-manager.io/docs/configuration/). Should be `cert-manager.io` for built-in cert-manager certificate issuers.

| Value type | Example |
| ----------- | ---------- |
| :material-code-string: string | `cert-manager.io` |

## <a name="operator-upgradeoptions-section"></a>Upgrade Options Section

The `upgradeOptions` section in the [deploy/cr.yaml :octicons-link-external-16:](https://github.com/percona/percona-server-mongodb-operator/blob/main/deploy/cr.yaml) file contains various configuration options to control Percona Server for MongoDB upgrades.
Expand Down