12 lines
317 B
Django/Jinja
12 lines
317 B
Django/Jinja
{% set runtimes_list = taskserv.runtimes | split(pat=",") %}
|
|
{% for runtime in runtimes_list -%}
|
|
{% if runtime != taskserv.runtime_default -%}
|
|
apiVersion: node.k8s.io/v1
|
|
kind: RuntimeClass
|
|
metadata:
|
|
name: {{runtime}}
|
|
# The name of the corresponding CRI configuration
|
|
handler: {{runtime}}
|
|
{% endif -%}
|
|
{% endfor %}
|