hetzner-k3s 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 703675cd5cbfeb28c857486046b88a1202835316b4522ac3b964c42479ca91e9
4
- data.tar.gz: d496229db7199e5d72bf19e5534ce83c7235ffe91eb93aec2151435d4c3a9c2c
3
+ metadata.gz: c3e7bedd3a695b38522a25598d9d0523bee9e5120aea6e76c462ba91dc8f3f12
4
+ data.tar.gz: d54f24ebe59f8b0354c74fdacff6f747169b288eddb99f070456f147523a07b4
5
5
  SHA512:
6
- metadata.gz: 75f9af0a29e2e34e7e4fd703ee1a98f2a2e2b9cd8143783583f74ce26427b1bbfbf53930f258b1a5fc9faf9fe1e1a84e7f15f5c92122ecfd1b4ae6ae7913031e
7
- data.tar.gz: b89c51f47038eca49083cf8936d7cc4927a8edbe9fe41582d834dd546a2be8d5b80ef03bf3bf0bce7605637e35445e153c1c72bf206ed58df9632c4a245d9f3b
6
+ metadata.gz: 36c460db4001ba080ef27dec517c4c44ce853a75935fee7d0fc5e4a13d689a5e812d762ec842a22503ac07d555a24be545293db9bb838ddcb7d27cd1866d9a1e
7
+ data.tar.gz: 2e8f67ca3c74292b7ad3c3a2098b1a4c8d096b1cb01677e8cc94ae199ee4b0df25eb869d2400b32451da6475a7518c7265cd1b70ec6bb0090e25b76047a03e4e
data/README.md CHANGED
@@ -38,7 +38,7 @@ This will install the `hetzner-k3s` executable in your PATH.
38
38
  Alternatively, if you don't want to set up a Ruby runtime but have Docker installed, you can use a container. Run the following from inside the directory where you have the config file for the cluster (described in the next section):
39
39
 
40
40
  ```bash
41
- docker run --rm -it -v ${PWD}:/cluster -v ${HOME}/.ssh:/tmp/.ssh vitobotta/hetzner-k3s:v0.4.1 create-cluster --config-file /cluster/test.yaml
41
+ docker run --rm -it -v ${PWD}:/cluster -v ${HOME}/.ssh:/tmp/.ssh vitobotta/hetzner-k3s:v0.4.2 create-cluster --config-file /cluster/test.yaml
42
42
  ```
43
43
 
44
44
  Replace `test.yaml` with the name of your config file.
@@ -78,7 +78,7 @@ If you are using Docker, then set `kubeconfig_path` to `/cluster/kubeconfig` so
78
78
 
79
79
  If you don't want to specify the Hetzner token in the config file (for example if you want to use the tool with CI), then you can use the `HCLOUD_TOKEN` environment variable instead, which has predecence.
80
80
 
81
- **Important**: The tool assignes the label `cluster` to each server it creates, with the clsuter name you specify in the config file, as the value. So please ensure you don't create unrelated servers in the same project having
81
+ **Important**: The tool assignes the label `cluster` to each server it creates, with the cluster name you specify in the config file, as the value. So please ensure you don't create unrelated servers in the same project having
82
82
  the label `cluster=<cluster name>`, because otherwise they will be deleted if you delete the cluster. I recommend you create a separate Hetzner project for each cluster, see note at the end of this README for more details.
83
83
 
84
84
 
@@ -241,6 +241,9 @@ I recommend that you create a separate Hetzner project for each cluster, because
241
241
 
242
242
  ## changelog
243
243
 
244
+ - 0.4.3
245
+ - Fix an issue with SSH key creation
246
+
244
247
  - 0.4.2
245
248
  - Update Hetzner CSI driver to v1.6.0
246
249
  - Update System Upgrade Controller to v0.8.0
data/bin/build.sh CHANGED
@@ -6,9 +6,9 @@ set -e
6
6
 
7
7
  IMAGE="vitobotta/hetzner-k3s"
8
8
 
9
- docker build -t ${IMAGE}:v0.4.2 \
9
+ docker build -t ${IMAGE}:v0.4.3 \
10
10
  --platform=linux/amd64 \
11
- --cache-from ${IMAGE}:v0.4.1 \
11
+ --cache-from ${IMAGE}:v0.4.2 \
12
12
  --build-arg BUILDKIT_INLINE_CACHE=1 .
13
13
 
14
14
  docker push vitobotta/hetzner-k3s:v0.4.2
@@ -55,7 +55,7 @@ module Hetzner
55
55
  def ssh_key_config
56
56
  {
57
57
  name: cluster_name,
58
- public_ssh_key: public_ssh_key
58
+ public_key: public_ssh_key
59
59
  }
60
60
  end
61
61
 
@@ -1,5 +1,5 @@
1
1
  module Hetzner
2
2
  module K3s
3
- VERSION = "0.4.2"
3
+ VERSION = "0.4.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hetzner-k3s
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vito Botta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-03 00:00:00.000000000 Z
11
+ date: 2021-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor