use webp by default

This commit is contained in:
Lee 2024-09-23 08:11:50 +01:00
parent 9f6ee988a2
commit 568fc504dd

View File

@ -1,4 +1,14 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: flyimg-config
namespace: public-services
data:
parameters.yml: |
default_options:
output: o_webp
---
apiVersion: apps/v1
kind: Deployment
metadata:
@ -31,10 +41,13 @@ spec:
volumeMounts:
- name: flyimg-storage
mountPath: /var/www/html/web/uploads
volumes:
mountVolumes:
- name: flyimg-storage
persistentVolumeClaim:
claimName: flyimg-pvc
- name: config-volume
mountPath: /var/www/html/config/parameters.yml
subPath: parameters.yml
---
apiVersion: v1
kind: PersistentVolumeClaim