Skip to content

Commit dfb74c1

Browse files
committed
Update DW defaults and add missing DBC default name
Signed-off-by: Webster Mudge <wmudge@cloudera.com>
1 parent 03f6cb1 commit dfb74c1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

roles/runtime/defaults/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,10 @@ run__dw_overlay_network: "{{ dw.overlay_network | default(False) | bo
7878
run__dw_private_load_balancer: "{{ dw.private_load_balancer | default(not run__public_endpoint_access) }}"
7979
run__dw_private_worker_nodes: "{{ dw.private_worker_nodes | default(False) | bool }}"
8080
run__dw_force_delete: "{{ dw.force_delete | default (run__force_teardown) }}"
81-
run__dw_default_vw_type: "{{ dw.vw.type | default('hive') }}"
82-
run__dw_default_template_type: "{{ dw.vw.template | default('xsmall') }}"
83-
run__dw_default_dbc_suffix: "{{ dw.dbc.default_suffix | default('dl-default') }}"
81+
run__dw_default_vw_type: "{{ dw.default_vw.type | default('hive') }}"
82+
run__dw_default_template_type: "{{ dw.default_template.type | default('xsmall') }}"
83+
run__dw_default_dbc_suffix: "{{ dw.default_dbc.suffix | default('dl-default') }}"
84+
run__dw_default_dbc: "{{ dw.default_dbc.name | default([run__env_name, run__dw_default_dbc_suffix] | join('-')) }}"
8485

8586
run__df_nodes_min: "{{ df.min_k8s_nodes | default(3) }}"
8687
run__df_nodes_max: "{{ df.max_k8s_nodes | default(5) }}"

0 commit comments

Comments
 (0)