This is the same issue raised [here](https://github.com/kubernetes/website/issues/17597) in the kubernetes website repo. I'm following [this](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#securing-the-service) documentation. Secret gets created when tried using yaml, but not using "kubectl create secret" command. Thought this is the right forum to raise this issue.