Skip to content

support impersonation #521

@grosser

Description

@grosser

set these headers from reading kubectl config or from user-passed config:

  "Impersonate-User": "<as>",
  "Impersonate-Group": "<as-groups.join>",
  "Impersonate-Extra-Reason": "<as-user-extra.reason.join>"

as-groups and as-user-extra.reason being arrays

did that locally and it works, it's just clumsy so having the config parser automatically do that and the auth_options support it would be nice

I can make a PR if this sounds sane :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions