You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "EylonLevy (via GitHub)" <gi...@apache.org> on 2023/02/28 10:37:41 UTC

[GitHub] [druid] EylonLevy commented on a diff in pull request #13795: Add ability to add config files when using druid on Kubernetes

EylonLevy commented on code in PR #13795:
URL: https://github.com/apache/druid/pull/13795#discussion_r1119871439


##########
distribution/docker/druid.sh:
##########
@@ -196,4 +198,14 @@ then
     mkdir -p ${DRUID_DIRS_TO_CREATE}
 fi
 
+# Check if the other configuration directorie variable is set and if it is, copy the files from there
+if [ -n "$DRUID_ADDITIONAL_CONF_DIR" ]
+then
+    if [  -d "$DRUID_ADDITIONAL_CONF_DIR" ]
+    then
+        cp $DRUID_ADDITIONAL_CONF_DIR/* $COMMON_CONF_DIR
+    fi
+fi
+
+
 exec bin/run-java ${JAVA_OPTS} -cp $COMMON_CONF_DIR:$SERVICE_CONF_DIR:lib/*: org.apache.druid.cli.Main server $@

Review Comment:
   good point, will fix



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org