@autofleet/cli 1.0.6 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +1 -1
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -13,8 +13,8 @@ yargs(hideBin(process.argv))
|
|
|
13
13
|
clusterName: cluster,
|
|
14
14
|
variationId,
|
|
15
15
|
});
|
|
16
|
-
await terminalCommand(`kubectl patch svc ${prefix} ${service} -p '{"spec": {"type": "LoadBalancer"}}' `);
|
|
17
16
|
await terminalCommand(`kubectl annotate ${prefix} service ${service} cloud.google.com/load-balancer-type-`);
|
|
17
|
+
await terminalCommand(`kubectl patch svc ${prefix} ${service} -p '{"spec": {"type": "LoadBalancer"}}' `);
|
|
18
18
|
console.log(`exposed ${service} successfully. the service is now creating a public ip`);
|
|
19
19
|
},
|
|
20
20
|
})
|