mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-30 23:09:23 +02:00
Update create TLS command to quote strings. (#2694)
In some instances the cert and key path returned from `mkcert -CAROOT` might contain spaces. If it does the example command fails with the somewhat cryptic error `error: exactly one NAME is required, got 3`. Quoting the values resolves the issue.
This commit is contained in:
parent
91fd44e686
commit
0638b07f4d
1 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ If you haven't already, install cert-manager and create a CA issuer. You can fol
|
|||
|
||||
```bash
|
||||
kubectl create secret tls pomerium-tls-ca --namespace=pomerium \
|
||||
--cert=$(mkcert -CAROOT)/rootCA.pem --key=$(mkcert -CAROOT)/rootCA-key.pem
|
||||
--cert="$(mkcert -CAROOT)/rootCA.pem" --key="$(mkcert -CAROOT)/rootCA-key.pem"
|
||||
```
|
||||
|
||||
1. Define an Issuer configuration in `issuer.yaml`:
|
||||
|
@ -209,4 +209,4 @@ Congratulations on installing Pomerium to your Kubernetes cluster! If you're ins
|
|||
[Kubernetes]: https://kubernetes.io
|
||||
[mkcert]: https://github.com/FiloSottile/mkcert
|
||||
[Organizing Cluster Access Using kubeconfig Files]: https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/
|
||||
[tls certificates]: ../topics/certificates.md
|
||||
[tls certificates]: ../topics/certificates.md
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue