From 2857cf9b248c9a66385639f61eadcf6d3ca7dd24 Mon Sep 17 00:00:00 2001 From: richardzilincikPantheon <85497288+richardzilincikPantheon@users.noreply.github.com> Date: Tue, 7 Mar 2023 13:21:37 +0100 Subject: [PATCH] fix: add volumes to k8s --- k8s/templates/frontend/frontend-deployment.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/k8s/templates/frontend/frontend-deployment.yaml b/k8s/templates/frontend/frontend-deployment.yaml index 11fca2c..a6f2d62 100644 --- a/k8s/templates/frontend/frontend-deployment.yaml +++ b/k8s/templates/frontend/frontend-deployment.yaml @@ -47,6 +47,11 @@ spec: - mountPath: /usr/share/nginx/html/drafts name: nginx-drafts-pv readOnly: true + - mountPath: /usr/share/nginx/html/all_modules + name: nginx-all-modules-pv + readOnly: true + - mountPath: /usr/share/nginx/html/notifications + name: nginx-notifications-pv - mountPath: /usr/share/nginx/html/admin name: admin-webroot-pv - mountPath: /usr/share/nginx/html @@ -86,7 +91,13 @@ spec: path: {{ .Values.YANG_RESOURCES }}/nginx/stats - name: nginx-drafts-pv hostPath: - path: {{ .Values.YANG_RESOURCES }}/nginx/drafts + path: {{ .Values.YANG_RESOURCES }}/nginx/drafts + - name: nginx-all-modules-pv + hostPath: + path: {{ .Values.YANG_RESOURCES }}/all_modules + - name: nginx-notifications-pv + hostPath: + path: {{ .Values.YANG_RESOURCES }}/nginx/notifications - name: admin-webroot-pv persistentVolumeClaim: claimName: admin-webroot-pvc