Skip to content

Conversation

@Filip7656
Copy link

@Filip7656 Filip7656 commented Jan 2, 2026

This PR adds support for Gateway API and exposing both HTTP and gRPC traffic through a single Gateway API HTTPRoute in the Helm chart.
Additionaly i had to fix problems with readme-generator by fixing vault params.

Configuration is made up to bitnami standards
Params added in values.yaml

  ## Gateway API HTTP routing parameters
  ## ref: https://gateway-api.sigs.k8s.io/guides/http-routing/
  ## We dont have to create two http routes for HTTP and API because when we use Gateway API, we can use the same HTTPRoute for both.
  ##
  httpRoute:
    ## @param cas.httpRoute.enabled Enable HTTPRoute generation for CAS
    ##
    enabled: false
    ## @param cas.httpRoute.annotations Additional annotations for the HTTPRoute resource
    ##
    annotations: {}
    ## @param cas.httpRoute.labels Additional labels for the HTTPRoute resource
    ##
    labels: {}
    ## @param cas.httpRoute.parentRefs Gateways the HTTPRoute is attached to. If unspecified, it'll be attached to Gateway named 'gateway' in the same namespace.
    ## e.g:
    ## parentRefs:
    ##   - name: my-gateway
    ##     sectionName: http
    ##     namespace: default
    ##
    parentRefs: []
    ## @param cas.httpRoute.hostnames [array] List of hostnames matching HTTP header
    ##
    hostnames:
      - cas.dev.local
    ## @param cas.httpRoute.matches [array] List of match rules applied to the HTTPRoute for the default svc backend reference
    ##
    matches:
      - path:
          type: PathPrefix
          value: /
    ## @param cas.httpRoute.filters List of filter rules applied to the HTTPRoute for the default svc backend reference
    ##
    filters: []
    ## @param cas.httpRoute.extraRules List of extra rules applied to the HTTPRoute
    ## e.g:
    ## extraRules:
    ##   - matches:
    ##       - path:
    ##           type: PathPrefix
    ##           value: /login
    ##     filters:
    ##       - type: RequestHeaderModifier
    ##         requestHeaderModifier:
    ##           set:
    ##             - name: My-Overwrite-Header
    ##               value: this-is-the-only-value
    ##           remove:
    ##             - User-Agent
    ##     backendRefs:
    ##       - name: chainloop-cas
    ##         port: 80
    ##
    extraRules: []

Changes are connected with:
#2641 #2642

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

Successfully merging this pull request may close these issues.

1 participant