Add validation to secret names
This commit is contained in:
@@ -172,7 +172,7 @@ func ExecutePipeline(pe PipelineExecution, db database.Database, pipelineConf co
|
||||
}
|
||||
|
||||
for _, secret := range secrets {
|
||||
// TODO: this doesn't validate either of these strings
|
||||
// the env name is validated to be just uppercase letters, numbers, and underscores on ingestion
|
||||
env = append(env, fmt.Sprintf("%v=%v", strings.ToUpper(secret.Name), secret.Secret))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user