From f91f7754f53a90f8df5e10b3b36edc159b0becdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Th=C3=B6mmes?= Date: Tue, 22 Oct 2024 16:02:54 +0200 Subject: [PATCH] Add protocol field to app service spec (#929) The protocol field allows users to specify whether they're serving HTTP or HTTP2. Co-authored-by: Andrew Starr-Bochicchio --- .../resources/apps/models/app_service_spec.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/specification/resources/apps/models/app_service_spec.yml b/specification/resources/apps/models/app_service_spec.yml index 73bb70b7..c91d2646 100755 --- a/specification/resources/apps/models/app_service_spec.yml +++ b/specification/resources/apps/models/app_service_spec.yml @@ -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: |-