You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure ingress to make the OpenFaaS gateway and dashboard accessible to the users.
100
+
Follow the instructions below to set up TLS for the gateway and the dashboard using certificates from Let's Encrypt:
101
101
102
-
You will need to create two DNS entries for the domains the gateway and dashboard will be exposed at. These can either be on the public internet or kept within the internal network.
102
+
*[Setup TLS for OpenFaaS](https://docs.openfaas.com/reference/tls-openfaas)
103
103
104
-
The below instructions show how to set up Ingress with a TLS certificate using Ingress Nginx. You can also use any other ingress-controller, inlets-pro or an Istio Gateway.
105
-
106
-
Install [cert-manager](https://cert-manager.io/docs/), which is used to manage TLS certificates.
107
-
108
-
You can use Helm, or [arkade](https://github.com/alexellis/arkade):
109
-
110
-
```bash
111
-
arkade install cert-manager
112
-
```
113
-
114
-
Install ingress-nginx using arkade or Helm:
115
-
116
-
```bash
117
-
arkade install ingress-nginx
118
-
```
119
-
120
-
Istio, and other solutions for Ingress will also work in the same way.
Whilst following these instructions, you'll create a `tls.yaml` file, which will be added to the `helm upgrade` command.
228
105
229
106
Create a signing key for the OpenFaaS issuer. It is used by the OIDC plugin to sign access tokens issued by OpenFaaS.
230
107
@@ -275,7 +152,8 @@ helm repo update \
275
152
&& helm upgrade openfaas \
276
153
--install openfaas/openfaas \
277
154
--namespace openfaas \
278
-
-f values-iam.yaml
155
+
-f values-iam.yaml \
156
+
-f tls.yaml
279
157
```
280
158
281
159
As part of OpenFaaS for Enterprises we'll be enabling [multi namespace for functions](https://docs.openfaas.com/reference/namespaces/). Multiple namespaces can be used for logical separation between stages like dev, staging and production or for various teams or tenants.
@@ -503,8 +381,9 @@ Update the OpenFaaS deployment:
0 commit comments