Try it a different way (also doesn't work)
This reverts commit be76ff95d4
.
This commit is contained in:
parent
be76ff95d4
commit
4bc1ef4591
|
@ -98,27 +98,13 @@ apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
namespace: riju
|
namespace: riju
|
||||||
name: riju-proxy
|
name: riju-proxy
|
||||||
|
annotations:
|
||||||
|
metallb.universe.tf/allow-shared-ip: main
|
||||||
spec:
|
spec:
|
||||||
|
type: LoadBalancer
|
||||||
selector:
|
selector:
|
||||||
app: riju-proxy
|
app: riju-proxy
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
port: 3128
|
port: 3128
|
||||||
targetPort: 3128
|
targetPort: 3128
|
||||||
|
|
||||||
---
|
|
||||||
kind: IngressRoute
|
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
|
||||||
metadata:
|
|
||||||
namespace: riju
|
|
||||||
name: riju-proxy
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- proxy
|
|
||||||
routes:
|
|
||||||
- kind: Rule
|
|
||||||
match: "PathPrefix(`/`)"
|
|
||||||
services:
|
|
||||||
- namespace: riju
|
|
||||||
name: riju-proxy
|
|
||||||
port: 3128
|
|
||||||
|
|
|
@ -7,13 +7,6 @@ metadata:
|
||||||
data:
|
data:
|
||||||
traefik.yaml: |
|
traefik.yaml: |
|
||||||
entryPoints:
|
entryPoints:
|
||||||
proxy:
|
|
||||||
address: ":3128"
|
|
||||||
http:
|
|
||||||
tls:
|
|
||||||
certResolver: riju
|
|
||||||
domains:
|
|
||||||
- main: k8s.riju.codes
|
|
||||||
http:
|
http:
|
||||||
address: ":8000"
|
address: ":8000"
|
||||||
https:
|
https:
|
||||||
|
|
|
@ -119,13 +119,13 @@ apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
namespace: traefik
|
namespace: traefik
|
||||||
name: traefik
|
name: traefik
|
||||||
|
annotations:
|
||||||
|
metallb.universe.tf/allow-shared-ip: main
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
selector:
|
selector:
|
||||||
app: traefik
|
app: traefik
|
||||||
ports:
|
ports:
|
||||||
- port: 3128
|
|
||||||
name: squid
|
|
||||||
- port: 80
|
- port: 80
|
||||||
name: http
|
name: http
|
||||||
targetPort: 8000
|
targetPort: 8000
|
||||||
|
|
Loading…
Reference in New Issue