Skip to content
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
5 changes: 1 addition & 4 deletions k8s/30-netowrk-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ spec:
- from:
- podSelector:
matchLabels:
app.kubernetes.io/component: controller
namespaceSelector:
matchLabels:
app.kubernetes.io/name: ingress-nginx
gateway.envoyproxy.io/owning-gateway-name: public
ports:
- protocol: TCP
port: 80
Expand Down
18 changes: 18 additions & 0 deletions k8s/80-gateway.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: ifconfig-wildcard
namespace: ifconfig
spec:
parentRefs:
- name: public
kind: Gateway
namespace: ingress-gateway
sectionName: wildcard-ingress
hostnames:
- ifconfig.k8s.pmarques.info
rules:
- backendRefs:
- name: ifconfig
port: 80
21 changes: 0 additions & 21 deletions k8s/90-ingress.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion k8s/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ resources:
- 10-service.yaml
- 20-hpa.yaml
- 30-netowrk-policy.yaml
- 90-ingress.yaml
- 80-gateway.yaml

Loading