Giter Site home page Giter Site logo

Comments (8)

dprotaso avatar dprotaso commented on July 18, 2024 2

h2c conformance test - kubernetes-sigs/gateway-api#2456

websocket conformance test - kubernetes-sigs/gateway-api#2495

from net-gateway-api.

github-actions avatar github-actions commented on July 18, 2024

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.

from net-gateway-api.

knative-prow-robot avatar knative-prow-robot commented on July 18, 2024

This issue or pull request is stale because it has been open for 90 days with no activity.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close

/lifecycle stale

from net-gateway-api.

anhdle14 avatar anhdle14 commented on July 18, 2024

I currently want to make the service to be exposed so that 80 -> 443 -> https automatically with TLS Termination at Gateway level. However I couldn't able to do anything with config-networking, config-gateway, config-domain.

I was able to make it work with http-80 though the HTTPRoute generated are only using 80. I want to be able to generate using this format:

httpbin redirect httproute sample
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  name: 80-http-httpbin
  namespace: httpbin
spec:
  hostnames:
    - "httpbin.ts.anhdle14.me"
  parentRefs:
    - name: l7-ts-gateway
      sectionName: http
      namespace: istio-system
  rules:
    - filters:
        - type: RequestRedirect
          requestRedirect:
            scheme: https
            statusCode: 301
            port: 443
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  name: 443-https-httpbin
  namespace: httpbin
spec:
  hostnames:
    - "httpbin.ts.anhdle14.me"
  parentRefs:
    - name: l7-ts-gateway
      sectionName: https
      namespace: istio-system
  rules:
    - backendRefs:
        - name: httpbin
          port: 80
What being currently generated now.
# Please edit the object below. Lines beginning with a '#' will be ignored,
# and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures.
#
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  annotations:
    networking.internal.knative.dev/rollout: '{"configurations":[{"configurationName":"hello","percent":100,"revisions":[{"revisionName":"hello-00001","percent":100}],"stepParams":{}}]}'
    networking.knative.dev/ingress.class: gateway-api.ingress.networking.knative.dev
    serving.knative.dev/creator: [email protected]
    serving.knative.dev/lastModifier: [email protected]
  creationTimestamp: "2023-04-02T19:20:34Z"
  generation: 3
  labels:
    networking.knative.dev/visibility: ""
    serving.knative.dev/route: hello
    serving.knative.dev/routeNamespace: default
    serving.knative.dev/service: hello
  name: hello.default.knative.ts.anhdle14.me
  namespace: default
spec:
  hostnames:
  - hello.default.knative.ts.anhdle14.me
  parentRefs:
  - group: gateway.networking.k8s.io
    kind: Gateway
    sectionName: http # <----------------- CAN SEPCIFY THE LISTENER HERE. BUT MISSING.
    name: knative-gateway
    namespace: istio-system
  rules:
  - backendRefs:
    - filters:
      - requestHeaderModifier:
          set:
          - name: Knative-Serving-Revision
            value: hello-00001
          - name: Knative-Serving-Namespace
            value: default
        type: RequestHeaderModifier
      group: ""
      kind: Service
      name: hello-00001
      port: 80
      weight: 100
    filters:
    - requestHeaderModifier:
        set:
        - name: K-Network-Hash
          value: d5e6e76864e0485d5d3e37426c6f081d0efba24af58e6a9285cb6cc55cb64dc9
      type: RequestHeaderModifier
    matches:
    - headers:
      - name: K-Network-Hash
        type: Exact
        value: override
      path:
        type: PathPrefix
        value: /
  - backendRefs:
    - filters:
      - requestHeaderModifier:
          set:
          - name: Knative-Serving-Revision
            value: hello-00001
          - name: Knative-Serving-Namespace
            value: default
        type: RequestHeaderModifier
      group: ""
      kind: Service
      name: hello-00001
      port: 80
      weight: 100
    matches:
    - path:
        type: PathPrefix
        value: /

Could we provide anyway to allow config-gateway to allow some templates to be used when generating *Route resource?

from net-gateway-api.

dprotaso avatar dprotaso commented on July 18, 2024

Upstream GEP for backend protocol selection - kubernetes-sigs/gateway-api#1911

from net-gateway-api.

github-actions avatar github-actions commented on July 18, 2024

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.

from net-gateway-api.

dprotaso avatar dprotaso commented on July 18, 2024

/lifecycle frozen

from net-gateway-api.

dprotaso avatar dprotaso commented on July 18, 2024

This is complete

from net-gateway-api.

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.