mirror of
https://github.com/fluxcd/flagger.git
synced 2026-02-14 18:10:00 +00:00
Merge pull request #1835 from fluxcd/traefik-update
Update traefik.containo.us to traefik.io
This commit is contained in:
@@ -197,7 +197,7 @@ rules:
|
||||
- patch
|
||||
- delete
|
||||
- apiGroups:
|
||||
- traefik.containo.us
|
||||
- traefik.io
|
||||
resources:
|
||||
- traefikservices
|
||||
verbs:
|
||||
|
||||
@@ -63,7 +63,7 @@ helm upgrade -i flagger-loadtester flagger/loadtester \
|
||||
Create Traefik IngressRoute that references TraefikService generated by Flagger \(replace `app.example.com` with your own domain\):
|
||||
|
||||
```yaml
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: podinfo
|
||||
@@ -177,7 +177,7 @@ horizontalpodautoscaler.autoscaling/podinfo-primary
|
||||
service/podinfo
|
||||
service/podinfo-canary
|
||||
service/podinfo-primary
|
||||
traefikservice.traefik.containo.us/podinfo
|
||||
traefikservice.traefik.io/podinfo
|
||||
```
|
||||
|
||||
## Automated canary promotion
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package traefik
|
||||
|
||||
const (
|
||||
GroupName = "traefik.containo.us"
|
||||
GroupName = "traefik.io"
|
||||
)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// +k8s:deepcopy-gen=package
|
||||
|
||||
// Package v1alpha1 is the v1alpha1 version of the API.
|
||||
// +groupName=traefik.containo.us
|
||||
// +groupName=traefik.io
|
||||
package v1alpha1
|
||||
|
||||
@@ -31,7 +31,7 @@ type TraefikV1alpha1Interface interface {
|
||||
TraefikServicesGetter
|
||||
}
|
||||
|
||||
// TraefikV1alpha1Client is used to interact with features provided by the traefik.containo.us group.
|
||||
// TraefikV1alpha1Client is used to interact with features provided by the traefik.io group.
|
||||
type TraefikV1alpha1Client struct {
|
||||
restClient rest.Interface
|
||||
}
|
||||
|
||||
@@ -141,7 +141,7 @@ func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource
|
||||
case v1alpha3.SchemeGroupVersion.WithResource("trafficsplits"):
|
||||
return &genericInformer{resource: resource.GroupResource(), informer: f.Split().V1alpha3().TrafficSplits().Informer()}, nil
|
||||
|
||||
// Group=traefik.containo.us, Version=v1alpha1
|
||||
// Group=traefik.io, Version=v1alpha1
|
||||
case traefikv1alpha1.SchemeGroupVersion.WithResource("traefikservices"):
|
||||
return &genericInformer{resource: resource.GroupResource(), informer: f.Traefik().V1alpha1().TraefikServices().Informer()}, nil
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
set -o errexit
|
||||
|
||||
TRAEFIK_CHART_VERSION="24.0.0" # traefik 2.10.4
|
||||
TRAEFIK_CHART_VERSION="34.4.1" # traefik 2.10.4
|
||||
REPO_ROOT=$(git rev-parse --show-toplevel)
|
||||
|
||||
mkdir -p ${REPO_ROOT}/bin
|
||||
|
||||
@@ -8,7 +8,7 @@ set -o errexit
|
||||
REPO_ROOT=$(git rev-parse --show-toplevel)
|
||||
|
||||
cat <<EOF | kubectl apply -f -
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: podinfo
|
||||
|
||||
Reference in New Issue
Block a user