use webp by default
This commit is contained in:
parent
9f6ee988a2
commit
568fc504dd
@ -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
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@ -31,10 +41,13 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: flyimg-storage
|
- name: flyimg-storage
|
||||||
mountPath: /var/www/html/web/uploads
|
mountPath: /var/www/html/web/uploads
|
||||||
volumes:
|
mountVolumes:
|
||||||
- name: flyimg-storage
|
- name: flyimg-storage
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: flyimg-pvc
|
claimName: flyimg-pvc
|
||||||
|
- name: config-volume
|
||||||
|
mountPath: /var/www/html/config/parameters.yml
|
||||||
|
subPath: parameters.yml
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
Reference in New Issue
Block a user