Skip to content

Commit

Permalink
ci: release coordinator yaml with LoadBalancer
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerdev committed Feb 20, 2024
1 parent 35db398 commit 6823285
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,9 @@ rec {
# TODO(burgerdev): consider a dedicated coordinator template instead of the simple one
yq < deployments/simple/coordinator.yml > "$tmpdir/coordinator.yml" \
"del(.metadata.namespace) | (select(.kind == \"Deployment\") | .spec.template.spec.containers[0].image) = \"$imageRef\""
"del(.metadata.namespace) |
(select(.kind == \"Deployment\") | .spec.template.spec.containers[0].image) = \"$imageRef\" |
(select(.kind == \"Service\") | .spec.type) = \"LoadBalancer\" "
pushd "$tmpdir" >/dev/null
cp ${genpolicy.settings}/genpolicy-settings.json .
Expand Down

0 comments on commit 6823285

Please sign in to comment.