Anotasi Patch Kubectl
#much easier for me was to annotate rather than patch:
kubectl annotate ingress mying kubernetes.io/ingress.class=value --dry-run=client -o yaml
kubectl annotate ingress mying kubernetes.io/ingress.class=value
#add --dry-run -o yaml flags if you want to test it before applying the change.
DreamCoder