Traefik v3 live configuration in kubernetes

Hello,
how do I configure Traefik on the fly?
I have a file called 004-traefik.yml

#cat 004-traefik.yml 
kind: Deployment
apiVersion: apps/v1
metadata:
  name: traefik-deployment
  labels:
    app: traefik

spec:
  replicas: 1
  selector:
    matchLabels:
      app: traefik
  template:
    metadata:
      labels:
        app: traefik
    spec:
      serviceAccountName: traefik-account
      containers:
        - name: traefik
          image: traefik:v3.2
          args:
            - --api.insecure
            - --providers.kubernetesingress
          ports:
            - name: web
              containerPort: 80
            - name: dashboard
              containerPort: 8080

Let's say I do want Traefic to close port 8080 and redirect http to https.
Can I do It creating another file, let's say 004-b-traefik.yml with the edits (and I will discover what those edits are sooner or later).
Then giving: kubectl apply -f 004-b-traefik.yml
Or is there a better way to configure traefik in k8s?