Skip to content

Commit

Permalink
Merge pull request #668 from Netcracker/PSUPCLPL-15568
Browse files Browse the repository at this point in the history
[PSUPCLPL-15568] Certificate specification
  • Loading branch information
koryaga authored Jun 3, 2024
2 parents 3662544 + 7a06f68 commit d449e95
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions documentation/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4249,7 +4249,7 @@ The certificate and key are provided using one of the following two formats:
* The `controller.ssl.default-certificate.data` format is used to provide a certificate and a key inplace in the pem format:

```yaml
nginx-ingress-controller:
nginx-ingress-controller:
controller:
ssl:
default-certificate:
Expand All @@ -4267,14 +4267,26 @@ The certificate and key are provided using one of the following two formats:
* The `controller.ssl.default-certificate.paths` format is used to provide a certificate and a key as paths to the pem files:

```yaml
nginx-ingress-controller:
nginx-ingress-controller:
controller:
ssl:
default-certificate:
paths:
cert: /path/to/cert
key: /path/to/key
```

If the intermediate certificate should be specified, set it in `/path/to/cert` file or in `nginx-ingress-controller.controller.ssl.default-certificate.data.cert` option after the default ingress certificate:

```
-----BEGIN CERTIFICATE-----
<Default ingress certificate>
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
<Intermediate certificate>
-----END CERTIFICATE-----
```

* The `config_map` parameter is used to customize or fine tune NGINX behavior. Before proceeding, refer to the [Official NGINX Ingress Controller documentation](https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/)
For example:
```yaml
Expand Down

0 comments on commit d449e95

Please sign in to comment.