Fix for missed secret configuration #4091
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Adds configuration for
ManagedClusterWindowsProfile
to markadminPassword
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](https://camo.githubusercontent.com/ed3d835df9bddfc6cedd406eb8182ed3a44e1294ca4c8e2f8270b74bd65edf72/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f76312e59326c6b505463354d4749334e6a45784d5752334e544933616a46305a7a4a76643256684f57677963586c78596e6c794d445a6c4e6d746d65484a684e4846746444413463435a6c634431324d56396e61575a7a58334e6c59584a6a61435a6a6444316e2f313264313961704a7952736d412f67697068792e676966)