From 962baf8d81b90e655df05eb50bc06aaea9850a59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Sun, 20 Mar 2022 12:34:42 +0900 Subject: [PATCH] bind nginx conf from Secrets --- k8s/deployments.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/k8s/deployments.yaml b/k8s/deployments.yaml index 3d05730..d6e9d93 100644 --- a/k8s/deployments.yaml +++ b/k8s/deployments.yaml @@ -60,10 +60,15 @@ spec: volumeMounts: - mountPath: "/usr/share/nginx/html" name: cache + - mountPath: "/etc/nginx/templates" + name: nginx-conf-templates volumes: - name: cache persistentVolumeClaim: claimName: astrojs-cache + - name: nginx-conf-templates + secret: + secretName: nginx-conf-templates ---