How to enable HSTS (HTTP Strict Transport Security) on kubelet

I have found security issue “HSTS Missing From HTTPS Server (RFC 6797)” on kubelet port (10250). Please kindly help to fix this.

Cluster information:

Kubernetes version: 1.23.4
Cloud being used: bare-metal
Installation method:
Host OS: redhat
CNI and version: flannel v0.16.3
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.