Skip to content

Commit

Permalink
Update System Upgrade Controller to v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vitobotta committed Oct 3, 2021
1 parent a4369cf commit 11c56cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ I recommend that you create a separate Hetzner project for each cluster, because
## changelog

- 0.4.2
- Updated Hetzner CSI driver to v1.6.0
- Update Hetzner CSI driver to v1.6.0
- Update System Upgrade Controller to v0.8.0

- 0.4.1
- Allow to optionally specify the path of the private SSH key
Expand Down
1 change: 1 addition & 0 deletions lib/hetzner/k3s/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ def kubernetes_client
config_hash = YAML.load_file(File.expand_path(configuration["kubeconfig_path"]))
config_hash['current-context'] = configuration["cluster_name"]
@kubernetes_client = K8s::Client.config(K8s::Config.new(config_hash))
rescue
errors << "Cannot connect to the Kubernetes cluster"
false
end
Expand Down
2 changes: 1 addition & 1 deletion lib/hetzner/k3s/cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def deploy_system_upgrade_controller
puts
puts "Deploying k3s System Upgrade Controller..."

manifest = HTTP.follow.get("https://github.com/rancher/system-upgrade-controller/releases/download/v0.7.3/system-upgrade-controller.yaml").body
manifest = HTTP.follow.get("https://github.com/rancher/system-upgrade-controller/releases/download/v0.8.0/system-upgrade-controller.yaml").body

File.write("/tmp/system-upgrade-controller.yaml", manifest)

Expand Down

0 comments on commit 11c56cf

Please sign in to comment.