diff --git a/opensource/templates/deployment.yaml b/opensource/templates/deployment.yaml index 364bf63..e902400 100644 --- a/opensource/templates/deployment.yaml +++ b/opensource/templates/deployment.yaml @@ -136,6 +136,12 @@ spec: - name: S3_BUCKET_NAME value: "{{ default "media" .Values.s3.bucketName }}" {{- end }} + - name: IMAGES_UPLOAD_PATH + value: "{{ .Values.mediaProvider.initImagesPath }}" + - name: IMAGES_UPLOAD_NAMESPACE + value: "{{ .Values.mediaProvider.initImagesNamespace }}" + - name: IMAGES_UPLOAD_DESTINATION + value: "{{ .Values.mediaProvider.initImagesDestination }}" volumes: - name: redis-storage persistentVolumeClaim: diff --git a/opensource/values.yaml b/opensource/values.yaml index e76944d..998da91 100644 --- a/opensource/values.yaml +++ b/opensource/values.yaml @@ -41,6 +41,9 @@ s3: storage: 500Mi mediaProvider: + initImagesPath: '' + initImagesNamespace: '' + initImagesDestination: '' useStripMetadata: true imageName: 'bouyguestelecom/tada' imageVersion: 'api-latest'