bind nginx conf from Secrets

This commit is contained in:
斟酌 鵬兄 2022-03-20 12:34:42 +09:00
parent 3f02576dd8
commit 962baf8d81

View File

@ -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
---