This commit is contained in:
Lee 2024-09-23 08:14:29 +01:00
parent 568fc504dd
commit fb8bb085e2

@ -41,13 +41,15 @@ spec:
volumeMounts: volumeMounts:
- name: flyimg-storage - name: flyimg-storage
mountPath: /var/www/html/web/uploads mountPath: /var/www/html/web/uploads
mountVolumes: - name: config-volume
mountPath: /var/www/html/config/parameters.yml
volumes:
- name: flyimg-storage - name: flyimg-storage
persistentVolumeClaim: persistentVolumeClaim:
claimName: flyimg-pvc claimName: flyimg-pvc
- name: config-volume - name: config-volume
mountPath: /var/www/html/config/parameters.yml configMap:
subPath: parameters.yml name: flyimg-config
--- ---
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim