From e2c8749c3e052399513e5dafb02a6a71e9af155b Mon Sep 17 00:00:00 2001 From: Gerd Oberlechner Date: Tue, 11 Jun 2024 15:04:27 +0200 Subject: [PATCH] add template parameter to control GRPC server (#123) the `ENABLE_GRPC_SERVER` parameter of the `service-template-aro-hcp` template will feed into the `--enable-grpc-server` parameter of the maestro server part of https://issues.redhat.com/browse/ARO-7234 Signed-off-by: Gerd Oberlechner --- templates/service-template-aro-hcp.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/service-template-aro-hcp.yml b/templates/service-template-aro-hcp.yml index 447fb872..f09d4d3a 100755 --- a/templates/service-template-aro-hcp.yml +++ b/templates/service-template-aro-hcp.yml @@ -84,6 +84,11 @@ parameters: description: HTTP server bind port value: "8000" +- nane: ENABLE_GRPC_SERVER + displayName: Enable gRPC Server + description: Enable gRPC server + value: "true" + - name: GRPC_SERVER_BINDPORT displayName: gRPC Server Bindport description: gRPC server bind port @@ -248,6 +253,7 @@ objects: - --enable-ocm-mock=${ENABLE_OCM_MOCK} - --enable-jwt=${ENABLE_JWT} - --enable-https=${ENABLE_HTTPS} + - --enable-grpc-server=${ENABLE_GRPC_SERVER} - --server-hostname=${HTTP_SERVER_HOSTNAME} - --http-server-bindport=${HTTP_SERVER_BINDPORT} - --grpc-server-bindport=${GRPC_SERVER_BINDPORT}