chart-unifi_network_application: attempt to fix init script

This commit is contained in:
2024-08-25 22:51:54 +02:00
parent 73aa6d1eef
commit bf87280703
2 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,8 @@ metadata:
name: {{ include "template.fullname" . }}-mongodb-init-sh
data:
init-mongo.sh: |
#!/bin/bash
if which mongosh > /dev/null 2>&1; then
mongo_init_bin='mongosh'
else