Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
283c8366
Commit
283c8366
authored
Apr 09, 2025
by
julienmancuso
Committed by
GitHub
Apr 09, 2025
Browse files
feat: allow to set dynamo config files (#495)
parent
fa7ee14c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
deploy/dynamo/operator/internal/controller/dynamonimdeployment_controller.go
...tor/internal/controller/dynamonimdeployment_controller.go
+8
-0
No files found.
deploy/dynamo/operator/internal/controller/dynamonimdeployment_controller.go
View file @
283c8366
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment