Infra & Cloud
yaml
Intermediate
Kubernetes Ingress with TLS
NGINX Ingress manifest with TLS termination using cert-manager annotations.
yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: myapp-ingress
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
tls: [{ hosts: [app.example.com], secretName: myapp-tls }]
rules:
- host: app.example.com
http:
paths:
- path: /
pathType: Prefix
backend: { service: { name: myapp, port: { number: 80 } } }
Prerequisites
- cert-manager
- nginx-ingress-controller
Pro Tips
- → Use letsencrypt-staging first for testing.
Commercial Licensing
Acquire a production access token or template license for enterprise deployment.
Module Info
- Language
- yaml
- Level
- Intermediate
- Read time
- 4 min
- Published
- Dec 2024
- License
- Commercial License
Newsletter
New modules every week, directly to your inbox.
Similar Modules
AWS S3 Static Website
Terraform module to provision an S3 bucket for static website hosting.
terraform
·
Intermediate
AWS RDS Postgres Terraform
Terraform resource for an RDS PostgreSQL instance with encryption and backup.
terraform
·
Intermediate
ECS Task Force Stop
Force-stop all running ECS tasks in a service for emergency rollback.
bash
·
Intermediate