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

4 Коммитов

Автор SHA1 Сообщение Дата
Justin Kotalik ef441e8704
Tye should validate that service names are valid DNS names (#480) 2020-05-15 15:45:49 -07:00
Ryan Nowak 08a7384352
Add Dapr integration to Tye (#250)
* Add Dapr integration to Tye

Adds a new `extensions` integration point. Currently all extensbility has
to be inside the Tye codebase. There's no functionality for loading or distributing
plugins.

Enable dapr for an application like:

```yaml
name: test_app
extensions:
- name: dapr
```

The dapr extension currently accepts and requires no additional options, and applies
to all services defined in the application.

What it does:

- In local run: starts a dapr sidecar for each project that does http
- In local run: sidecars start in the directory of tye.yaml, so dapr will look for
  component manifests in ./components (relative to tye.yaml
- In deployment: adds required annotations to deployments

Some new features that were added to tye to enable this:

- Config: Ability to parse and conditionally run extensions
- Run: Ability to token replace env-vars into command line args
- Deploy: Ability to configure labels and annotations

* format

* Massage labesl:

* PR feedback

* Fix tests
2020-03-29 21:55:45 -07:00
Ryan Nowak 5b0aea8f77 WIP 2020-03-06 12:05:46 -08:00
Ryan Nowak 8e9e350882 Initial skeleton 2020-02-29 12:10:58 -08:00