From users-return-528-archive-asf-public=cust-asf.ponee.io@airflow.apache.org Thu Feb 25 09:18:07 2021 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 2B1F218057A for ; Thu, 25 Feb 2021 10:18:07 +0100 (CET) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with SMTP id 931C144696 for ; Thu, 25 Feb 2021 09:18:05 +0000 (UTC) Received: (qmail 97160 invoked by uid 500); 25 Feb 2021 09:18:05 -0000 Mailing-List: contact users-help@airflow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@airflow.apache.org Delivered-To: mailing list users@airflow.apache.org Received: (qmail 97150 invoked by uid 99); 25 Feb 2021 09:18:05 -0000 Received: from spamproc1-he-de.apache.org (HELO spamproc1-he-de.apache.org) (116.203.196.100) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2021 09:18:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-de.apache.org (ASF Mail Server at spamproc1-he-de.apache.org) with ESMTP id 8CD221FF3A2 for ; Thu, 25 Feb 2021 09:18:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-de.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamproc1-he-de.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=potiuk.com Received: from mx1-he-de.apache.org ([116.203.227.195]) by localhost (spamproc1-he-de.apache.org [116.203.196.100]) (amavisd-new, port 10024) with ESMTP id PewaGKk8WETU for ; Thu, 25 Feb 2021 09:18:03 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::b2c; helo=mail-yb1-xb2c.google.com; envelope-from=jarek@potiuk.com; receiver= Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 0D5557FC7A for ; Thu, 25 Feb 2021 09:18:02 +0000 (UTC) Received: by mail-yb1-xb2c.google.com with SMTP id p186so4746628ybg.2 for ; Thu, 25 Feb 2021 01:18:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=potiuk.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=W5LcXaH/86bQgz2D5aiqUsIaYaoU4xWQ7RNGNuzjuqM=; b=ciPa3ysNwbCJVIfMGCQpDyuZB6uehTK1TmurnrDqJoMIYmkl4C91gUpN8dA79g9Nr3 7EaIuRoEfo/p3JdbvVvno7Zhz5lXvdVQJeMryiv3zJA9/nvKkUSQwFuuTa++RIf0hZKw c4MdtNPPHAn2mUubOXJt7B9fxA9jwqUA/YzhM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=W5LcXaH/86bQgz2D5aiqUsIaYaoU4xWQ7RNGNuzjuqM=; b=W3IRUN6OJF0tS8KY0fPKzAqaPcN1icJaRbWaNc++zGqQwHhLKSbYn6Skc3mr8nEC0g M+7nraHgjR7cluBorX8vyC/VsZS50rOXn2Loss+Upf8CQqSGyOj3tP+PZx58n0Jh3GWO U1/gOOCa+ljYDSIy11nhQsDjqTbXEZ2vw86QSzPMnVtHuHZmeGJu0TWCqTtY7RmCIG+r oUArXCXfRJpBoTHYI6LaALdhAhcBXl97Zgyqqc6XNsnf+89UqA6c/Z/pOLL/4HRdmiaa AZ4tqRN9RfhDMlrTl+aNv5qTmXJniETJMQgRLJGbhTP6cOZvbxWdokiYdT3/WX1DsTVF 2ijQ== X-Gm-Message-State: AOAM532enL4xVH+Sg+MvQELvSyRjGnbMTsyUTJlI7ctAu3c1rUdTB6b4 krZG46pj17mDWiLWPeMX6uWAkT/AiPx8HpgFVvue/0TAn47hfA== X-Google-Smtp-Source: ABdhPJy3nnfHXfipLVlEDdvoE2fEPgAjyrJ7/M7Ei7kDvvoAx7SLnsTc4vdtl0KnueGXj96+N3KtT/AyHdfNyMINVnY= X-Received: by 2002:a25:5d8:: with SMTP id 207mr2656620ybf.418.1614244681485; Thu, 25 Feb 2021 01:18:01 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jarek Potiuk Date: Thu, 25 Feb 2021 10:17:50 +0100 Message-ID: Subject: Re: Adding packages to the airflow image in helm chart To: users@airflow.apache.org Content-Type: multipart/alternative; boundary="000000000000d225df05bc25a0d6" --000000000000d225df05bc25a0d6 Content-Type: text/plain; charset="UTF-8" But if it is only about LDAP - In 2.0 image LDAP is added by default to the image. So this is yet another reason why moving to 2.0.* is a good idea. On Thu, Feb 25, 2021 at 10:14 AM Jarek Potiuk wrote: > Yes. You should extend the image in this case. Depending on your needs you > can either extend or customize the image. > > You can read about it here: > http://airflow.apache.org/docs/apache-airflow/stable/production-deployment.html#customizing-or-extending-the-production-image > Or watch my talk from Airflow Summit last year: > https://youtu.be/wDr3Y7q2XoI where I explained the various options you > have. > > J. > > > On Thu, Feb 25, 2021 at 1:10 AM Lewis John McGibbney > wrote: > >> Hi users@, >> I'm trying to configure the Helm Chart [0] with LDAP authentication. >> Does anyone know how I can add the ldap packages equivalent to executing >> the pip command below? >> >> pip install 'apache-airflow[ldap]' >> >> Do I need to build my own docker image FROM apache/airflow:${tag} and >> then overwrite the airflow image definition in values.yaml [1]? >> >> Again, if someone has the answer to this one, I will update the >> documentation as right now this is non intuitive. >> >> Thank you >> lewismc >> >> [0] https://github.com/apache/airflow/tree/master/chart >> [1] >> https://github.com/apache/airflow/blob/master/chart/values.yaml#L122-L125 >> > > > -- > +48 660 796 129 > -- +48 660 796 129 --000000000000d225df05bc25a0d6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
But if it is only about LDAP - In 2.0 image LDAP is added = by default to the image. So this is yet another reason why moving to 2.0.* = is a good idea.

On Thu, Feb 25, 2021 at 10:14 AM Jarek Potiuk <jarek@potiuk.com> wrote:
Yes. You should extend the image in this case. Depending on your needs = you can either extend or customize the image.


=
J.


On Thu, Feb 25, 2021 at 1:10 AM Lewis Joh= n McGibbney <lew= ismc@apache.org> wrote:
Hi users@,
I'm trying to configure the Helm Chart [0] with LDAP authentication. Does anyone know how I can add the ldap packages equivalent to executing th= e pip command below?

pip install 'apache-airflow[ldap]'

Do I need to build my own docker image FROM apache/airflow:${tag} and then = overwrite the airflow image definition in values.yaml [1]?

Again, if someone has the answer to this one, I will update the documentati= on as right now this is non intuitive.

Thank you
lewismc

[0] https://github.com/apache/airflow/tree/master= /chart
[1] https://github.com/apac= he/airflow/blob/master/chart/values.yaml#L122-L125


--
+48 660 796 129


--
+48 = 660 796 129
--000000000000d225df05bc25a0d6--