Commit 283c8366 authored by julienmancuso's avatar julienmancuso Committed by GitHub
Browse files

feat: allow to set dynamo config files (#495)

parent fa7ee14c
......@@ -1524,6 +1524,14 @@ monitoring.options.insecure=true`
args = append(args, opt.dynamoNimDeployment.Spec.DynamoTag)
}
if len(opt.dynamoNimDeployment.Spec.Envs) > 0 {
for _, env := range opt.dynamoNimDeployment.Spec.Envs {
if env.Name == "DYNAMO_CONFIG_PATH" {
args = append(args, "-f", env.Value)
}
}
}
yataiResources := opt.dynamoNimDeployment.Spec.Resources
resources, err := getResourcesConfig(yataiResources)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment