diff --git a/library/common-test/tests/container_in_deployment/fixedEnv_test.yaml b/library/common-test/tests/container_in_deployment/fixedEnv_test.yaml index 53752b3376..a2ba3ca1c5 100644 --- a/library/common-test/tests/container_in_deployment/fixedEnv_test.yaml +++ b/library/common-test/tests/container_in_deployment/fixedEnv_test.yaml @@ -62,7 +62,7 @@ tests: documentIndex: *deploymentDoc set: scaleGPU: - something: something + gpu.intel.com/i915: "1" asserts: - equal: path: spec.template.spec.containers[0].env @@ -260,7 +260,7 @@ tests: documentIndex: *deploymentDoc set: scaleGPU: - something: something + gpu.intel.com/i915: "1" asserts: - equal: path: spec.template.spec.containers[0].env @@ -280,7 +280,7 @@ tests: documentIndex: *deploymentDoc set: scaleGPU: - something: something + gpu.intel.com/i915: "1" nvidiaCaps: - compute - utility diff --git a/library/common/1.0.0/templates/lib/pod/_pod.tpl b/library/common/1.0.0/templates/lib/pod/_pod.tpl index 653b49a5e2..335761033b 100644 --- a/library/common/1.0.0/templates/lib/pod/_pod.tpl +++ b/library/common/1.0.0/templates/lib/pod/_pod.tpl @@ -47,7 +47,7 @@ securityContext: imagePullSecrets: {{- . | nindent 2 }} {{- end -}} -{{- with (include "ix.v1.common.runtimeClassName" (dict "root" . "runtimeClassName" .Values.runtimeClassName) | trim) }} +{{- with (include "ix.v1.common.runtimeClassName" (dict "root" . "runtime" .Values.runtimeClassName) | trim) }} runtimeClassName: {{ . }} {{- end -}} {{- with (include "ix.v1.common.controller.mainContainer" . | trim) }} diff --git a/library/common/1.0.0/values.yaml b/library/common/1.0.0/values.yaml index 2305ab61cb..5c3e229e6d 100644 --- a/library/common/1.0.0/values.yaml +++ b/library/common/1.0.0/values.yaml @@ -207,6 +207,8 @@ dnsConfig: {} nodeSelector: {} +runtimeClassName: "" + tolerations: [] podSecurityContext: