k8s/mongoDb container
Links: mongoDb
Startup initialization
# # image: # pullSecrets: # - "my-registry" # extraVolumes: # need version: 7.7.0 # - name: docker-entrypoint-initdb # emptyDir: {} # initConfigMap: "Trigger-custom-init-scripts" # extraVolumeMounts: # - name: docker-entrypoint-initdb # mountPath: /docker-entrypoint-initdb.d # subPath: _helper-subpath # extraInitContainers: "{{ include \"mongodb-restore-init\" . }}" # # https://github.com/helm/charts/blob/master/stable/mongodb/values.yaml # https://github.com/helm/charts/tree/master/stable/mongodb # When a container is started for the first time it will execute # files with extensions .sh and .js that are found in # /docker-entrypoint-initdb.d. Files will be executed in # alphabetical order. .js files will be executed by mongo using the # database specified by the MONGO_INITDB_DATABASE variable, if it # is present, or test otherwise. You may also switch databases # within the .js script.