Skip to content

Commit

Permalink
fix(): added ssl/tls to deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Christiantyemele committed Dec 20, 2024
1 parent 2cfc7d0 commit 9360723
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 8 additions & 4 deletions mediator-charts/templates/mediator-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@ apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-mediator-service
annotations:
external-dns.alpha.kubernetes.io/hostname: {{ .Values.externalDnsHostname }}
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: {{ .Values.certificateArn }}
service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "https"
namespace: {{ .Values.namespace }}
spec:
selector:
app: {{ .Release.Name }}-mediator
ports:
- protocol: TCP
port: 80
targetPort: 3000
type: LoadBalancer
- name: https
port: 443
targetPort: 3000
type: LoadBalancer
4 changes: 4 additions & 0 deletions mediator-charts/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
replicaCount: 1
namespace: didcomm-mediator
externalDnsHostname: didcomm-mediator.eudi-adorsys.com
certificateArn: arn:aws:acm:{region}:{user id}:certificate/{id}



mongodb:
databaseName: mongodb

Expand Down

0 comments on commit 9360723

Please sign in to comment.