Skip to content

Commit

Permalink
Add protocol field to app service spec (#929)
Browse files Browse the repository at this point in the history
The protocol field allows users to specify whether they're serving HTTP or HTTP2.

Co-authored-by: Andrew Starr-Bochicchio <[email protected]>
  • Loading branch information
markusthoemmes and andrewsomething authored Oct 22, 2024
1 parent ca3e2ac commit f91f775
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions specification/resources/apps/models/app_service_spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ allOf:
health_check:
$ref: app_service_spec_health_check.yml

protocol:
type: string
description: |
The protocol which the service uses to serve traffic on the http_port.
- `HTTP`: The app is serving the HTTP protocol. Default.
- `HTTP2`: The app is serving the HTTP/2 protocol. Currently, this needs to be implemented in the service by serving HTTP/2 cleartext (h2c).
enum:
- HTTP
- HTTP2
example: HTTP

http_port:
type: integer
description: |-
Expand Down

0 comments on commit f91f775

Please sign in to comment.