Skip to content

Commit 60f7b7f

Browse files
committed
append vm_extension imsead of replaces
1 parent 311b3b4 commit 60f7b7f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

ci/ops-files/concourse-gcp-spot.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88
#
99
# Note: Spot VMs can be preempted at any time and are recommended for
1010
# non-production environments only.
11+
#
12+
# This appends 'spot' to vm_extensions without removing existing extensions
13+
# like 'lb' which is required for load balancer configuration.
1114

1215
- type: replace
13-
path: /instance_groups/name=db/vm_extensions?
14-
value:
15-
- spot
16+
path: /instance_groups/name=db/vm_extensions?/-
17+
value: spot
1618

1719
- type: replace
18-
path: /instance_groups/name=web/vm_extensions?
19-
value:
20-
- spot
20+
path: /instance_groups/name=web/vm_extensions?/-
21+
value: spot
2122

2223
- type: replace
23-
path: /instance_groups/name=worker/vm_extensions?
24-
value:
25-
- spot
24+
path: /instance_groups/name=worker/vm_extensions?/-
25+
value: spot

0 commit comments

Comments
 (0)