microsoft / WhatTheHack

A collection of challenge based hack-a-thons including student guide, coach guide, lecture presentations, sample/instructional code and templates. Please visit the What The Hack website at: https://aka.ms/wth
MIT License
1.77k stars 874 forks source link

[Suggestion]: Add password length constraint for the build machine #831

Open drcircuit opened 7 months ago

drcircuit commented 7 months ago

Which Hack?

001-IntroToKubernetes

Suggestion

Add the minLength property of 12 for the admin password user input. If a shorter one is provided, the previous version would still deploy the machine, but the password would not be configured, I also added the complexity requirements in the description to make the user aware of these requirements, you can still choose a password that doesn't match the criteria, then the machine will be created but no password will be configured.

Code of Conduct

drcircuit commented 7 months ago

Added a pr for this.

drcircuit commented 7 months ago

Phone was too eager