# Migration from traefik 2.1 \> 2.2

**URL:** <https://community.traefik.io/t/migration-from-traefik-2-1-2-2/8541>\
**Category:** Traefik v2\
**Tags:** kubernetes-ingress\
**Created:** [November 11, 2020, 10:19am UTC](https://community.traefik.io/t/migration-from-traefik-2-1-2-2/8541 "2020-11-11T10:19:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![krobbo](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@krobbo](https://community.traefik.io/u/krobbo)\
**Post date:** [November 11, 2020, 10:19am UTC](https://community.traefik.io/t/migration-from-traefik-2-1-2-2/8541/1 "2020-11-11T10:19:58Z")

</div>

Hello, we have just migrated to traefik v2.2, for a k8s applications that uses https we have been creating the ingress route as follows, just ensuring that this is still valid

```auto
  spec:
    entryPoints: []
    routes:
    - kind: Rule
      match: Host(`asdf.com`)
      middlewares: []
      priority: 0
      services:
      - kind: Service
        name: asdf-service
        namespace: asdf
        port: 8080
        scheme: https
    tls: {}

```

The only difference we use to enforce https is the addition of `scheme: https`
