Skip to content

Releases: k0sproject/rig

v0.4.0: Add exec.Sudo(h) exec option (#29)

18 Aug 11:04
@kke kke
51570d9
Compare
Choose a tag to compare

API changes:

Sudo

Before:

h.Exec("sudo ps")

Now:

h.Exec("ps", exec.Sudo(h))

Upload

Before:

h.Upload(src, dst) // always used sudo to overwrite destination

After:

h.Upload(src, dst, exec.Sudo(h)) // now requires exec.Sudo(h) to overwrite non-user files

v0.3.24

16 Aug 07:55
@kke kke
f1ab93e
Compare
Choose a tag to compare
Functions for service environment override (#34)

v0.3.23: Add ArchLinux support (#33)

10 Aug 11:19
@kke kke
a79e60c
Compare
Choose a tag to compare

v0.3.22

23 Jun 08:21
@kke kke
d876195
Compare
Choose a tag to compare
Improve init system detection and avoid nil panic (#32)

v0.3.21

16 Jun 08:19
@kke kke
87d80c1
Compare
Choose a tag to compare
  • Allow usernames shorter than 3 characters (#31)
  • Fix SSH login when both keyPath and ssh-agent defined (#30)

v0.3.20: Add exec.Writer option for streaming output to an io.Writer (#28)

04 Jun 09:20
@kke kke
66bc61b
Compare
Choose a tag to compare
* Add exec.Writer option for streaming output to an io.Writer

* Add a test for exec.Writer

* Check errors

v0.3.19

05 May 11:16
@kke kke
9725ff5
Compare
Choose a tag to compare
Replace usages of sudo -i with sudo -s on linux (#26)

v0.3.18

03 May 13:08
@kke kke
4a56ccf
Compare
Choose a tag to compare
Ignore key decoding error when using agent auth sock (#25)

v0.3.17

22 Apr 07:16
4224870
Compare
Choose a tag to compare
Upload to tmpfile and install into place on linux (#24)

v0.3.16

22 Apr 07:09
@kke kke
b8484ff
Compare
Choose a tag to compare
Omit empty bastion from yaml