Remove deprecated code

This commit is contained in:
Ludovic Fernandez 2023-03-22 16:40:06 +01:00 committed by GitHub
parent a3bcf0f39e
commit 8b47c5adf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
102 changed files with 87 additions and 16995 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,93 +0,0 @@
# This IngressRoute is expected to be ignored, because it already declared in API GroupVersion "traefik.io/v1alpha1".
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: test.route
namespace: default
labels:
app: traefik
spec:
entryPoints:
- web
routes:
- match: Host(`collision`)
kind: Rule
priority: 12
services:
- name: whoami
port: 80
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: test.route.containous
namespace: default
labels:
app: traefik
spec:
entryPoints:
- web
routes:
- match: Host(`bar.com`) && PathPrefix(`/foo`)
kind: Rule
priority: 12
middlewares:
- name: stripprefix-containous
services:
- name: whoami
port: 80
tls:
options:
name: mytlsoption-containous
store:
name: mytlsstore-containous
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: stripprefix-containous
namespace: default
labels:
app: traefik
spec:
stripPrefix:
prefixes:
- /tobestripped
---
apiVersion: traefik.containo.us/v1alpha1
kind: TLSOption
metadata:
name: mytlsoption-containous
namespace: default
labels:
app: traefik
spec:
minVersion: VersionTLS12
sniStrict: true
cipherSuites:
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
- TLS_RSA_WITH_AES_256_GCM_SHA384
---
apiVersion: traefik.containo.us/v1alpha1
kind: TLSStore
metadata:
name: mytlsstore-containous
namespace: default
labels:
app: traefik
spec:
defaultCertificate:
secretName: tls-cert

View file

@ -1,22 +0,0 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
name: test3.route-containous
namespace: default
spec:
entryPoints:
- footcp
routes:
- match: HostSNI(`*`)
services:
- name: whoamitcp
namespace: default
port: 8080
- name: externalname-svc
port: 9090
tls:
options:
name: mytlsoption-containous
store:
name: mytlsstore-containous

View file

@ -1,16 +0,0 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteUDP
metadata:
name: test3.route-containous
namespace: default
spec:
entryPoints:
- fooudp
routes:
- services:
- name: whoamiudp
namespace: default
port: 8090
- name: externalname-svc
port: 9090

View file

@ -26,37 +26,6 @@
"using": [
"web"
]
},
"default-test-route-containous-1bc3efa892379bb93c6e@kubernetescrd": {
"entryPoints": [
"web"
],
"middlewares": [
"default-stripprefix-containous@kubernetescrd"
],
"service": "default-test-route-containous-1bc3efa892379bb93c6e",
"rule": "Host(`bar.com`) \u0026\u0026 PathPrefix(`/foo`)",
"priority": 12,
"tls": {
"options": "default-mytlsoption-containous"
},
"status": "enabled",
"using": [
"web"
]
}
},
"middlewares": {
"default-stripprefix-containous@kubernetescrd": {
"stripPrefix": {
"prefixes": [
"/tobestripped"
]
},
"status": "enabled",
"usedBy": [
"default-test-route-containous-1bc3efa892379bb93c6e@kubernetescrd"
]
}
},
"services": {
@ -76,7 +45,7 @@
"url": "http://10.42.0.3:80"
},
{
"url": "http://10.42.0.7:80"
"url": "http://10.42.0.6:80"
}
],
"passHostHeader": true,
@ -90,35 +59,11 @@
],
"serverStatus": {
"http://10.42.0.3:80": "UP",
"http://10.42.0.7:80": "UP"
}
},
"default-test-route-containous-1bc3efa892379bb93c6e@kubernetescrd": {
"loadBalancer": {
"servers": [
{
"url": "http://10.42.0.3:80"
},
{
"url": "http://10.42.0.7:80"
}
],
"passHostHeader": true,
"responseForwarding": {
"flushInterval": "100ms"
}
},
"status": "enabled",
"usedBy": [
"default-test-route-containous-1bc3efa892379bb93c6e@kubernetescrd"
],
"serverStatus": {
"http://10.42.0.3:80": "UP",
"http://10.42.0.7:80": "UP"
"http://10.42.0.6:80": "UP"
}
},
"noop@internal": {
"status": "enabled"
}
}
}
}

View file

