Closed zfalen closed 6 months ago
Fixes #226
initContainers
containers
volumes
I was able to create an initContainer pattern that pulled a .dump file from S3 and mounted it into the Meili pod using the following values:
initContainer
.dump
initContainers: - name: aws-copy image: amazon/aws-cli envFrom: - configMapRef: name: env-with-s3-creds command: - "/bin/sh" - "-c" - aws s3 cp "s3://$S3_BUCKET/meilisearch_dumps" /meili_data/dumps --recursive volumeMounts: - name: meili-dumps mountPath: /meili_data/dumps volumes: - name: meili-dumps emptyDir: {} volumeMounts: - name: meili-dumps mountPath: /meili_data/dumps environment: MEILI_IMPORT_DUMP: /meili_data/dumps/myClonedDumpFile.dump MEILI_ENV: development MEILI_MASTER_KEY: someReallyCoolKeyAlsoWookiesRule MEILI_NO_ANALYTICS: true
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!
My prettier config messed some formatting up it looks like. We can resolve prior to merge.
prettier
@meilisearch sync-manifest
Build succeeded:
Pull Request
Related issue
Fixes #226
What does this PR do?
initContainers
consistent with enablement forcontainers
andvolumes
etcExample
I was able to create an
initContainer
pattern that pulled a.dump
file from S3 and mounted it into the Meili pod using the following values:PR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!