Skip to content

Commit

Permalink
fix: add missing magnum patch and route
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Carter <[email protected]>
  • Loading branch information
cloudnull committed Aug 12, 2024
1 parent 6f486be commit 7f98ae2
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
25 changes: 25 additions & 0 deletions etc/gateway-api/gateway-patches.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,31 @@
}
}
},
{
"op": "add",
"path": "/spec/listeners/-",
"value": {
"name": "magnum-https",
"port": 443,
"protocol": "HTTPS",
"hostname": "magnum.your.domain.tld",
"allowedRoutes": {
"namespaces": {
"from": "All"
}
},
"tls": {
"certificateRefs": [
{
"group": "",
"kind": "Secret",
"name": "magnum-gw-tls-secret"
}
],
"mode": "Terminate"
}
}
},
{
"op": "add",
"path": "/spec/listeners/-",
Expand Down
17 changes: 17 additions & 0 deletions etc/gateway-api/gateway-routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,23 @@ spec:
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: custom-magnum-gateway-route
namespace: openstack
spec:
parentRefs:
- name: flex-gateway
sectionName: magnum-https
namespace: nginx-gateway
hostnames:
- "magnum.your.domain.tld"
rules:
- backendRefs:
- name: magnum-api
port: 9511
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: custom-neutron-gateway-route
namespace: openstack
Expand Down

0 comments on commit 7f98ae2

Please sign in to comment.