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

Adds some missing namespace to TLS instructions #170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
7 changes: 4 additions & 3 deletions docs/reference/ssl/kubernetes-with-cert-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ $ kubectl apply -f openfaas-crt.yaml
You can validate that certificate has been obtained successfully using

```sh
$ kubectl describe certificate openfaas-crt
$ kubectl -n openfaas describe certificate openfaas-crt
```

If it was successful you can change to the production Let's Encrypt issuer by replacing `letsencrypt-staging` with `letsencrypt-prod` in the Certificate object in `openfaas-crt.yaml` and re-run `kubectl apply -f openfaas-crt.yaml`.
Expand All @@ -205,12 +205,13 @@ $ kubectl -n openfaas get issuer letsencrypt-prod letsencrypt-staging

- To check that your certificate was created and that cert-manager created the required secret with the actual ssl certificate:
```sh
$ kubectl -n openfaas get certificate,secret openfaas-crt
$ kubectl -n openfaas get certificate openfaas-crt
$ kubectl -n openfaas get secret openfaas-crt
```

- If you want to tail the Nginx logs, you can use
```sh
$ kubectl logs -f $(kubectl get po -l "app=nginxingress,component=controller" -o jsonpath="{.items[0].metadata.name}")
$ kubectl logs -f $(kubectl get po -l "app=nginx-ingress,component=controller" -n nginx-ingress -o jsonpath="{.items[0].metadata.name}") -n nginx-ingress
```

## 2.0 SSL and custom domains for functions
Expand Down