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