From 568fc504dd982f40cc645d40d7c7604f1689be2a Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 23 Sep 2024 08:11:50 +0100 Subject: [PATCH] use webp by default --- apps/production/flyimg/flyimg.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/apps/production/flyimg/flyimg.yaml b/apps/production/flyimg/flyimg.yaml index 8d03e8c..e59ee80 100644 --- a/apps/production/flyimg/flyimg.yaml +++ b/apps/production/flyimg/flyimg.yaml @@ -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