mirror of
https://gerrit.hackerspace.pl/hscloud
synced 2025-01-20 15:53:54 +00:00
Leaving the CRD definitions as YAML, extracted without modifications from the original install file - this should make upgrades simpler. Change-Id: I7211d2711e2af014b36dd887a951abb9e1032eb9 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1179 Reviewed-by: q3k <q3k@hackerspace.pl>
14 lines
342 B
Bash
Executable file
14 lines
342 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# A wrapper around the real calicoctl to configure etcd access.
|
|
|
|
source tools/hscloud/lib.sh || exit 1
|
|
|
|
function main() {
|
|
local ws=$(hscloud::workspace_location)
|
|
export DATASTORE_TYPE=kubernetes
|
|
export KUBECONFIG=~/.kube/config
|
|
"$(hscloud::must_rlocation calicoctl_3_15/file/calicoctl)" "$@"
|
|
}
|
|
|
|
main "$@"
|