Skip to content

Commit

Permalink
Fix missing default kubespray url
Browse files Browse the repository at this point in the history
  • Loading branch information
MusicDin committed Jun 11, 2022
1 parent e20c47d commit a5515e1
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions ansible/kubitect/roles/kubespray-clone/defaults/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kubespray_url: "https://github.com/kubernetes-sigs/kubespray.git"
3 changes: 1 addition & 2 deletions ansible/kubitect/roles/kubespray-clone/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

---
- name: Clone Kubespray git project
git:
repo: "{{ config.kubernetes.kubespray.url }}"
repo: "{{ config.kubernetes.kubespray.url | default(kubespray_url) }}"
version: "{{ config.kubernetes.kubespray.version }}"
dest: "{{ kubitect_cluster_path }}/ansible/kubespray"
single_branch: yes
Expand Down
2 changes: 1 addition & 1 deletion cli/env/constatnts.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const (
ConstProjectHomeDir = ".kubitect"
ConstProjectClustersDir = "clusters"
ConstProjectUrl = "https://github.com/MusicDin/kubitect"
ConstProjectVersion = "v2.0.6"
ConstProjectVersion = "v2.0.7"
ConstTerraformVersion = "1.1.4"
ConstTerraformStatePath = "config/terraform/terraform.tfstate"
ConstKubeconfigPath = "config/admin.conf"
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/full-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#
kubitect:
url: "https://github.com/MusicDin/kubitect" # (1)
version: "v2.0.6"
version: "v2.0.7"

#
# The "hosts" section contains data about the physical servers on which
Expand Down
1 change: 1 addition & 0 deletions docs/user-guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ hosts:
type: local
cluster:
name: "my-k8s-cluster"
network:
mode: "nat"
cidr: "192.168.113.0/24"
Expand Down
4 changes: 2 additions & 2 deletions docs/user-guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Before starting with installation, make sure you meet all the [requirements](./r

After all requirements are met, download the Kubitect command line tool.
```sh
curl -o kubitect.tar.gz -L https://github.com/MusicDin/kubitect/releases/download/v2.0.6/kubitect-v2.0.6-linux-amd64.tar.gz
curl -o kubitect.tar.gz -L https://github.com/MusicDin/kubitect/releases/download/v2.0.7/kubitect-v2.0.7-linux-amd64.tar.gz
```

Unpack `tar.gz` file.
Expand All @@ -23,7 +23,7 @@ Verify the installation by checking the Kubitect version.
```sh
kubitect --version

# kubitect version v2.0.6
# kubitect version v2.0.7
```

!!! tip "Tip"
Expand Down

0 comments on commit a5515e1

Please sign in to comment.