Skip to content

Commit 551abe2

Browse files
committed
Added new alias
1 parent 2fb19bb commit 551abe2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

commodore_command.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,10 @@ commodore () {
1616
projectsyn/commodore:v0.2.0 \
1717
$*
1818
}
19+
20+
commodore_compile_all() {
21+
CLUSTERS=($(kubectl --context minikube -n lieutenant get cluster -o jsonpath="{$.items[*].metadata.name}"))
22+
for CLUSTER in "${CLUSTERS[@]}"; do
23+
commodore catalog compile --push "$CLUSTER"
24+
done
25+
}

0 commit comments

Comments
 (0)