Skip to content

Namespaced gMSA credential spec doesn't work #51

Open
@ionutbalutoiu

Description

Changing the gmsacredentialspecs.windows.k8s.io CRD scope from Cluster to Namespaced at:

results in the admission webhook failing with:

time="2021-11-24T19:57:14Z" level=info msg="refusing to admit pod &Pod{...} with code 500: unable to retrieve the contents of cred spec ns1-gmsa: the server could not find the requested resource"

whenever a container is created using any gMSA credential spec, from any namespace.

Reverting the CRD scope to Cluster, everything is fine.

Metadata

Assignees

No one assigned

    Labels

    lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions