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
ac85c44b
Unverified
Commit
ac85c44b
authored
Aug 15, 2025
by
julienmancuso
Committed by
GitHub
Aug 15, 2025
Browse files
fix: allow tolerations to be added (#2445)
parent
57454300
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
3 deletions
+22
-3
deploy/cloud/helm/deploy.sh
deploy/cloud/helm/deploy.sh
+4
-1
deploy/cloud/helm/dynamo-platform-values.yaml
deploy/cloud/helm/dynamo-platform-values.yaml
+1
-1
deploy/cloud/helm/platform/components/operator/templates/deployment.yaml
...lm/platform/components/operator/templates/deployment.yaml
+4
-0
deploy/cloud/helm/platform/components/operator/values.yaml
deploy/cloud/helm/platform/components/operator/values.yaml
+1
-0
deploy/cloud/helm/platform/values.yaml
deploy/cloud/helm/platform/values.yaml
+12
-1
No files found.
deploy/cloud/helm/deploy.sh
View file @
ac85c44b
...
@@ -49,6 +49,7 @@ export ISTIO_GATEWAY="${ISTIO_GATEWAY:=istio-system/istio-ingressgateway}"
...
@@ -49,6 +49,7 @@ export ISTIO_GATEWAY="${ISTIO_GATEWAY:=istio-system/istio-ingressgateway}"
export
INGRESS_CLASS
=
"
${
INGRESS_CLASS
:
=nginx
}
"
export
INGRESS_CLASS
=
"
${
INGRESS_CLASS
:
=nginx
}
"
export
VIRTUAL_SERVICE_SUPPORTS_HTTPS
=
"
${
VIRTUAL_SERVICE_SUPPORTS_HTTPS
:
=false
}
"
export
VIRTUAL_SERVICE_SUPPORTS_HTTPS
=
"
${
VIRTUAL_SERVICE_SUPPORTS_HTTPS
:
=false
}
"
export
ENABLE_LWS
=
"
${
ENABLE_LWS
:
=false
}
"
export
ENABLE_LWS
=
"
${
ENABLE_LWS
:
=false
}
"
export
DOCKER_REGISTRY_USE_KUBERNETES_SECRET
=
"
${
DOCKER_REGISTRY_USE_KUBERNETES_SECRET
:
=false
}
"
# Add command line options
# Add command line options
INTERACTIVE
=
false
INTERACTIVE
=
false
...
@@ -114,6 +115,7 @@ if [[ -n "${DOCKER_USERNAME:-}" && -n "${DOCKER_PASSWORD:-}" ]]; then
...
@@ -114,6 +115,7 @@ if [[ -n "${DOCKER_USERNAME:-}" && -n "${DOCKER_PASSWORD:-}" ]]; then
--docker-server
=
"
$DOCKER_SERVER_FOR_SECRET
"
\
--docker-server
=
"
$DOCKER_SERVER_FOR_SECRET
"
\
--namespace
"
$NAMESPACE
"
\
--namespace
"
$NAMESPACE
"
\
--dry-run
=
client
-o
yaml | kubectl apply
-f
-
--dry-run
=
client
-o
yaml | kubectl apply
-f
-
export
DOCKER_REGISTRY_USE_KUBERNETES_SECRET
=
true
else
else
echo
"DOCKER_USERNAME and/or DOCKER_PASSWORD not set — skipping docker secret creation."
echo
"DOCKER_USERNAME and/or DOCKER_PASSWORD not set — skipping docker secret creation."
fi
fi
...
@@ -163,8 +165,9 @@ echo "ISTIO_GATEWAY: $ISTIO_GATEWAY"
...
@@ -163,8 +165,9 @@ echo "ISTIO_GATEWAY: $ISTIO_GATEWAY"
echo
"DYNAMO_INGRESS_SUFFIX:
$DYNAMO_INGRESS_SUFFIX
"
echo
"DYNAMO_INGRESS_SUFFIX:
$DYNAMO_INGRESS_SUFFIX
"
echo
"VIRTUAL_SERVICE_SUPPORTS_HTTPS:
$VIRTUAL_SERVICE_SUPPORTS_HTTPS
"
echo
"VIRTUAL_SERVICE_SUPPORTS_HTTPS:
$VIRTUAL_SERVICE_SUPPORTS_HTTPS
"
echo
"INSTALL_CRDS:
$INSTALL_CRDS
"
echo
"INSTALL_CRDS:
$INSTALL_CRDS
"
echo
"DOCKER_REGISTRY_USE_KUBERNETES_SECRET:
$DOCKER_REGISTRY_USE_KUBERNETES_SECRET
"
envsubst
'${NAMESPACE} ${RELEASE_NAME} ${DOCKER_USERNAME} ${DOCKER_PASSWORD} ${DOCKER_SERVER} ${IMAGE_TAG} ${DYNAMO_INGRESS_SUFFIX} ${PIPELINES_DOCKER_SERVER} ${PIPELINES_DOCKER_USERNAME} ${PIPELINES_DOCKER_PASSWORD} ${DOCKER_SECRET_NAME} ${INGRESS_ENABLED} ${ISTIO_ENABLED} ${INGRESS_CLASS} ${ISTIO_GATEWAY} ${VIRTUAL_SERVICE_SUPPORTS_HTTPS} ${ENABLE_LWS}'
< dynamo-platform-values.yaml
>
generated-values.yaml
envsubst
'${NAMESPACE} ${RELEASE_NAME} ${DOCKER_USERNAME} ${DOCKER_PASSWORD} ${DOCKER_SERVER} ${IMAGE_TAG} ${DYNAMO_INGRESS_SUFFIX} ${PIPELINES_DOCKER_SERVER} ${PIPELINES_DOCKER_USERNAME} ${PIPELINES_DOCKER_PASSWORD} ${DOCKER_SECRET_NAME} ${INGRESS_ENABLED} ${ISTIO_ENABLED} ${INGRESS_CLASS} ${ISTIO_GATEWAY} ${VIRTUAL_SERVICE_SUPPORTS_HTTPS} ${ENABLE_LWS}
${DOCKER_REGISTRY_USE_KUBERNETES_SECRET}
'
< dynamo-platform-values.yaml
>
generated-values.yaml
echo
"generated file contents:"
echo
"generated file contents:"
cat
generated-values.yaml
cat
generated-values.yaml
...
...
deploy/cloud/helm/dynamo-platform-values.yaml
View file @
ac85c44b
...
@@ -32,7 +32,7 @@ dynamo-operator:
...
@@ -32,7 +32,7 @@ dynamo-operator:
gateway
:
${ISTIO_GATEWAY}
gateway
:
${ISTIO_GATEWAY}
ingressHostSuffix
:
${DYNAMO_INGRESS_SUFFIX}
ingressHostSuffix
:
${DYNAMO_INGRESS_SUFFIX}
dockerRegistry
:
dockerRegistry
:
useKubernetesSecret
:
true
useKubernetesSecret
:
${DOCKER_REGISTRY_USE_KUBERNETES_SECRET}
server
:
${PIPELINES_DOCKER_SERVER}
server
:
${PIPELINES_DOCKER_SERVER}
username
:
${PIPELINES_DOCKER_USERNAME}
username
:
${PIPELINES_DOCKER_USERNAME}
password
:
${PIPELINES_DOCKER_PASSWORD}
password
:
${PIPELINES_DOCKER_PASSWORD}
...
...
deploy/cloud/helm/platform/components/operator/templates/deployment.yaml
View file @
ac85c44b
...
@@ -41,6 +41,10 @@ spec:
...
@@ -41,6 +41,10 @@ spec:
imagePullSecrets
:
imagePullSecrets
:
{{
- toYaml . | nindent 8
}}
{{
- toYaml . | nindent 8
}}
{{
- end
}}
{{
- end
}}
{{
- with .Values.controllerManager.tolerations
}}
tolerations
:
{{
- toYaml . | nindent 8
}}
{{
- end
}}
containers
:
containers
:
-
args
:
{{
- toYaml .Values.controllerManager.kubeRbacProxy.args | nindent
-
args
:
{{
- toYaml .Values.controllerManager.kubeRbacProxy.args | nindent
8
}}
8
}}
...
...
deploy/cloud/helm/platform/components/operator/values.yaml
View file @
ac85c44b
...
@@ -26,6 +26,7 @@ namespaceRestriction:
...
@@ -26,6 +26,7 @@ namespaceRestriction:
# The target namespace to restrict to. If empty, defaults to the release namespace
# The target namespace to restrict to. If empty, defaults to the release namespace
targetNamespace
:
"
"
targetNamespace
:
"
"
controllerManager
:
controllerManager
:
tolerations
:
[]
kubeRbacProxy
:
kubeRbacProxy
:
args
:
args
:
-
--secure-listen-address=0.0.0.0:8443
-
--secure-listen-address=0.0.0.0:8443
...
...
deploy/cloud/helm/platform/values.yaml
View file @
ac85c44b
...
@@ -23,6 +23,7 @@ dynamo-operator:
...
@@ -23,6 +23,7 @@ dynamo-operator:
enabled
:
true
enabled
:
true
targetNamespace
:
targetNamespace
:
controllerManager
:
controllerManager
:
tolerations
:
[]
manager
:
manager
:
image
:
image
:
repository
:
"
nvcr.io/nvidia/ai-dynamo/kubernetes-operator"
repository
:
"
nvcr.io/nvidia/ai-dynamo/kubernetes-operator"
...
@@ -76,6 +77,8 @@ etcd:
...
@@ -76,6 +77,8 @@ etcd:
livenessProbe
:
livenessProbe
:
enabled
:
false
enabled
:
false
tolerations
:
[]
nats
:
nats
:
enabled
:
true
enabled
:
true
# reference a common CA Certificate or Bundle in all nats config `tls` blocks and nats-box contexts
# reference a common CA Certificate or Bundle in all nats config `tls` blocks and nats-box contexts
...
@@ -337,7 +340,9 @@ nats:
...
@@ -337,7 +340,9 @@ nats:
# merge or patch the pod template
# merge or patch the pod template
# https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#pod-v1-core
# https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#pod-v1-core
merge
:
{}
merge
:
spec
:
tolerations
:
[]
patch
:
[]
patch
:
[]
# headless service
# headless service
...
@@ -435,3 +440,9 @@ nats:
...
@@ -435,3 +440,9 @@ nats:
# service account
# service account
serviceAccount
:
serviceAccount
:
enabled
:
false
enabled
:
false
podTemplate
:
merge
:
spec
:
tolerations
:
[]
patch
:
[]
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