Skip to content

Commit

Permalink
fix: add volumes to k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
richardzilincikPantheon authored Mar 7, 2023
1 parent 52ac941 commit 2857cf9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion k8s/templates/frontend/frontend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2857cf9

Please sign in to comment.