Azure / azure-service-operator

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

Fix for missed secret configuration #4091

Closed theunrepentantgeek closed 3 months ago

theunrepentantgeek commented 3 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