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
Copy file name to clipboardExpand all lines: docs/reference/ssl/kubernetes-with-cert-manager.md
+22-9
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ You can obtain TLS certificates for the OpenFaaS API Gateway and for your functi
4
4
5
5
We will use the following components:
6
6
7
+
-[Nginx IngressController][nginx-ingress]
7
8
- OpenFaaS installed via [helm][openfaas-helm] or (`helm template` if you can't use `tiller`)
8
9
-[cert-manager][cert-manager]
9
-
-[Nginx IngressController][nginx-ingress]
10
10
11
11
We will split this tutorial into two parts:
12
12
@@ -17,13 +17,9 @@ We will split this tutorial into two parts:
17
17
18
18
This part guides you through setting up all the pre-requisite components to enable TLS for your gateway. You can then access your gateway via a URL such as `https://gw.example.com` and each function such as: `https://gw.example.com/function/nodeinfo`.
19
19
20
-
### Configure Helm and Tiller
20
+
### Configure Helm
21
21
22
-
First install Helm and the Tiller [following the instructions provided by Helm][helm-install]
23
-
24
-
### Install OpenFaaS
25
-
26
-
Follow the instructions found in the [OpenFaaS Helm Chart](https://github.com/openfaas/faas-netes/tree/master/chart/openfaas#deploy-openfaas). As part of these instructions you will create a basic-auth password to secure the Gateway's API and UI.
22
+
First install Helm v3 [following the instructions provided by Helm][helm-install]
27
23
28
24
### Install nginx-ingress
29
25
@@ -32,7 +28,8 @@ This example will use a Kubernetes [IngressController](https://kubernetes.io/doc
* Alternatively, use [arkade](https://github.com/alexellis/arkade) to install nginx-ingress.
47
+
48
+
```sh
49
+
arkade install ingress-nginx
50
+
```
51
+
49
52
* If you do not have a cloud provider for your Kubernetes cluster, but have a public IP, then you can install Nginx in "host-mode" and use the IP of one or more of your nodes for the DNS record.
Taken from tutorial: [Setup a private Docker registry with TLS on Kubernetes](https://github.com/alexellis/k8s-tls-registry)
@@ -58,6 +61,16 @@ Caveats:
58
61
59
62
[HTTPS for your local endpoints with inlets and Caddy](https://blog.alexellis.io/https-inlets-local-endpoints/)
60
63
64
+
### Install OpenFaaS
65
+
66
+
Follow the instructions found in the [OpenFaaS Helm Chart](https://github.com/openfaas/faas-netes/tree/master/chart/openfaas#deploy-openfaas). As part of these instructions you will create a basic-auth password to secure the Gateway's API and UI.
67
+
68
+
Alternatively, use [arkade](https://github.com/alexellis/arkade) to install openfaas:
69
+
70
+
```sh
71
+
arkade install openfaas
72
+
```
73
+
61
74
### Create a DNS record
62
75
63
76
Determine the public IP address which can be used to connect to Nginx:
0 commit comments