Skip to content

Instantly share code, notes, and snippets.

@pawgajda-drs
pawgajda-drs / airflow_azure_blob_remote_logging.md
Created September 25, 2025 09:17
An opinionated guide to Airflow 3.0.6 Remote Logging with Azure Blob Storage
Remote Logging to Azure Blob Storage

Firt of all, Remote Logging to Azure Blob Storage works with Airflow Version >= 3.0.5, therefore make sure you're using that. We tested it with Airflow 3.0.6:

### Blob Logging works only on Airflow >= 3.0.5
images:
  airflow:
    repository: apache/airflow
    tag: "3.0.6"
  pod_template:
@pawgajda-drs
pawgajda-drs / modsecurity-configmap.yaml
Created September 5, 2025 13:57
ingress-nginx with ModSecurity
apiVersion: v1
kind: ConfigMap
metadata:
name: modsecurity-plugins
data:
empty-after.conf: |
# no data
empty-before.conf: |
# no data
empty-config.conf: |
@pawgajda-drs
pawgajda-drs / apache_superset_helm_chart_entra_sso_howto.md
Last active July 2, 2025 13:04
Apache Superset Helm Chart Azure Entra ID SSO Configuration HOW TO

Configuration in values.yaml:

extraSecrets:
  custom_sso_security_manager.py: |
    import logging
    from superset.security import SupersetSecurityManager
    
    class CustomSsoSecurityManager(SupersetSecurityManager):
        def oauth_user_info(self, provider, response=None):
@pawgajda-drs
pawgajda-drs / apache_airflow_sso_howto.md
Last active July 2, 2025 12:54 — forked from wallyhall/apache_airflow_sso_howto.md
Apache Airflow Azure AAD SSO howto

Working configmap with Bitnami Airflow Helm Chart and Apache Airflow 3.x:

apiVersion: v1
kind: ConfigMap
metadata:
  name: airflow-webserver-config-custom
data:
  webserver_config.py: |-
    #
export EDITOR="vim"
export VISUAL="vim"
export PATH="${PATH}:${HOME}/.tfenv/bin:${HOME}/.pulumi/bin:/usr/local/go/bin:$(go env GOPATH)/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin"
typeset -U path
export HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew"
export HOMEBREW_CELLAR="/home/linuxbrew/.linuxbrew/Cellar"
export HOMEBREW_REPOSITORY="/home/linuxbrew/.linuxbrew/Homebrew"
#export MANPATH="/home/linuxbrew/.linuxbrew/share/man${MANPATH+:$MANPATH}:"