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

Update the examples/ directory #10623

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions examples/example-direct-response-route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ kind: Gateway
apiVersion: gateway.networking.k8s.io/v1
metadata:
name: http
namespace: gloo-system
spec:
gatewayClassName: kgateway
listeners:
Expand All @@ -18,15 +17,13 @@ apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: httpbin
namespace: httpbin
labels:
app: httpbin
spec:
hostnames:
- "www.example.com"
parentRefs:
- name: gw
namespace: default
rules:
- matches:
- path:
Expand All @@ -50,7 +47,6 @@ apiVersion: gateway.kgateway.dev/v1alpha1
kind: DirectResponse
metadata:
name: robots-txt
namespace: httpbin
spec:
status: 200
body: "User-agent: *\nDisallow: /custom\n"
22 changes: 0 additions & 22 deletions examples/helm-install.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions examples/httpbin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,36 +72,3 @@ spec:
- "tail"
- "-f"
- "/dev/null"
---
kind: Gateway
apiVersion: gateway.networking.k8s.io/v1
metadata:
name: http
namespace: httpbin
spec:
gatewayClassName: kgateway
listeners:
- protocol: HTTP
port: 8080
name: http
allowedRoutes:
namespaces:
from: All
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
name: httpbin
namespace: httpbin
labels:
example: httpbin-route
spec:
parentRefs:
- name: http
namespace: httpbin
hostnames:
- "www.example.com"
rules:
- backendRefs:
- name: httpbin
port: 8000