Giter Club home page Giter Club logo

Comments (4)

hanygirgis avatar hanygirgis commented on August 17, 2024

I think this article can help (I'm trying to get it working) :
https://www.redhat.com/en/blog/grpc-or-http/2-ingress-connectivity-in-openshift

from chainloop.

migmartri avatar migmartri commented on August 17, 2024

Thanks @hanygirgis for the pointer.

It seems that with H/A proxy we'll have the problem we had with AWS ALB or Google Load Balancer, basically for the gRPC endpoint, we are going to need http2 and TLS termination in the pod.

TLS encryption is doable today in the control-plane and CAS pods, you can provide them using these options in the Helm Chart

tlsConfig:
secret:
# the secret must contains 2 keys: tls.crt and tls.key respectively containing the certificate and private key.
name: ""

This will run the gRPC servers with tls enabled, next, I'd set the cert in the route and enable re-encryption

from chainloop.

migmartri avatar migmartri commented on August 17, 2024

and secured routes https://docs.openshift.com/container-platform/4.8/networking/routes/secured-routes.html#nw-ingress-creating-a-passthrough-route_secured-routes

from chainloop.

migmartri avatar migmartri commented on August 17, 2024

We do support the three kinds of routes, edges, reencrypt and passthrough

The latter two can be enabled with a combination of a) setting server certs for CAS and Controlplane

cas:
  tlsConfig:
    secret:
      name: custom-cert
controlplane:
  tlsConfig:
    secret:
      name: custom-cert
****

and b) adding custom CAs for CP -> CAS communication.

  auth:
    oidc:
      customCAs:
        - |- 
          -----BEGIN CERTIFICATE-----

both of those can be performed via the Helm Chart values.yaml file.

For passthrough, the CLI now supports receiving a custom CA as well to verify the self-signed cert loaded in the pods #1017

from chainloop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.