diff --git a/packages/default.nix b/packages/default.nix index 1528364121..83612690cb 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -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 .