Skip to content

Instantly share code, notes, and snippets.

View pawgajda-drs's full-sized avatar

Paweł Gajda pawgajda-drs

View GitHub Profile
@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}:"