Azure / azure-service-operator

Azure Service Operator allows you to create Azure resources using kubectl
https://azure.github.io/azure-service-operator/
MIT License
741 stars 196 forks source link

Fix for missed secret configuration #4091

Closed theunrepentantgeek closed 4 months ago

theunrepentantgeek commented 4 months ago

What this PR does / why we need it:

Adds configuration for ManagedClusterWindowsProfile to mark adminPassword as a secret.

Fixes #4088

Special notes for your reviewer:

Also adds a heuristic to flag potential fields that should be explicitly configured with $isSecret, to ensure we don't miss one in the future.

How does this PR make you feel: gif