Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add newly introduced prometheus no-auth flag #203

Merged
merged 2 commits into from
Feb 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion output/JupyterLab-CPU-OL-compliant/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Conda
=====

It's recommended that you use conda to create virtual environments and
to insall R, Python, or Julia packages.
to install R, Python, or Julia packages.


Have fun!!!
Expand Down
9 changes: 5 additions & 4 deletions output/JupyterLab-CPU-OL-compliant/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}
9 changes: 5 additions & 4 deletions output/JupyterLab-CPU/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}
2 changes: 1 addition & 1 deletion output/JupyterLab-PyTorch-OL-compliant/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Conda
=====

It's recommended that you use conda to create virtual environments and
to insall R, Python, or Julia packages.
to install R, Python, or Julia packages.


Have fun!!!
Expand Down
9 changes: 5 additions & 4 deletions output/JupyterLab-PyTorch-OL-compliant/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}
9 changes: 5 additions & 4 deletions output/JupyterLab-PyTorch/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}
2 changes: 1 addition & 1 deletion output/JupyterLab-Tensorflow-OL-compliant/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Conda
=====

It's recommended that you use conda to create virtual environments and
to insall R, Python, or Julia packages.
to install R, Python, or Julia packages.


Have fun!!!
Expand Down
9 changes: 5 additions & 4 deletions output/JupyterLab-Tensorflow-OL-compliant/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}
9 changes: 5 additions & 4 deletions output/JupyterLab-Tensorflow/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}
9 changes: 5 additions & 4 deletions output/RStudio/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}
9 changes: 5 additions & 4 deletions resources/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}