dns, cert for abb
This commit is contained in:
parent
9556e38c72
commit
3ac01e0cd0
|
@ -1,3 +1,11 @@
|
|||
resource "aws_route53_zone" "gmemca" {
|
||||
name = "gmem.ca"
|
||||
}
|
||||
|
||||
resource "aws_route53_record" "api-by-becki" {
|
||||
zone_id = aws_route53_zone.gmemca.zone_id
|
||||
name = "abb"
|
||||
type = "A"
|
||||
ttl = 300
|
||||
records = ["168.119.154.189"]
|
||||
}
|
|
@ -14,6 +14,23 @@ spec:
|
|||
containers:
|
||||
- name: api-by-becki
|
||||
image: icr.gmem.ca/api-by-becki:latest
|
||||
env:
|
||||
- name: API_COUCH_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: art-by-becki
|
||||
key: couch_username
|
||||
optional: false
|
||||
- name: API_COUCH_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: art-by-becki
|
||||
key: couch_password
|
||||
optional: false
|
||||
- name: API_COUCH_URL
|
||||
value: http://couchdb-svc-couchdb:5984
|
||||
- name: API_COUCH_DATABASE
|
||||
value: art-by-becki
|
||||
resources:
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
|
@ -42,6 +59,10 @@ metadata:
|
|||
labels:
|
||||
name: art-by-becki
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- abb.gmem.ca
|
||||
secretName: abb-tls
|
||||
rules:
|
||||
- host: abb.gmem.ca
|
||||
http:
|
||||
|
|
|
@ -6,15 +6,11 @@ metadata:
|
|||
|
||||
spec:
|
||||
acme:
|
||||
# The ACME server URL
|
||||
server: https://acme-v02.api.letsencrypt.org/directory
|
||||
# Email address used for ACME registration
|
||||
email: mc-invites@gmem.ca
|
||||
# Name of a secret used to store the ACME account private key
|
||||
privateKeySecretRef:
|
||||
name: letsencrypt-pro
|
||||
# Enable the HTTP-01 challenge provider
|
||||
solvers:
|
||||
- http01:
|
||||
ingress:
|
||||
class: traefik
|
||||
class: nginx
|
Loading…
Reference in a new issue