Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #572 from laurafitzgerald/le-docs-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmadigan authored Sep 19, 2023
2 parents 89c27b6 + f0e0dc5 commit e98ae4c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/tlspolicy/tls-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Any type of Issuer that is supported by CertManager can be referenced in the TLS

Create a secret containing AWS access key and secret:
```bash
kubectl create secret generic mgc-aws-credentials --from-literal=AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID> --from-literal=AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY> -n multi-cluster-gateways
kubectl create secret generic le-aws-credentials --from-literal=AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY> -n multi-cluster-gateways
```

Create a new Issuer:
Expand All @@ -139,6 +139,7 @@ apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: le-production
namespace: multi-cluster-gateways
spec:
acme:
email: <YOUR EMAIL>
Expand All @@ -151,10 +152,10 @@ spec:
route53:
hostedZoneID: <YOUR HOSTED ZONE ID>
region: us-east-1
accessKeyID: <AWS_SECRET_ACCESS_KEY>
accessKeyID: <AWS_SECRET_ACCESS_KEY_ID>
secretAccessKeySecretRef:
key: AWS_SECRET_ACCESS_KEY
name: mgc-aws-credentials
name: le-aws-credentials
```

Create a TLSPolicy:
Expand Down

0 comments on commit e98ae4c

Please sign in to comment.