Verified Commit b436fe6c authored by Hugo's avatar Hugo
Browse files

add cputype label

parent 8459d474
......@@ -10,6 +10,7 @@
labels:
ingress: "{{ item.value.ingress | string | lower }}"
openebs.io/lvmvg: "{{ 'vg-k8s' if 0 < item.value.volumes | dict2items | map(attribute='value') | selectattr('vg', 'true') | length else 'none' }}"
cputype: "{% if item.value.type != 'vm'%}dedicated{% elif item.value.serverType.find('ccx') == 1 %}virtual-dedicated{% else %}virtual{% endif %}"
loop: "{{ cluster.nodes | dict2items }}"
loop_control:
label: "{{ item.key }}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment