mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 05:01:46 +00:00
Rename cloudcfg to kubecfg
This commit is contained in:
@@ -22,7 +22,7 @@ source $(dirname $0)/config-go.sh
|
||||
|
||||
cd "${KUBE_TARGET}"
|
||||
|
||||
BINARIES="proxy integration apiserver controller-manager kubelet cloudcfg localkube"
|
||||
BINARIES="proxy integration apiserver controller-manager kubelet kubecfg localkube"
|
||||
|
||||
if [ $# -gt 0 ]; then
|
||||
BINARIES="$@"
|
||||
|
@@ -35,7 +35,7 @@ set -e
|
||||
# Use testing config
|
||||
export KUBE_CONFIG_FILE="config-test.sh"
|
||||
export KUBE_REPO_ROOT="$(dirname $0)/.."
|
||||
export CLOUDCFG="${KUBE_REPO_ROOT}/cluster/cloudcfg.sh"
|
||||
export CLOUDCFG="${KUBE_REPO_ROOT}/cluster/kubecfg.sh"
|
||||
|
||||
source "${KUBE_REPO_ROOT}/cluster/util.sh"
|
||||
${KUBE_REPO_ROOT}/hack/build-go.sh
|
||||
|
@@ -28,7 +28,7 @@ set -e
|
||||
(
|
||||
source $(dirname $0)/config-go.sh
|
||||
cd "${KUBE_TARGET}"
|
||||
BINARIES="cloudcfg localkube"
|
||||
BINARIES="kubecfg localkube"
|
||||
for b in $BINARIES; do
|
||||
echo "+++ Building ${b}"
|
||||
go build "${KUBE_GO_PACKAGE}"/cmd/${b}
|
||||
|
@@ -14,12 +14,12 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# This file is exactly like cloudcfg.sh, but it talks to a local master
|
||||
# This file is exactly like kubecfg.sh, but it talks to a local master
|
||||
# (which you're assumed to be running with localkube.sh).
|
||||
|
||||
CLOUDCFG=$(dirname $0)/../output/go/cloudcfg
|
||||
CLOUDCFG=$(dirname $0)/../output/go/kubecfg
|
||||
if [ ! -x $CLOUDCFG ]; then
|
||||
echo "Could not find cloudcfg binary. Run hack/build-go.sh to build it."
|
||||
echo "Could not find kubecfg binary. Run hack/build-go.sh to build it."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user