Is that possible to install a nexus chart with a given initial password?

I found another way to do that. It might be a trick way. But it works. Give it a environment variable NEXUS_SECURITY_RANDOMPASSWORD which value is false.

See also nexus-public/StaticSecurityConfigurationSource.groovy at 26aa3a2b54ffe524a5e7df164d847e268b624d21 · sonatype/nexus-public · GitHub.