feat: add TLS configuration for Discord Bot and HA Gateway
This commit is contained in:
parent
364a1314f5
commit
fd4cb3e0e5
@ -35,6 +35,8 @@ spec:
|
||||
value: "ha-gateway.home-services.svc.cluster.local:50051"
|
||||
- name: OTEL_ENDPOINT
|
||||
value: "otel-collector-opentelemetry-collector.monitoring.svc.cluster.local:4317"
|
||||
- name: TLS_DIR
|
||||
value: /tls
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
@ -42,3 +44,11 @@ spec:
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 128Mi
|
||||
volumeMounts:
|
||||
- name: tls
|
||||
mountPath: /tls
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: tls
|
||||
secret:
|
||||
secretName: discord-bot-tls
|
||||
@ -35,6 +35,8 @@ spec:
|
||||
key: HA_TOKEN
|
||||
- name: OTEL_ENDPOINT
|
||||
value: "otel-collector-opentelemetry-collector.monitoring.svc.cluster.local:4317"
|
||||
- name: TLS_DIR
|
||||
value: /tls
|
||||
readinessProbe:
|
||||
grpc:
|
||||
port: 50051
|
||||
@ -52,6 +54,14 @@ spec:
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 128Mi
|
||||
volumeMounts:
|
||||
- name: tls
|
||||
mountPath: /tls
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: tls
|
||||
secret:
|
||||
secretName: ha-gateway-tls
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user