Skip to content

Commit

Permalink
#820 Fix apply cartridges
Browse files Browse the repository at this point in the history
  • Loading branch information
fketelaars committed Nov 1, 2024
1 parent b1ae00e commit 4913c87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
oc patch {{ _current_cp4d_cartridge.CR_Kind }} {{ _current_cp4d_cartridge.CR_Name }} \
-n {{ _p_current_cp4d_cluster.project }} \
--type merge \
-p '{"spec": {{ _current_cp4d_cartridge.installation_options | to_json }} }'
oc patch {{ _current_cp4d_cartridge.CR_Kind }} {{ _current_cp4d_cartridge.CR_Name }} -n {{ _p_current_cp4d_cluster.project }} --type merge -p '{"spec": {{ _current_cp4d_cartridge.installation_options | to_json }} }'
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
oc patch {{ _current_cp4d_cartridge.CR_Kind }} {{ _current_cp4d_cartridge.CR_Name }} \
-n {{ _p_current_cp4d_cluster.project }} \
--type merge \
-p '{"spec":{"scaleConfig": "{{ _current_cp4d_cartridge.size }}" } }'
oc patch {{ _current_cp4d_cartridge.CR_Kind }} {{ _current_cp4d_cartridge.CR_Name }} -n {{ _p_current_cp4d_cluster.project }} --type merge -p '{"spec":{"scaleConfig": "{{ _current_cp4d_cartridge.size }}" } }'

0 comments on commit 4913c87

Please sign in to comment.