diff --git a/manifests/home-services/discord-bot.yaml b/manifests/home-services/discord-bot.yaml index 9ca4916..e515ee2 100644 --- a/manifests/home-services/discord-bot.yaml +++ b/manifests/home-services/discord-bot.yaml @@ -35,10 +35,20 @@ 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 memory: 64Mi limits: cpu: 200m - memory: 128Mi \ No newline at end of file + memory: 128Mi + volumeMounts: + - name: tls + mountPath: /tls + readOnly: true + volumes: + - name: tls + secret: + secretName: discord-bot-tls \ No newline at end of file diff --git a/manifests/home-services/ha-gateway.yaml b/manifests/home-services/ha-gateway.yaml index 4a4331e..4a887df 100644 --- a/manifests/home-services/ha-gateway.yaml +++ b/manifests/home-services/ha-gateway.yaml @@ -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