1.10.15-debian-10-r97 release

This commit is contained in:
Bitnami Bot 2021-07-08 18:08:18 +00:00
parent 690a8844ad
commit afeb13161d
3 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@ RUN /opt/bitnami/scripts/airflow-worker/postunpack.sh
RUN /opt/bitnami/scripts/locales/add-extra-locales.sh
ENV AIRFLOW_HOME="/opt/bitnami/airflow" \
BITNAMI_APP_NAME="airflow-worker" \
BITNAMI_IMAGE_VERSION="1.10.15-debian-10-r96" \
BITNAMI_IMAGE_VERSION="1.10.15-debian-10-r97" \
C_FORCE_ROOT="True" \
LANG="en_US.UTF-8" \
LANGUAGE="en_US:en" \

View File

@ -239,17 +239,17 @@ airflow_configure_webserver_authentication() {
replace_in_file "$AIRFLOW_WEBSERVER_CONF_FILE" "# AUTH_USER_REGISTRATION = True" "AUTH_USER_REGISTRATION = True"
airflow_webserver_conf_set "AUTH_TYPE" "AUTH_LDAP"
replace_in_file "$AIRFLOW_WEBSERVER_CONF_FILE" "# from flask_appbuilder.security.manager import AUTH_LDAP" "from flask_appbuilder.security.manager import AUTH_LDAP"
airflow_webserver_conf_set "AUTH_LDAP_SERVER" "$AIRFLOW_LDAP_URI"
airflow_webserver_conf_set "AUTH_LDAP_SERVER" "'$AIRFLOW_LDAP_URI'"
airflow_webserver_conf_set "AUTH_LDAP_SEARCH" "$AIRFLOW_LDAP_SEARCH"
airflow_webserver_conf_set "AUTH_LDAP_BIND_USER" "$AIRFLOW_LDAP_BIND_USER"
airflow_webserver_conf_set "AUTH_LDAP_BIND_PASSWORD" "$AIRFLOW_LDAP_BIND_PASSWORD"
airflow_webserver_conf_set "AUTH_LDAP_UID_FIELD" "$AIRFLOW_LDAP_UID_FIELD"
airflow_webserver_conf_set "AUTH_LDAP_USE_TLS" "$AIRFLOW_LDAP_USE_TLS"
airflow_webserver_conf_set "AUTH_LDAP_ALLOW_SELF_SIGNED" "$AIRFLOW_LDAP_ALLOW_SELF_SIGNED"
if [[ "$AIRFLOW_LDAP_USE_TLS" == "True" ]]; then
if [[ "$AIRFLOW_LDAP_USE_TLS" == "True" ]]; then
airflow_webserver_conf_set "AUTH_LDAP_TLS_CACERTFILE" "$AIRFLOW_LDAP_TLS_CA_CERTIFICATE"
fi
airflow_webserver_conf_set "AUTH_USER_REGISTRATION_ROLE" "$AIRFLOW_USER_REGISTRATION_ROLE"
airflow_webserver_conf_set "AUTH_USER_REGISTRATION_ROLE" "'$AIRFLOW_USER_REGISTRATION_ROLE'"
fi
}
@ -271,7 +271,7 @@ airflow_webserver_conf_set() {
# Check if the value was set before
if grep -q "^#*\\s*${key} =.*$" "$file"; then
# Update the existing key
replace_in_file "$file" "^#*\\s*${key} =.*$" "${key} = \"${value}\"" false
replace_in_file "$file" "^#*\\s*${key} =.*$" "${key} = ${value}" false
else
# Add a new key
printf '\n%s="%s"' "$key" "$value" >>"$file"

View File

@ -34,7 +34,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
* [`2`, `2-debian-10`, `2.1.1`, `2.1.1-debian-10-r5`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow-worker/blob/2.1.1-debian-10-r5/2/debian-10/Dockerfile)
* [`1`, `1-debian-10`, `1.10.15`, `1.10.15-debian-10-r96` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow-worker/blob/1.10.15-debian-10-r96/1/debian-10/Dockerfile)
* [`1`, `1-debian-10`, `1.10.15`, `1.10.15-debian-10-r97` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow-worker/blob/1.10.15-debian-10-r97/1/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/airflow GitHub repo](https://github.com/bitnami/bitnami-docker-airflow-worker).