Skip to content
Open
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
18 changes: 18 additions & 0 deletions deploy/manifests/balancer/base/httproute.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: balancer
spec:
parentRefs:
- name: main-gateway
namespace: envoy-gateway-system
hostnames:
- HOSTNAME_PLACEHOLDER
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: balancer
port: 80
23 changes: 0 additions & 23 deletions deploy/manifests/balancer/base/ingress.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion deploy/manifests/balancer/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ resources:
- namespace.yaml
- deployment.yaml
- service.yaml
- ingress.yaml
- httproute.yaml
2 changes: 1 addition & 1 deletion deploy/manifests/balancer/base/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
ports:
- name: http
port: 8000
port: 80
targetPort: 8000
selector:
app: balancer
26 changes: 0 additions & 26 deletions deploy/manifests/balancer/overlays/dev/kustomization.yaml

This file was deleted.

20 changes: 20 additions & 0 deletions deploy/manifests/balancer/overlays/production/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: balancer

resources:
- ../../base

images:
- name: ghcr.io/codeforphilly/balancer-main/app
newTag: latest

patches:
- target:
kind: HTTPRoute
name: balancer
patch: |-
- op: replace
path: /spec/hostnames/0
value: balancerproject.org
20 changes: 20 additions & 0 deletions deploy/manifests/balancer/overlays/sandbox/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: balancer

resources:
- ../../base

images:
- name: ghcr.io/codeforphilly/balancer-main/app
newTag: latest

patches:
- target:
kind: HTTPRoute
name: balancer
patch: |-
- op: replace
path: /spec/hostnames/0
value: sandbox.balancerproject.org
Loading