Граф коммитов

14 Коммитов

Автор SHA1 Сообщение Дата
Jarek Potiuk 29a145cd69
Add capability of adding service account annotations to Helm Chart (#11387)
We can now add annotations to the service accounts in a generic
way. This allows for example to add Workflow Identitty in GKE
environment but it is not limited to it.

Co-authored-by: Kamil Breguła <kamil.bregula@polidea.com>

Co-authored-by: Jacob Ferriero <jferriero@google.com>
Co-authored-by: Kamil Breguła <kamil.bregula@polidea.com>
2020-10-09 22:54:21 +02:00
Daniel Imberman 93475e9f4d
Single/Multi-Namespace mode for helm chart (#11034)
* Multi-Namespace mode for helm chart

Users should not REQUIRE a ClusterRole/ClusterRolebinding
to run airflow via helm. This change will allow "single" and "multi"
namespace modes so users can add airflow to managed kubernetes clusters

* add namespace to role

* add rolebinding too

* add docs

* add values.schema.json change
2020-10-05 10:38:52 -07:00
Jarek Potiuk 4d2a787070
Enables Kerberos sidecar support (#11130)
Some of the users of Airflow are using Kerberos to authenticate
their worker workflows. Airflow has a basic support for Kerberos
for some of the operators and it has support to refresh the
temporary Kerberos tokens via `airflow kerberos` command.

This change adds support for the Kerberos side-car that connects
to the Kerberos Key Distribution Center and retrieves the
token using Keytab that should be deployed as Kubernetes Secret.

It uses shared volume to share the temporary token. The nice
thing about setting it up as a sidecar is that the Keytab
is never shared with the workers - the secret is only mounted
by the sidecar and the workers have only access to the temporary
token.

Depends on #11129
2020-09-28 00:13:36 +02:00
Can Güney Aksakalli 4fc25367a2
Add ingress to the helm chart (#10064)
Co-authored-by: Alikhan <alikhan.tagybergen@tomtom.com>
Co-authored-by: alikhtag <43503284+alikhtag@users.noreply.github.com>
2020-08-15 18:41:21 +01:00
David Cavaletto f6734b3b85
Enable Sphinx spellcheck for doc generation (#10280) 2020-08-12 21:30:37 +01:00
Vicken Simonian c7858e81a5
Enable annotations to be added to the webserver service (#9776) 2020-07-14 08:45:21 +02:00
Aneesh Joseph d93555b863
Add git sync option and unit tests for the Helm chart (#9371)
* add git sync sidecars

* add a helm test

* add more tests

* allow users to provide git username and pass via  a k8s secrets

* set default values for airflow worker repository & tag

* change ci timeout

* fix link

* add credentials_secret to airflow.cfg configmap

* set GIT_SYNC_ADD_USER on kubernetes worker pods, set uid

* add fsGroup to webserver and kubernete workers

* move gitSync to dags.gitSync

* rename valueFields

* turn off git sync and dag persistence by default

* provide option to specify known_hosts

* add git-sync details into the chart documentation

* Update .gitignore

Co-authored-by: Ash Berlin-Taylor <ash_github@firemirror.com>

* make git sync max failures configurable

* Apply suggestions from code review

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>

* add back requirements.lock

Co-authored-by: Ash Berlin-Taylor <ash_github@firemirror.com>
Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
2020-07-05 12:57:15 -07:00
Bryant Larsen 72d5a58fd7
Fixing typo in chart/README.me (#9632)
* Fixing typo in readme
2020-07-02 22:57:55 +02:00
Jarek Potiuk 8bd15ef634
Switches to Helm Chart for Kubernetes tests (#9468)
The Kubernetes tests are now run using Helm chart
rather than the custom templates we used to have.

The Helm Chart uses locally build production image
so the tests are testing not only Airflow but also
Helm Chart and a Production image - all at the
same time. Later on we will add more tests
covering more functionalities of both Helm Chart
and Production Image. This is the first step to
get all of those bundle together and become
testable.

This change introduces also 'shell' sub-command
for Breeze's kind-cluster command and
EMBEDDED_DAGS build args for production image -
both of them useful to run the Kubernetes tests
more easily - without building two images
and with an easy-to-iterate-over-tests
shell command - which works without any
other development environment.

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Co-authored-by: Daniel Imberman <daniel@astronomer.io>
2020-07-01 14:50:30 +02:00
Kaxil Naik bbfaafeb55
Fix broken link in chart/README.md (#9591)
`CONTRIBUTING.md` -> `../CONTRIBUTING.rst`
2020-06-30 17:03:11 +01:00
Kaxil Naik d6b323b0cd
Remove redundant airflowVersion from Helm Chart readme (#9592)
We no longer use `airflowVersion` , we instead use `defaultAirflowRepository` and `defaultAirflowTag`
2020-06-30 17:02:56 +01:00
Vicken Simonian 096f5c5cba
Fix typo of resultBackendConnection in chart README (#9537) 2020-06-26 19:40:30 +01:00
Ash Berlin-Taylor 561060aaa8
Remove non-existent chart value from readme (#9511)
This was accidentally left over when this was extracted from
Astronomer's chart.
2020-06-25 12:19:26 +01:00
Greg Neiheisel 66e738296a
Add Production Helm chart support (#8777)
Co-authored-by: Ash Berlin-Taylor <ash_github@firemirror.com>
2020-06-17 23:37:54 +01:00