mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-21 15:30:19 +00:00
traefik v3 requires updating the CRDs API group version
This commit is contained in:
parent
916df74458
commit
d86eb06702
17 changed files with 39 additions and 17 deletions
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
metadata:
|
metadata:
|
||||||
name: default-headers
|
name: default-headers
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: portainer
|
name: portainer
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
metadata:
|
metadata:
|
||||||
name: default-headers
|
name: default-headers
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: wg-easy
|
name: wg-easy
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRouteUDP
|
kind: IngressRouteUDP
|
||||||
metadata:
|
metadata:
|
||||||
name: wg-easy
|
name: wg-easy
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
metadata:
|
metadata:
|
||||||
name: bouncer
|
name: bouncer
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
metadata:
|
metadata:
|
||||||
name: default-headers
|
name: default-headers
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: gotify
|
name: gotify
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
metadata:
|
metadata:
|
||||||
name: default-headers
|
name: default-headers
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: proxmox
|
name: proxmox
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: traefik-dashboard
|
name: traefik-dashboard
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
metadata:
|
metadata:
|
||||||
name: traefik-dashboard-basicauth
|
name: traefik-dashboard-basicauth
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
metadata:
|
metadata:
|
||||||
name: default-headers
|
name: default-headers
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
metadata:
|
metadata:
|
||||||
name: default-headers
|
name: default-headers
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: pihole
|
name: pihole
|
||||||
|
|
|
@ -2,3 +2,25 @@
|
||||||
Make sure that you watch the video instructions carefully as you need to amend the files correctly.
|
Make sure that you watch the video instructions carefully as you need to amend the files correctly.
|
||||||
YOU CANNOT JUST RUN THIS SCRIPT!
|
YOU CANNOT JUST RUN THIS SCRIPT!
|
||||||
Incorrect use can result in you being locked out of Lets Encrypt for a period of time.
|
Incorrect use can result in you being locked out of Lets Encrypt for a period of time.
|
||||||
|
|
||||||
|
# NOTE FOR TRAEFIK v3 #
|
||||||
|
Many guides out there (including, until recently, this repo) reference an older version of the Kubernetes CRDs API group.
|
||||||
|
This older version is [deprecated](https://doc.traefik.io/traefik/master/migration/v2-to-v3/#kubernetes-crds-api-group-traefikcontainous)
|
||||||
|
as of Traefik v3 (released [29 April 2024](https://github.com/traefik/traefik/releases/tag/v3.0.0)) and must be updated to the new version
|
||||||
|
in your IngressRoute, Middleware, ServersTransport, etc. yaml manifests for Traefik. Any resources with the deprecated version will not
|
||||||
|
be recognized by Traefik v3.
|
||||||
|
|
||||||
|
Old, deprecated version:
|
||||||
|
```yaml
|
||||||
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
|
```
|
||||||
|
|
||||||
|
New, supported version:
|
||||||
|
```yaml
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
```
|
||||||
|
This new version is also supported in later releases of Traefik v2, so you can update your Traefik-related manifests
|
||||||
|
to the new version and apply the updated manifests before upgrading your Traefik deployment.
|
||||||
|
|
||||||
|
It may be worth reviewing other v2 to v3 migration notes provided by Traefik:
|
||||||
|
[Traefik v2 to v3 Migration](https://doc.traefik.io/traefik/master/migration/v2-to-v3/)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
metadata:
|
metadata:
|
||||||
name: default-headers
|
name: default-headers
|
||||||
|
@ -16,7 +16,7 @@ spec:
|
||||||
customRequestHeaders:
|
customRequestHeaders:
|
||||||
X-Forwarded-Proto: https
|
X-Forwarded-Proto: https
|
||||||
---
|
---
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: unifi-controller
|
name: unifi-controller
|
||||||
|
|
Loading…
Reference in a new issue