• Eric Chiang's avatar
    storage/kubernetes: fix conflict error detection in TRP creation · a7b8e52b
    Eric Chiang authored
    PR #815 fixed the Kubernetes storage implementation by correctly
    returning storage.ErrAlreadyExists on POST conflicts. This caused a
    regression in TPR creation (#822) when some, but not all, of the
    resources already existed. E.g. for users upgrading from old
    versions of dex.
    
    Fixes #822
    a7b8e52b
storage.go 13.3 KB