Skip to content

securityContext incorrect when deployed to a Windows node #595

@benpettman

Description

@benpettman

Describe the bug
We are deploying the termination handler on windows spot using the example included in the repo

Steps to reproduce
Build an EKS cluster, create a windows nodegroup, deploy the termination handler using helm

Expected outcome
I expected the daemon set to deploy and run as the linux one does

Actual outcome
Pod errors with the following:

MountVolume.SetUp failed for volume "kube-api-access-nbmft" : chown c:\var\lib\kubelet\pods\1780462d-caeb-4b6d-8425-4d8bc0585ee7\volumes\kubernetes.io~projected\kube-api-access-nbmft..2022_02_24_14_33_26.442943168\token: not supported by windows

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