Skip to content

Commit

Permalink
class any by default for provisioners
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit authored Jan 21, 2025
1 parent 8e72e8c commit 577e333
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ aliases:

`score-compose` comes with out-of-the-box support for:

| Type | Class | Params | Output |
| --------------- | --------- | ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `amqp` | `default` | (none) | `host`, `port`, `vhost`, `username`, `password` |
| `dns` | `default` | (none) | `host` |
| `elasticsearch` | `default` | (none) | `host`, `port`, `username`, `password` |
| `environment` | `default` | (none) | `${KEY}` |
| `kafka-topic` | `default` | (none) | `host`, `port`, `name`, `num_partitions` |
| `mongodb` | `default` | (none) | `host`, `port`, `username`, `password`, `connection` |
| `mssql` | `default` | (none) | `server`, `port`, `connection`, `database`, `username`, `password` |
| `mysql` | `default` | (none) | `host`, `port`, `name` (aka `database`), `username`, `password` |
| `postgres` | `default` | (none) | `host`, `port`, `name` (aka `database`), `username`, `password` |
| `redis` | `default` | (none) | `host`, `port`, `username`, `password` |
| `route` | `default` | `host`, `path`, `port` | |
| `service-port` | `default` | `workload`, `port` | `hostname`, `port` |
| `s3` | `default` | (none) | `endpoint`, `access_key_id`, `secret_key`, `bucket`, with `region=""`, `aws_access_key_id=<access_key_id>`, and `aws_secret_key=<secret_key>` for compatibility |
| `volume` | `default` | (none) | `source` |
| Type | Class | Params | Output |
| --------------- | ----- | ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `amqp` | (any) | (none) | `host`, `port`, `vhost`, `username`, `password` |
| `dns` | (any) | (none) | `host` |
| `elasticsearch` | (any) | (none) | `host`, `port`, `username`, `password` |
| `environment` | (any) | (none) | `${KEY}` |
| `kafka-topic` | (any) | (none) | `host`, `port`, `name`, `num_partitions` |
| `mongodb` | (any) | (none) | `host`, `port`, `username`, `password`, `connection` |
| `mssql` | (any) | (none) | `server`, `port`, `connection`, `database`, `username`, `password` |
| `mysql` | (any) | (none) | `host`, `port`, `name` (aka `database`), `username`, `password` |
| `postgres` | (any) | (none) | `host`, `port`, `name` (aka `database`), `username`, `password` |
| `redis` | (any) | (none) | `host`, `port`, `username`, `password` |
| `route` | (any) | `host`, `path`, `port` | |
| `service-port` | (any) | `workload`, `port` | `hostname`, `port` |
| `s3` | (any) | (none) | `endpoint`, `access_key_id`, `secret_key`, `bucket`, with `region=""`, `aws_access_key_id=<access_key_id>`, and `aws_secret_key=<secret_key>` for compatibility |
| `volume` | (any) | (none) | `source` |

These can be found in the default provisioners file. You are encouraged to write your own provisioners and add them to the `.score-compose` directory (with the `.provisioners.yaml` extension) or contribute them upstream to the [default.provisioners.yaml](https://github.com/score-spec/score-compose/blob/main/internal/command/default.provisioners.yaml) file.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ aliases:

`score-k8s` comes with out-of-the-box support for:

| Type | Class | Params | Output |
| -------------- | --------- | ---------------------- | ------------------------------------------------------------------ |
| `ampq` | `default` | (none) | `host`, `port`, `username`, `password`, `vhost` |
| `dns` | `default` | (none) | `host` |
| `mongodb` | `default` | (none) | `host`, `port`, `username`, `password`, `name`, `connection` |
| `mssql` | `default` | (none) | `server`, `port`, `username`, `password`, `database`, `connection` |
| `mysql` | `default` | (none) | `host`, `port`, `name` (aka `database`), `username`, `password` |
| `postgres` | `default` | (none) | `host`, `port`, `name` (aka `database`), `username`, `password` |
| `redis` | `default` | (none) | `host`, `port`, `username`, `password` |
| `route` | `default` | `host`, `path`, `port` | |
| `s3` | `default` | (none) | `endpoint`, `region`, `bucket`, `access_key_id`, `secret_key` |
| `service-port` | `default` | `workload`, `port` | `hostname`, `port` |
| `volume` | `default` | (none) | `source` |
| Type | Class | Params | Output |
| -------------- | ----- | ---------------------- | ------------------------------------------------------------------ |
| `ampq` | (any) | (none) | `host`, `port`, `username`, `password`, `vhost` |
| `dns` | (any) | (none) | `host` |
| `mongodb` | (any) | (none) | `host`, `port`, `username`, `password`, `name`, `connection` |
| `mssql` | (any) | (none) | `server`, `port`, `username`, `password`, `database`, `connection` |
| `mysql` | (any) | (none) | `host`, `port`, `name` (aka `database`), `username`, `password` |
| `postgres` | (any) | (none) | `host`, `port`, `name` (aka `database`), `username`, `password` |
| `redis` | (any) | (none) | `host`, `port`, `username`, `password` |
| `route` | (any) | `host`, `path`, `port` | |
| `s3` | (any) | (none) | `endpoint`, `region`, `bucket`, `access_key_id`, `secret_key` |
| `service-port` | (any) | `workload`, `port` | `hostname`, `port` |
| `volume` | (any) | (none) | `source` |

These can be found in the default provisioners file. You are encouraged to write your own provisioners and add them to the `.score-k8s` directory (with the `.provisioners.yaml` extension) or contribute them upstream to the [default.provisioners.yaml](https://github.com/score-spec/score-k8s/blob/main/internal/provisioners/default/zz-default.provisioners.yaml) file.

Expand Down

0 comments on commit 577e333

Please sign in to comment.