We have set up the POD-IDENTITY on the self-hosted cluster, and we are adding the flags to kube-apiserver, which is required for pod-identity, but whenever we upgrade the cluster, the kube-apiserver is not allowing the duplicate keys;
In the above mentioned keys - --service-account-issuer=https://s3.us-east-2.amazonaws.com/wyyezswwshyxpegianfnorveydsmotak and - --service-account-key-file=/etc/kubernetes/pki/sa-pkcs8.pub are getting removed whenever we upgrade the the kube-apiserver
After the upgrade, we can re-add duplicate entries, but we need these entries to be supported during the upgrade process as well.
What you expected to happen:
Whenever we upgrade the kube-apiserver, we should not see this kind of behavior.