Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
d70d9acf
Unverified
Commit
d70d9acf
authored
Nov 12, 2025
by
Thomas Montfort
Committed by
GitHub
Nov 13, 2025
Browse files
fix(operator): add back injection of DYN_SYSTEM_ENABLED env var (#4282)
parent
3fa8448b
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
0 deletions
+29
-0
deploy/cloud/operator/docs/footer.md
deploy/cloud/operator/docs/footer.md
+1
-0
deploy/cloud/operator/internal/controller/dynamocomponentdeployment_controller_test.go
...l/controller/dynamocomponentdeployment_controller_test.go
+2
-0
deploy/cloud/operator/internal/dynamo/component_worker.go
deploy/cloud/operator/internal/dynamo/component_worker.go
+4
-0
deploy/cloud/operator/internal/dynamo/graph_test.go
deploy/cloud/operator/internal/dynamo/graph_test.go
+17
-0
deploy/helm/chart/templates/deployment.yaml
deploy/helm/chart/templates/deployment.yaml
+2
-0
deploy/helm/chart/templates/grove-podgangset.yaml
deploy/helm/chart/templates/grove-podgangset.yaml
+2
-0
docs/kubernetes/api_reference.md
docs/kubernetes/api_reference.md
+1
-0
No files found.
deploy/cloud/operator/docs/footer.md
View file @
d70d9acf
...
...
@@ -137,6 +137,7 @@ The operator automatically injects environment variables based on component type
-
**`DYN_SYSTEM_PORT`**
:
`9090`
(automatically enables the system metrics server)
-
**`DYN_SYSTEM_USE_ENDPOINT_HEALTH_STATUS`**
:
`["generate"]`
-
**`DYN_SYSTEM_ENABLED`**
:
`true`
(needed for runtime images 0.6.1 and older)
### Planner Components
...
...
deploy/cloud/operator/internal/controller/dynamocomponentdeployment_controller_test.go
View file @
d70d9acf
...
...
@@ -828,6 +828,7 @@ func TestDynamoComponentDeploymentReconciler_generateLeaderWorkerSet(t *testing.
{
Name
:
commonconsts
.
DynamoNamespaceEnvVar
,
Value
:
"default"
},
{
Name
:
"DYN_PARENT_DGD_K8S_NAME"
,
Value
:
"test-lws-deploy"
},
{
Name
:
"DYN_PARENT_DGD_K8S_NAMESPACE"
,
Value
:
"default"
},
{
Name
:
"DYN_SYSTEM_ENABLED"
,
Value
:
"true"
},
{
Name
:
"DYN_SYSTEM_PORT"
,
Value
:
"9090"
},
{
Name
:
"DYN_SYSTEM_USE_ENDPOINT_HEALTH_STATUS"
,
Value
:
"[
\"
generate
\"
]"
},
{
Name
:
"POD_NAME"
,
ValueFrom
:
&
corev1
.
EnvVarSource
{
...
...
@@ -952,6 +953,7 @@ func TestDynamoComponentDeploymentReconciler_generateLeaderWorkerSet(t *testing.
{
Name
:
commonconsts
.
DynamoNamespaceEnvVar
,
Value
:
"default"
},
{
Name
:
"DYN_PARENT_DGD_K8S_NAME"
,
Value
:
"test-lws-deploy"
},
{
Name
:
"DYN_PARENT_DGD_K8S_NAMESPACE"
,
Value
:
"default"
},
{
Name
:
"DYN_SYSTEM_ENABLED"
,
Value
:
"true"
},
{
Name
:
"DYN_SYSTEM_PORT"
,
Value
:
"9090"
},
{
Name
:
"DYN_SYSTEM_USE_ENDPOINT_HEALTH_STATUS"
,
Value
:
"[
\"
generate
\"
]"
},
{
Name
:
"POD_NAME"
,
ValueFrom
:
&
corev1
.
EnvVarSource
{
...
...
deploy/cloud/operator/internal/dynamo/component_worker.go
View file @
d70d9acf
...
...
@@ -74,6 +74,10 @@ func (w *WorkerDefaults) GetBaseContainer(context ComponentContext) (corev1.Cont
}
container
.
Env
=
append
(
container
.
Env
,
[]
corev1
.
EnvVar
{
{
Name
:
"DYN_SYSTEM_ENABLED"
,
Value
:
"true"
,
},
{
Name
:
"DYN_SYSTEM_USE_ENDPOINT_HEALTH_STATUS"
,
Value
:
"[
\"
generate
\"
]"
,
...
...
deploy/cloud/operator/internal/dynamo/graph_test.go
View file @
d70d9acf
...
...
@@ -1930,6 +1930,10 @@ func TestGenerateGrovePodCliqueSet(t *testing.T) {
Name
:
"DYNAMO_POD_GANG_SET_REPLICAS"
,
Value
:
"1"
,
},
{
Name
:
"DYN_SYSTEM_ENABLED"
,
Value
:
"true"
,
},
{
Name
:
"DYN_SYSTEM_PORT"
,
Value
:
"9090"
,
...
...
@@ -2099,6 +2103,10 @@ func TestGenerateGrovePodCliqueSet(t *testing.T) {
Name
:
"DYNAMO_POD_GANG_SET_REPLICAS"
,
Value
:
"1"
,
},
{
Name
:
"DYN_SYSTEM_ENABLED"
,
Value
:
"true"
,
},
{
Name
:
"DYN_SYSTEM_PORT"
,
Value
:
"9090"
,
...
...
@@ -2811,6 +2819,10 @@ func TestGenerateGrovePodCliqueSet(t *testing.T) {
Name
:
"DYN_SYSTEM_PORT"
,
Value
:
"9090"
,
},
{
Name
:
"DYN_SYSTEM_ENABLED"
,
Value
:
"true"
,
},
{
Name
:
"DYN_SYSTEM_USE_ENDPOINT_HEALTH_STATUS"
,
Value
:
"[
\"
generate
\"
]"
,
...
...
@@ -2967,6 +2979,10 @@ func TestGenerateGrovePodCliqueSet(t *testing.T) {
Name
:
"DYN_SYSTEM_PORT"
,
Value
:
"9090"
,
},
{
Name
:
"DYN_SYSTEM_ENABLED"
,
Value
:
"true"
,
},
{
Name
:
"DYN_SYSTEM_USE_ENDPOINT_HEALTH_STATUS"
,
Value
:
"[
\"
generate
\"
]"
,
...
...
@@ -4937,6 +4953,7 @@ func TestGenerateBasePodSpec_Worker(t *testing.T) {
{
Name
:
commonconsts
.
DynamoNamespaceEnvVar
,
Value
:
""
},
{
Name
:
"DYN_PARENT_DGD_K8S_NAME"
,
Value
:
"test-deployment"
},
{
Name
:
"DYN_PARENT_DGD_K8S_NAMESPACE"
,
Value
:
"default"
},
{
Name
:
"DYN_SYSTEM_ENABLED"
,
Value
:
"true"
},
{
Name
:
"DYN_SYSTEM_PORT"
,
Value
:
"9090"
},
{
Name
:
"DYN_SYSTEM_USE_ENDPOINT_HEALTH_STATUS"
,
Value
:
"[
\"
generate
\"
]"
},
{
Name
:
"POD_NAME"
,
ValueFrom
:
&
corev1
.
EnvVarSource
{
...
...
deploy/helm/chart/templates/deployment.yaml
View file @
d70d9acf
...
...
@@ -113,6 +113,8 @@ spec:
-
name
:
DYN_HTTP_PORT
value
:
"
{{
$.Values.dynamoPort
|
default
8000
}}"
{{
- else if $serviceSpec.componentType | eq "worker"
}}
-
name
:
DYN_SYSTEM_ENABLED
value
:
"
true"
-
name
:
DYN_SYSTEM_PORT
value
:
"
{{
$.Values.dynamoSystemPort
|
default
9090
}}"
-
name
:
DYN_SYSTEM_USE_ENDPOINT_HEALTH_STATUS
...
...
deploy/helm/chart/templates/grove-podgangset.yaml
View file @
d70d9acf
...
...
@@ -105,6 +105,8 @@ spec:
-
name
:
DYN_HTTP_PORT
value
:
"
{{
$.Values.dynamoPort
|
default
8000
}}"
{{
- else if $serviceSpec.componentType | eq "worker"
}}
-
name
:
DYN_SYSTEM_ENABLED
value
:
"
true"
-
name
:
DYN_SYSTEM_PORT
value
:
"
{{
$.Values.dynamoSystemPort
|
default
9090
}}"
-
name
:
DYN_SYSTEM_USE_ENDPOINT_HEALTH_STATUS
...
...
docs/kubernetes/api_reference.md
View file @
d70d9acf
...
...
@@ -732,6 +732,7 @@ The operator automatically injects environment variables based on component type
-
**`DYN_SYSTEM_PORT`**
:
`9090`
(automatically enables the system metrics server)
-
**`DYN_SYSTEM_USE_ENDPOINT_HEALTH_STATUS`**
:
`["generate"]`
-
**`DYN_SYSTEM_ENABLED`**
:
`true`
(needed for runtime images 0.6.1 and older)
### Planner Components
...
...
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