<p>I need to setup a windows authentication in Kubernetes. And to configure GMSA in K8s for pods and containers in windows, I came across this link:-(<a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/configure-pod-container/configure-gmsa/</a>).</p>

<p>This documentation has a step which confirms to “<strong>Install Webhooks to validate GMSA users</strong>”. To follow this step a linux/unix script is asked to execute which generates certificates, private key and other values and substitue in YAML file which is further executed on a Kubernetes cluster. As mentioned in a screenshot below (part of mentioned link) </p>

<p><a href="https://i.stack.imgur.com/7iuyu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7iuyu.png" alt="enter image description here"></a></p>

<p>Now I have a Kubectl client installed on Windows machine and even all images created and deployed on windows container running on windows server 2019 only. </p>

<p>I cannot execute this unix/linux script to create Webhook from windows machine. Is there any other way to achieve this step. </p>

<p>Thanks</p>

fortanu82
<p>I installed Cygwin (Linux Platform on Windows) to execute the script.</p>
