Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module route protocol support #1083

Open
adamko147 opened this issue Oct 9, 2023 · 0 comments
Open

Module route protocol support #1083

adamko147 opened this issue Oct 9, 2023 · 0 comments

Comments

@adamko147
Copy link

Hello,

when deploying grpc/http2 using mta.yaml, the protocol attribute on route is ignored, while it's working with manifest.yaml. Based on https://docs.cloudfoundry.org/devguide/deploy-apps/manifest-attributes.html#routes the available options for protocol are http1, http2 and tcp

Following manifest works well

---
applications:
- name: test-grpc
  port: 8080
  routes:
  - route: test-grpc-mf.cfapps.us10.hana.ondemand.com
    protocol: http2
  health-check-type: process
  buildpacks:
  - binary_buildpack
  command: ./grpcserver

while similar with mta.yaml won't work

_schema-version: 3.3.0
ID: test-grpc
version: 1.0.0

modules:
  - name: test-grpc
    type: binary
    path: .
    parameters:
      command: ./grpcserver
      routes:
        - route: test-grpc-mta.cfapps.us10.hana.ondemand.com
          protocol: http2

Is there any chance / plan to support protocol in mbt toolchain?

Thank you,
Adam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant