You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@airflow.apache.org by Lewis John McGibbney <le...@apache.org> on 2021/01/05 18:25:57 UTC

Configuring LDAP and Helm Chart for Apache Airflow

Hi user@,
I am investigating whether I can configure the chart [0] with webserver LDAP authentication.
I do not see any option listed in the parameters [1].
Can I access the airflow.cfg variables during the chart configuration?
Thank you
lewismc

[0] https://github.com/apache/airflow/tree/master/chart
[1] https://github.com/apache/airflow/tree/master/chart#parameters

Re: Configuring LDAP and Helm Chart for Apache Airflow

Posted by Lewis John McGibbney <le...@apache.org>.
I discovered that they can be added to values.yaml.
I created a pull request for this https://github.com/apache/airflow/pull/13519
lewismc

On 2021/01/06 19:26:52, Lewis John McGibbney <le...@apache.org> wrote: 
> Is webserverConfig the correct setting?
> https://github.com/apache/airflow/blob/master/chart/values.schema.json#L795-L801
> It looks as follows
> 
>                 "webserverConfig": {
>                     "description": "This will be mounted into the Airflow Webserver as a custom `webserver_config.py`. You can bake a `webserver_config.py` in to your image instead.",
>                     "type": [
>                         "string",
>                         "null"
>                     ]
>                 },
> 
> There is very little guidance on this. If I can figure this out I will submit a pull request to augment the README with this information.
> Any help is appreciated.
> lewismc
> 
> On 2021/01/05 18:25:57, Lewis John McGibbney <le...@apache.org> wrote: 
> > Hi user@,
> > I am investigating whether I can configure the chart [0] with webserver LDAP authentication.
> > I do not see any option listed in the parameters [1].
> > Can I access the airflow.cfg variables during the chart configuration?
> > Thank you
> > lewismc
> > 
> > [0] https://github.com/apache/airflow/tree/master/chart
> > [1] https://github.com/apache/airflow/tree/master/chart#parameters
> > 
> 

Re: Configuring LDAP and Helm Chart for Apache Airflow

Posted by Lewis John McGibbney <le...@apache.org>.
Is webserverConfig the correct setting?
https://github.com/apache/airflow/blob/master/chart/values.schema.json#L795-L801
It looks as follows

                "webserverConfig": {
                    "description": "This will be mounted into the Airflow Webserver as a custom `webserver_config.py`. You can bake a `webserver_config.py` in to your image instead.",
                    "type": [
                        "string",
                        "null"
                    ]
                },

There is very little guidance on this. If I can figure this out I will submit a pull request to augment the README with this information.
Any help is appreciated.
lewismc

On 2021/01/05 18:25:57, Lewis John McGibbney <le...@apache.org> wrote: 
> Hi user@,
> I am investigating whether I can configure the chart [0] with webserver LDAP authentication.
> I do not see any option listed in the parameters [1].
> Can I access the airflow.cfg variables during the chart configuration?
> Thank you
> lewismc
> 
> [0] https://github.com/apache/airflow/tree/master/chart
> [1] https://github.com/apache/airflow/tree/master/chart#parameters
>