fix: add warning for long secret names #359

Merged
decentral1se merged 14 commits from rix/abra:add-secret-length-linting into main 2024-04-06 21:41:37 +00:00
1 changed files with 4 additions and 0 deletions
Showing only changes of commit 29bd057460 - Show all commits

View File

@ -92,6 +92,10 @@ var appSecretGenerateCommand = cli.Command{
logrus.Fatal(err)
}
if err := secret.EnsureSecretLengths(secretsConfig, internal.Domain, config.SanitiseAppName(app.Name)); err != nil {
logrus.Fatal(err)
}
secretsToCreate := make(map[string]string)
if allSecrets {
secretsToCreate = secretsConfig