@ -27,24 +27,6 @@
"web"
]
},
"default-test-route-containous-1bc3efa892379bb93c6e@kubernetescrd": {
"entryPoints": [
"web"
],
"middlewares": [
"default-stripprefix-containous@kubernetescrd"
],
"service": "default-test-route-containous-1bc3efa892379bb93c6e",
"rule": "Host(`bar.com`) \u0026\u0026 PathPrefix(`/foo`)",
"priority": 12,
"tls": {
"options": "default-mytlsoption-containous"
},
"status": "enabled",
"using": [
"web"
]
},
"default-test2-route-23c7f4c450289ee29016@kubernetescrd": {
"entryPoints": [
"web"
@ -112,17 +94,6 @@
"default-test2-route-23c7f4c450289ee29016@kubernetescrd"
]
},
"default-stripprefix-containous@kubernetescrd": {
"stripPrefix": {
"prefixes": [
"/tobestripped"
]
},
"status": "enabled",
"usedBy": [
"default-test-route-containous-1bc3efa892379bb93c6e@kubernetescrd"
]
},
"default-stripprefix2@kubernetescrd": {
"stripPrefix": {
"prefixes": [
@ -165,10 +136,10 @@
"loadBalancer": {
"servers": [
{
"url": "http://10.42.0.4:80"
"url": "http://10.42.0.3:80"
},
{
"url": "http://10.42.0.6:80"
"url": "http://10.42.0.7:80"
}
],
"passHostHeader": true,
@ -181,42 +152,18 @@
"default-test-route-6b204d94623b3df4370c@kubernetescrd"
],
"serverStatus": {
"http://10.42.0.4:80": "UP",
"http://10.42.0.6:80": "UP"
}
},
"default-test-route-containous-1bc3efa892379bb93c6e@kubernetescrd": {
"loadBalancer": {
"servers": [
{
"url": "http://10.42.0.4:80"
},
{
"url": "http://10.42.0.6:80"
}
],
"passHostHeader": true,
"responseForwarding": {
"flushInterval": "100ms"
}
},
"status": "enabled",
"usedBy": [
"default-test-route-containous-1bc3efa892379bb93c6e@kubernetescrd"
],
"serverStatus": {
"http://10.42.0.4:80": "UP",
"http://10.42.0.6:80": "UP"
"http://10.42.0.3:80": "UP",
"http://10.42.0.7:80": "UP"
}
},
"default-test2-route-23c7f4c450289ee29016@kubernetescrd": {
"loadBalancer": {
"servers": [
{
"url": "http://10.42.0.4:80"
"url": "http://10.42.0.3:80"
},
{
"url": "http://10.42.0.6:80"
"url": "http://10.42.0.7:80"
}
],
"passHostHeader": true,
@ -229,18 +176,18 @@
"default-test2-route-23c7f4c450289ee29016@kubernetescrd"
],
"serverStatus": {
"http://10.42.0.4:80": "UP",
"http://10.42.0.6:80": "UP"
"http://10.42.0.3:80": "UP",
"http://10.42.0.7:80": "UP"
}
},
"default-testst-route-60ad45fcb5fc1f5f3629@kubernetescrd": {
"loadBalancer": {
"servers": [
{
"url": "http://10.42.0.4:80"
"url": "http://10.42.0.3:80"
},
{
"url": "http://10.42.0.6:80"
"url": "http://10.42.0.7:80"
}
],
"passHostHeader": true,
@ -254,18 +201,18 @@
"default-testst-route-60ad45fcb5fc1f5f3629@kubernetescrd"
],
"serverStatus": {
"http://10.42.0.4:80": "UP",
"http://10.42.0.6:80": "UP"
"http://10.42.0.3:80": "UP",
"http://10.42.0.7:80": "UP"
}
},
"default-whoami-80@kubernetescrd": {
"loadBalancer": {
"servers": [
{
"url": "http://10.42.0.4:80"
"url": "http://10.42.0.3:80"
},
{
"url": "http://10.42.0.6:80"
"url": "http://10.42.0.7:80"
}
],
"passHostHeader": true,
@ -275,8 +222,8 @@
},
"status": "enabled",
"serverStatus": {
"http://10.42.0.4:80": "UP",
"http://10.42.0.6:80": "UP"
"http://10.42.0.3:80": "UP",
"http://10.42.0.7:80": "UP"
}
},
"default-wrr1@kubernetescrd": {
@ -328,22 +275,6 @@
"using": [
"footcp"
]
},
"default-test3.route-containous-673acf455cb2dab0b43a@kubernetescrd": {
"entryPoints": [
"footcp"
],
"service": "default-test3.route-containous-673acf455cb2dab0b43a",
"rule": "HostSNI(`*`)",
"priority": -1,
"tls": {
"passthrough": false,
"options": "default-mytlsoption-containous"
},
"status": "enabled",
"using": [
"footcp"
]
}
},
"tcpServices": {
@ -364,7 +295,7 @@
"address": "10.42.0.2:8080"
},
{
"address": "10.42.0.3:8080"
"address": "10.42.0.4:8080"
}
]
},
@ -387,47 +318,6 @@
"usedBy": [
"default-test3.route-673acf455cb2dab0b43a@kubernetescrd"
]
},
"default-test3.route-containous-673acf455cb2dab0b43a-externalname-svc-9090@kubernetescrd": {
"loadBalancer": {
"servers": [
{
"address": "domain.com:9090"
}
]
},
"status": "enabled"
},
"default-test3.route-containous-673acf455cb2dab0b43a-whoamitcp-8080@kubernetescrd": {
"loadBalancer": {
"servers": [
{
"address": "10.42.0.2:8080"
},
{
"address": "10.42.0.3:8080"
}
]
},
"status": "enabled"
},
"default-test3.route-containous-673acf455cb2dab0b43a@kubernetescrd": {
"weighted": {
"services": [
{
"name": "default-test3.route-containous-673acf455cb2dab0b43a-whoamitcp-8080",
"weight": 1
},
{
"name": "default-test3.route-containous-673acf455cb2dab0b43a-externalname-svc-9090",
"weight": 1
}
]
},
"status": "enabled",
"usedBy": [
"default-test3.route-containous-673acf455cb2dab0b43a@kubernetescrd"
]
}
},
"udpRouters": {
@ -440,16 +330,6 @@
"using": [
"fooudp"
]
},
"default-test3.route-containous-0@kubernetescrd": {
"entryPoints": [
"fooudp"
],
"service": "default-test3.route-containous-0",
"status": "enabled",
"using": [
"fooudp"
]
}
},
"udpServices": {
@ -470,7 +350,7 @@
"address": "10.42.0.5:8090"
},
{
"address": "10.42.0.7:8090"
"address": "10.42.0.6:8090"
}
]
},
@ -493,47 +373,6 @@
"usedBy": [
"default-test3.route-0@kubernetescrd"
]
},
"default-test3.route-containous-0-externalname-svc-9090@kubernetescrd": {
"loadBalancer": {
"servers": [
{
"address": "domain.com:9090"
}
]
},
"status": "enabled"
},
"default-test3.route-containous-0-whoamiudp-8090@kubernetescrd": {
"loadBalancer": {
"servers": [
{
"address": "10.42.0.5:8090"
},
{
"address": "10.42.0.7:8090"
}
]
},
"status": "enabled"
},
"default-test3.route-containous-0@kubernetescrd": {
"weighted": {
"services": [
{
"name": "default-test3.route-containous-0-whoamiudp-8090",
"weight": 1
},
{
"name": "default-test3.route-containous-0-externalname-svc-9090",
"weight": 1
}
]
},
"status": "enabled",
"usedBy": [
"default-test3.route-containous-0@kubernetescrd"
]
}
}
}
}

View file

@ -124,10 +124,10 @@
"loadBalancer": {
"servers": [
{
"url": "http://10.42.0.6:80"
"url": "http://10.42.0.3:80"
},
{
"url": "http://10.42.0.7:80"
"url": "http://10.42.0.4:80"
}
],
"passHostHeader": true,
@ -137,8 +137,8 @@
},
"status": "enabled",
"serverStatus": {
"http://10.42.0.6:80": "UP",
"http://10.42.0.7:80": "UP"
"http://10.42.0.3:80": "UP",
"http://10.42.0.4:80": "UP"
}
},
"noop@internal": {
@ -239,7 +239,7 @@
"address": "10.42.0.2:8080"
},
{
"address": "10.42.0.4:8080"
"address": "10.42.0.6:8080"
}
]
},