Last active
November 7, 2021 20:06
-
-
Save calvin-puram/0cdc5eb93ae464beb284c9ad5be70edb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: networking.k8s.io/v1 | |
| kind: Ingress | |
| metadata: | |
| annotations: | |
| # add this line below | |
| cert-manager.io/cluster-issuer: letsencrypt-prod | |
| # end here | |
| kubernetes.io/ingress.class: nginx | |
| creationTimestamp: "2021-04-22T03:20:24Z" | |
| generation: 2 | |
| name: nginx-ingress | |
| namespace: default | |
| resourceVersion: "5902" | |
| uid: 62300582-7b91-4f56-a229-75f9664f9334 | |
| spec: | |
| rules: | |
| - host: calvinpuram.com | |
| http: | |
| paths: | |
| - backend: | |
| service: | |
| name: nginx-app | |
| port: | |
| number: 80 | |
| path: / | |
| pathType: Prefix | |
| # add this line below | |
| tls: | |
| - hosts: | |
| - calvinpuram.com | |
| secretName: calvinpuram.com-tls | |
| # end here | |
| status: | |
| loadBalancer: | |
| ingress: | |
| - hostname: elbhostname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment