Documenting TLS

This commit is contained in:
Laszlo Fogas
2020-11-12 12:57:08 +01:00
parent e4a7123e54
commit 0d4f3c1150
+20
View File
@@ -30,3 +30,23 @@ helm template my-release onechart/onechart -f values.yaml
!!! warning !!! warning
The Nginx ingress controller must be set up in your cluster for this setting to work. The Nginx ingress controller must be set up in your cluster for this setting to work.
## HTTPS
To reference a TLS secret use the `tlsEnabled` field. The deployment will point to a secret named: `tls-$.Release.Name`
```bash
cat << EOF > values.yaml
image:
repository: nginx
tag: 1.19.3
ingress:
annotations:
kubernetes.io/ingress.class: nginx
host: my-release.mycompany.com
tlsEnabled: true
EOF
helm template my-release onechart/onechart -f values.yaml
```