Skip to content

Commit e1f0b8e

Browse files
authored
Make reservation name as top properties, set the default value of con… (#1044)
Make reservation name as top properties, set the default value of consumption option to reservation
1 parent 0a95732 commit e1f0b8e

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

applications/hcc/metadata.display.yaml

+4-13
Original file line numberDiff line numberDiff line change
@@ -117,32 +117,23 @@ spec:
117117
name: reservation
118118
title: Reservation name
119119
section: required_config
120-
toggleUsingVariables:
121-
- variableName: a3_mega_consumption_model
122-
variableValues:
123-
- Reservation
124-
type: DISPLAY_VARIABLE_TOGGLE_TYPE_UNSPECIFIED
125-
- variableName: a3_ultra_consumption_model
126-
variableValues:
127-
- Reservation
128-
type: DISPLAY_VARIABLE_TOGGLE_TYPE_UNSPECIFIED
129120
reservation_block:
130121
name: reservation_block
131122
title: Reservation block
132123
section: required_config
133124
toggleUsingVariables:
134-
- variableName: a3_ultra_consumption_model
125+
- variableName: gpu_type
135126
variableValues:
136-
- Reservation
127+
- A3 Ultra
137128
type: DISPLAY_VARIABLE_TOGGLE_TYPE_UNSPECIFIED
138129
placement_policy_name:
139130
name: placement_policy_name
140131
title: Placement policy
141132
section: required_config
142133
toggleUsingVariables:
143-
- variableName: a3_mega_consumption_model
134+
- variableName: gpu_type
144135
variableValues:
145-
- Reservation
136+
- A3 Mega
146137
type: DISPLAY_VARIABLE_TOGGLE_TYPE_UNSPECIFIED
147138
a3mega_recipe:
148139
name: recipe

applications/hcc/metadata.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ spec:
3636
defaultValue: ""
3737
- name: a3_mega_consumption_model
3838
varType: string
39-
defaultValue: ""
39+
defaultValue: "Reservation"
4040
- name: a3_ultra_consumption_model
4141
varType: string
42-
defaultValue: ""
42+
defaultValue: "Reservation"
4343
- name: reservation
4444
varType: string
4545
defaultValue: ""

0 commit comments

Comments
 (0)