-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: add k0s and k0sctl configuration files for Kubernetes cluste…
…r setup Signed-off-by: Schubert Anselme <[email protected]>
- Loading branch information
Showing
9 changed files
with
60 additions
and
42 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,17 @@ | ||
#!/bin/bash | ||
# SPDX-License-Identifier: GPL-3.0 | ||
# source ../alias.sh | ||
source ../environment.sh | ||
# source scripts/alias.sh | ||
source scripts/environment.sh | ||
|
||
# install golang | ||
if [[ -z $(command -v go) ]]; then | ||
sudo apt-get update -yq | ||
sudo apt-get install -yq --no-install-recommends golang | ||
fi | ||
|
||
# install sbctl | ||
if [[ -z $(command -v sbctl) ]]; then | ||
# version: 0.16 | ||
# https://github.com/Foxboron/sbctl/commit/53e074d6934f5ecfffa81a576293219c717f7d19 | ||
go install github.com/foxboron/sbctl/cmd/sbctl@53e074d6934f5ecfffa81a576293219c717f7d19 | ||
fi | ||
# install packages | ||
command -v sbctl || go install github.com/foxboron/sbctl/cmd/sbctl@53e074d6934f5ecfffa81a576293219c717f7d19 # 0.16 https://github.com/Foxboron/sbctl/commit/53e074d6934f5ecfffa81a576293219c717f7d19 | ||
command -v buf || go install github.com/bufbuild/buf/cmd/buf@8482b8f2dc17e93ac8a490cdfd86ff20f0bd1037 # v1.48.0 https://github.com/bufbuild/buf/commit/8482b8f2dc17e93ac8a490cdfd86ff20f0bd1037 | ||
|
||
go version | ||
sbctl status | ||
sbctl status || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters