From 984f7030a34cde5bfbb39602b9187a561fdba490 Mon Sep 17 00:00:00 2001 From: AB Date: Wed, 5 Nov 2025 15:56:01 +0200 Subject: [PATCH] Added pasarguard --- k8s/apps/pasarguard/deployment.yaml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/k8s/apps/pasarguard/deployment.yaml b/k8s/apps/pasarguard/deployment.yaml index 0e860b9..18542c5 100644 --- a/k8s/apps/pasarguard/deployment.yaml +++ b/k8s/apps/pasarguard/deployment.yaml @@ -34,33 +34,21 @@ spec: - name: UVICORN_PORT value: "8000" - name: UVICORN_SSL_CERTFILE - value: "/etc/ssl/certs/tls.crt" + value: "/app/tls/tls.crt" - name: UVICORN_SSL_KEYFILE - value: "/etc/ssl/private/tls.key" + value: "/app/tls/tls.key" ports: - name: http containerPort: 8000 protocol: TCP volumeMounts: - - name: tls-certs - mountPath: /etc/ssl/certs - readOnly: true - - name: tls-keys - mountPath: /etc/ssl/private + - name: tls + mountPath: /app/tls readOnly: true volumes: - - name: tls-certs + - name: tls secret: secretName: pasarguard-tls - items: - - key: tls.crt - path: tls.crt - - name: tls-keys - secret: - secretName: pasarguard-tls - items: - - key: tls.key - path: tls.key --- apiVersion: v1 kind: Service