Skip to content

Commit

Permalink
add template parameter to control GRPC server (#123)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
geoberle authored Jun 11, 2024
1 parent 469bc1a commit e2c8749
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/service-template-aro-hcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit e2c8749

Please sign in to comment.