intelligentfu8 commented on code in PR #48183: URL: https://github.com/apache/doris/pull/48183#discussion_r1972762626
########## docker/runtime/be/resource/be_entrypoint.sh: ########## @@ -83,6 +83,34 @@ update_conf_from_configmap() done } + +kerberos_config() +{ + if [[ -n "$KRB5_MOUNT_PATH" ]]; then Review Comment: if [[ ! -n "$KRB5_MOUNT_PATH" ]]; then return; if KRB5_CONFIG_DIR=$(dirname "$KRB5_CONFIG") if [[ ! -d "$KRB5_CONFIG_DIR" ]]; then log_stderr "[info] Creating krb5 directory: $KRB5_CONFIG_DIR" mkdir -p "$KRB5_CONFIG_DIR" fi log_stderr "[info] Creating krb5 symlink from $KRB5_MOUNT_PATH/krb5.conf to $KRB5_CONFIG" for file in `ls $KRB5_CONFIG_DIR`; ln -sfT $file "${KRB5_CONFIG}/${file}" else log_stderr "[warning] krb5.conf not found in $KRB5_MOUNT_PATH" fi -- 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-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org