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"
|
value: "ha-gateway.home-services.svc.cluster.local:50051"
|
||||||
- name: OTEL_ENDPOINT
|
- name: OTEL_ENDPOINT
|
||||||
value: "otel-collector-opentelemetry-collector.monitoring.svc.cluster.local:4317"
|
value: "otel-collector-opentelemetry-collector.monitoring.svc.cluster.local:4317"
|
||||||
|
- name: TLS_DIR
|
||||||
|
value: /tls
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
@ -42,3 +44,11 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
memory: 128Mi
|
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
|
key: HA_TOKEN
|
||||||
- name: OTEL_ENDPOINT
|
- name: OTEL_ENDPOINT
|
||||||
value: "otel-collector-opentelemetry-collector.monitoring.svc.cluster.local:4317"
|
value: "otel-collector-opentelemetry-collector.monitoring.svc.cluster.local:4317"
|
||||||
|
- name: TLS_DIR
|
||||||
|
value: /tls
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
grpc:
|
grpc:
|
||||||
port: 50051
|
port: 50051
|
||||||
@ -52,6 +54,14 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
|
volumeMounts:
|
||||||
|
- name: tls
|
||||||
|
mountPath: /tls
|
||||||
|
readOnly: true
|
||||||
|
volumes:
|
||||||
|
- name: tls
|
||||||
|
secret:
|
||||||
|
secretName: ha-gateway-tls
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user