• Devan Goodwin's avatar
    Fix unused Secret export logic. · 855a1c17
    Devan Goodwin authored
    The strategy used for the secret store defined custom export logic, and
    had accompanying unit tests. However the secret storage did not actually
    wire this up by setting an ExportStrategy and thus the code was never
    used in the real world.
    
    This change fixes the missing assignment and adds testing at a higher
    level to ensure any uses of the generic registry.Store that we expect to
    have an ExportStrategy do, and no others.
    
    Several other strategies in the RBAC package also appeared to have
    unwired Export logic, however their implementations were all empty
    leading me to believe that these are not considered exportable. The
    empty methods have now been removed.
    855a1c17
strategy.go 3.34 KB