Fixed command to create ca certificate in tls-auth example

This commit is contained in:
Ajaya Agrawal 2018-03-27 13:44:19 +05:30
parent 5c016bee87
commit 4598a00812

View file

@ -6,6 +6,7 @@ It is possible to enable Client Certificate Authentication using additional anno
1. Create a file named `ca.crt` containing the trusted certificate authority chain (all ca certificates in PEM format) to verify client certificates.
2. Create a secret from this file:
`kubectl create secret generic auth-tls-chain --from-file=ca.crt --namespace=default`
`kubectl create secret generic auth-tls-chain --from-file=ca.crt=ca.crt --namespace=default`
3. Add the annotations as provided in the [ingress.yaml](ingress.yaml) example to your ingress object.
3. Add the annotations as provided in the [ingress.yaml](ingress.yaml) example to your ingress object.