143 Commits
Author SHA1 Message Date
Matt Farina dc7e5997de Revert "Updating to new repo locations (#24419)" (#24420)
This reverts commit e2ecc4d816.
2020-11-13 18:28:12 -05:00
Matt Farina e2ecc4d816 Updating to new repo locations (#24419)
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-11-13 18:21:11 -05:00
Matt Farina 4a04b6f964 Removed old owners files (#24416)
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-11-13 17:06:05 -05:00
Mathew Wicks e53d7072b9 [stable/airflow] depreciate chart (#24021)
Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-11-06 02:54:51 -08:00
Scott Rigby 607e6b4f79 [stable/airflow] update chart repo dependency references (#23981)
Signed-off-by: Scott Rigby <scott@r6by.com>
2020-10-30 12:36:56 -07:00
Mathew Wicks 82c5086985 [stable/airflow] remove trailing newlines (#23951)
* [stable/airflow] update README.md

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] remove trailing newlines

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-10-26 01:43:01 -07:00
Dave Cavaletto d434e86c26 [stable/airflow] create flower oauthDomains config (#23927)
Signed-off-by: Dave Cavaletto <dcavaletto@kochava.com>
2020-10-20 21:42:19 -07:00
Mathew Wicks cfca6a4b4d [stable/airflow] remove newlines in connections[].extra (#23915)
Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-10-15 22:27:25 -07:00
Cory Murphy c7ea3fc2a4 [stable/airflow] provide additional labels configuration (#23867)
Signed-off-by: Cory Murphy <public@coryamurphy.com>
2020-10-14 18:57:52 -07:00
Mathew Wicks eb5de49994 [stable/airflow] improve docs (#23882)
Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-10-12 00:14:48 -07:00
Mathew Wicks 54761c116c [stable/airflow] fix scheduler.connections secretName (#23858)
Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-10-06 23:04:43 -07:00
Mathew Wicks 6d9d8eed25 [stable/airflow] improve docs (#23851)
Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-10-06 00:46:20 -07:00
Mathew Wicks 9293bc56f1 [stable/airflow] release 7.11.1 (#23843)
* [stable/airflow] yaml cleanup

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] release 7.11.1

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-10-04 23:19:06 -07:00
Lucas Garcia c5fc489a40 [stable/airflow] Adding airflow scheduler existing secret connections option (#23802)
* Adding airflow scheduler existing secret connections option

Signed-off-by: Lucas Garcia <kartgarcia@gmail.com>

* Updating Airflow README with information about scheduler.existingSecretConnections

Signed-off-by: Lucas Garcia <kartgarcia@gmail.com>

* Adding more examples and references to existingSecretConnections README

Signed-off-by: Lucas Garcia <kartgarcia@gmail.com>

* Bumping minor section in airflow Chart

Signed-off-by: Lucas Garcia <kartgarcia@gmail.com>
2020-10-02 10:16:47 -07:00
Mathew Wicks 2f030a8e9d [stable/airflow] remove maver1ck from OWNERS (#23751)
* [stable/airflow] remove maver1ck from OWNERS

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] release 7.10.1

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-09-29 22:29:24 -07:00
Mathew Wicks d792245e71 [stable/airflow] release 7.10.0 (#23818)
* [stable/airflow] update install docs

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] small yaml cleanup

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] migrate to _CMD environment variables

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] release 7.10.0

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-09-28 21:59:26 -07:00
Nathan J Mehl 632f261403 [stable/airflow] explicitly allow event watching (#23748)
If the airflow chart is installed in a non-default namespace
in (at least) GKE, tasks using the KubernetesPodOperator will
be marked failed because the worker does not have the ability
to watch the event stream.

Signed-off-by: Nathan J. Mehl <n@oden.io>
2020-09-18 08:56:45 -07:00
Mathew Wicks 6ef866aee2 [stable/airflow] release 7.8.0 (#23735)
* [stable/airflow] implement scheduler liveness probe

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] upgrade airflow to 1.10.12

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] 7.8.0 release

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-09-14 05:26:58 -07:00
Nathan J Mehl fb18b68bc8 Update redis.existingSecretKey option to align w/ stable/redis (#23725)
Addresses https://github.com/helm/charts/issues/23719

Signed-off-by: Nathan J. Mehl <n@oden.io>
2020-09-08 23:23:54 -07:00
Mathew Wicks 6853cae0d1 [stable/airflow] version 7.6.0 (#23651)
* [stable/airflow] refactor templates

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] allow multiple flower replicas

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] use percentage for maxSurge on webserver

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] implement PodDisruptionBudget for all resources

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] ensure correct service ports are used

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] create `flower.minReadySeconds` value

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] increase default celery worker concurrency to 16

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] make pods safe-to-evict by default

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] update google-gke example

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] fix incorrect example annotation syntax

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] update autoscaling docs

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] fix helm typos from refactor

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>

* [stable/airflow] release 7.6.0

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-09-01 00:55:51 -07:00
Wei Sun 6dba24d035 [stable/airflow] enable database properties configuration for external database (#23560)
Signed-off-by: Wei Sun <mct_sunwei@hotmail.com>
2020-08-18 18:43:10 -07:00
Vicken Simonian 355fe5d4d9 [stable/airflow] Remove connection before adding it (#23500)
* [stable/airflow] Remove connection before adding it

fixes #23499

The --delete command exits 0 (success) even if the connection does not
exist.

Signed-off-by: Vicken Simonian <vsimon@gmail.com>

* [stable/airflow] whitespace

Signed-off-by: Vicken Simonian <vsimon@gmail.com>
2020-08-12 23:40:13 -07:00
Mathew Wicks e1d968475d [stable/airflow] improve celery worker graceful shutdown (#23504)
Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-08-11 02:46:17 -07:00
Alex Begg ca11eac9fb [stable/airflow] Allowing for specifying a NodePort number for Flower (#23244)
Signed-off-by: Alex Begg <abegg@gocurrency.com>
2020-07-24 04:14:22 -07:00
Alex Begg 4c0634e5f1 [stable/airflow] Adding basic auth values for flower (#23036)
Signed-off-by: Alex Begg <abegg@gocurrency.com>
2020-07-07 19:13:07 -07:00
Ales Nosek 00f758d69d [stable/airflow] Fix typo in airflow/templates/configmap-env.yaml (#22830)
Signed-off-by: Ales Nosek <ales.nosek@gmail.com>
2020-06-29 23:11:58 -07:00
Alex Begg 77c2f8c632 [stable/airflow] fixed flower extraConfigmapMounts (#22747)
Signed-off-by: Alex Begg <abegg@gocurrency.com>
2020-06-12 09:37:56 -07:00
Alex Begg f357ba8154 [stable/airflow] documentation fixes (#22675)
Signed-off-by: Alex Begg <abegg@gocurrency.com>
2020-06-04 16:25:52 -07:00
Edward Vella 0764a2b1f7 Remove values-test.yaml (#22605)
Signed-off-by: Edward Vella <hello@dwardu.com>
2020-05-31 04:49:53 -07:00
Edward Vella 6c52106bc6 Adding a secretMap instead of adding multiple secrets (#22587)
Signed-off-by: Edward Vella <hello@dwardu.com>
2020-05-29 14:47:33 -07:00
Mathew Wicks 3e7dde8921 [stable/airflow] 7.1.1 hotfix (#22523)
Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-05-26 00:27:11 -07:00
Mathew Wicks 10c341f488 [stable/airflow] 7.1.0 release (#22506)
Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-05-25 05:35:11 -07:00
Mathew Wicks 878f594ec7 [stable/airflow] 7.0.1 hotfix (#22471)
Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-05-21 01:26:36 -07:00
Mathew Wicks 23f3a53569 [stable/airflow] update to airflow 1.10.10 (#22442)
Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-05-20 03:38:19 -07:00
mshalak-nix 9ca695f1e9 [stable/airflow] DAGs serialization without git-sync for web pods (#22335)
* Added parameter to switch on dag serialization without git-sync containers

Signed-off-by: Maksym Shalak <mshalak@n-ix.com>

* Added comment for serializeDAGs

Signed-off-by: Maksym Shalak <mshalak@n-ix.com>

* Added version

Signed-off-by: Maksym Shalak <mshalak@n-ix.com>
2020-05-12 03:50:23 -07:00
YehloandJoshua Leuenberger 414eefc47c [stable/airflow] added option to specify git-clone initContainer custom resources (#22297)
Signed-off-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch>

fixed indentation of values.yaml

Signed-off-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch>

Co-authored-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch>
2020-05-08 00:47:42 -07:00
Ihor KaharlichenkoandIhor Kaharlichenko 9588e61fe7 [stable/airflow] Fix handling of multiline vars (#22281)
Signed-off-by: Ihor Kaharlichenko <ihor@kaharlichenko.org>

Co-authored-by: Ihor Kaharlichenko <ihor@kaharlichenko.org>
2020-05-06 12:37:09 -07:00
YehloandJoshua Leuenberger c5283c7aa8 [stable/airflow] Added resources limit to git-clone initcontainer (#22274)
Signed-off-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch>

Co-authored-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch>
2020-05-06 06:31:09 -07:00
rjarsenault1101 5276148124 [stable/airflow] Changed eq to and (#22261)
* Changed eq to and

Signed-off-by: RJ Arsenault <rjarsenault1101@gmail.com>

* bumped chart version

Signed-off-by: RJ Arsenault <rjarsenault1101@gmail.com>
2020-05-05 07:15:09 -07:00
Mathew Wicks 5d826a36dd [stable/airflow] allow specification of probe scheme (#22242)
Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-05-04 00:50:27 -07:00
Mathew Wicks 2c4924618d [stable/airflow] partially revert #22162 (#22214)
Changes:
* There was a security issue introduced in #22162 which caused the remote git ssh host to be implicitly trusted by default.
* In addition to the security issue, #22162 broke any user with a non-standard ssh repo port.
* This commit keeps the implicit trust if the user specifies git.sshKeyscan=true (with a default of false), in addition to generally cleaning up this part of the codebase.

Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-04-30 23:40:05 -07:00
Mathew Wicks 1b73dc849e [stable/airflow] add LoadBalancer IP/SourceRanges config (#22140)
Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
2020-04-29 00:06:25 -07:00
Bernd Hansen 03e43ef61e [stable/airflow] Fix Failing Git Sync Host Key Verification (#22162)
Signed-off-by: Bernd Hansen <bernd@bnerd.com>
2020-04-28 05:20:07 -07:00
YehloandJoshua Leuenberger 6b5d8f6937 [stable/airflow] Fix git-sync configmap #21970 (#22012)
* Fixes #21970

Signed-off-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch>

* Bump version

Signed-off-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch>

Co-authored-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch>
2020-04-22 23:11:45 -07:00
Carlos Escura 93fd17bffd [stable/airflow] fix: postgres to postgresql for all variables (#21748)
* fix: postgres to postgresql for all variables

* fix: postgres to postgresql for all variables

* refactor: use recommended default function

Signed-off-by: carlosescura <carlosescura@gmail.com>

* Bump Airflow chart version

Signed-off-by: carlosescura <carlosescura@gmail.com>

* Revert README.md modification

Signed-off-by: carlosescura <carlosescura@gmail.com>

* fix: Add new Postgresql variables to readme

Signed-off-by: carlosescura <carlosescura@gmail.com>
2020-04-22 09:27:53 -07:00
mshalak-nix 6f598fa059 stable/airflow: added horizontal pod autoscaler for Celery workers (#21870)
* Added horizontal pod autoscaler for Celery workers.
Also added possibility to set "resources" for git-sync container, to be able to use hpa with pods it is attached to.

Signed-off-by: Maksym Shalak <mshalak@n-ix.com>

* Described how to use an autoscaler with memory metric

Signed-off-by: Maksym Shalak <mshalak@n-ix.com>
2020-04-16 23:57:06 -07:00
Pierre de PoulpiquetandPierre de Poulpiquet 9acb50e039 Fix airflow-preinitdb initContainer call (#21952)
Fix #21951

Using `command` to call the script was overridding the
puckel/docker-airflow ENTRYPOINT that is building Airflow
specific env variables used to connect Airflow to a
PostgreSQL database.

Bypassing this ENTRYPOINT it thus preventing airflow to
connect to the proper database and the `airflow initdb`
command is not run on the proper database.

Using `args` as done at other place in the same chart
before calling `airflow initdb` is fixing this issue.

Signed-off-by: Pierre de Poulpiquet <pierre@whaly.io>

Co-authored-by: Pierre de Poulpiquet <pierre@whaly.io>
2020-04-15 16:18:45 -07:00
memory c22bd37bc0 stable/airflow: add initcontainer initdb option (#21457)
- Add an `airflow.preinitdb` option: if true, the initdb step
  will be run as an initcontainer rather than inline in the
  scheduler startup; this can work around dependencies in custom
  db hooks that prevent initdb from running.

- fix a bug wherein if the git-clone initcontainer was not activated,
  but the git-sync sidecar container was, the web and scheduler
  deployments would fail due to not correctly creating the
  git-clone-secret volume, which is needed by both the initcontainer
  and the sidecar.

- Fix a similar bug for dag path mounting.

- Fix another cosmetic data type mismatch bug in values.yaml:
  `airflow.pools` should be a string containing a JSON
  object, not a yaml map.

Signed-off-by: Nathan J. Mehl <n@oden.io>
2020-04-14 06:26:12 -07:00
Remy Suen 222a70daba [stable/airflow] Update README.md Postgres details to match values (#21886)
* Update README.md Postgres details to match values

The default value for postgresql.existingSecretKey in values.yaml does
not mention the key that the README.md example uses to create the
secret. This creates unnecessary confusion for anyone trying to use the
chart as it will install correctly but the pods will not run because the
secret cannot be found.

By updating the README.md content to match the values.yaml, installation
should hopefully be a little smoother for new users.

Signed-off-by: Remy Suen <remy.suen@gmail.com>

* Increase chart version in Chart.yaml

Signed-off-by: Remy Suen <remy.suen@gmail.com>
2020-04-12 08:49:47 -07:00
memory c23914c8f1 stable/airflow: revert initdb order change (#21426)
The init order change in https://github.com/helm/charts/pull/21368
was the wrong solution to the problem at hand (circular dependencies
between a custom db hook and initdb) and can create init failures
when installing with a blank db.  Reverting.

Signed-off-by: Nathan J. Mehl <n@oden.io>
2020-03-12 09:00:39 -07:00