GitHub user mureco added a comment to the discussion: [Errno 30] Read-only file 
system: '/opt/airflow/webserver_config.py/default_webserver_config.py' when 
webserverConfigConfigMapName is set

I probably picked up a bad example.
Changing ```stringData``` to ```data``` in the ConfigMap manifest did the trick.

My ConfigMap manifest now looks like:
```
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: airflow-webserver-config
data:
  webserver_config.py: |-
    import os
    from __future__ import annotations
    from flask_appbuilder.const import AUTH_DB

    basedir = os.path.abspath(os.path.dirname(__file__))
    log = logging.getLogger(__name__)

    WTF_CSRF_ENABLED = True
    WTF_CSRF_TIME_LIMIT = None
    AUTH_TYPE = AUTH_DB
```
Thank you for pointing me in the right direction.

GitHub link: 
https://github.com/apache/airflow/discussions/43916#discussioncomment-11224276

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to