Skip to content

Duplicate Key Entry for kube-apiserver is not allowed during upgrade(In which the keys are used for pod-identity) #261

@komalbhagavan

Description

@komalbhagavan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions