Commit Graph

86 Commits

Author SHA1 Message Date
Xan Manning
0c77eb143d feat(systemd): unit file allows environment variables to be defined #164 2021-12-19 18:59:42 +00:00
Xan Manning
dd341f6f10 docs(readme): missing variable documentation 2021-12-18 23:08:36 +00:00
Devin Buhl
9db46b536d
feat: implement config.yaml.d 2021-09-06 08:46:49 -04:00
Jairo Llopis
b8539cd82e fix: typo 2021-07-16 09:21:55 +00:00
Xan Manning
2da5738452 Updated README with current k3s supported OS 2021-06-22 20:39:38 +01:00
Xan Manning
e5b9e5a78a Updated CHANGELOG and molecule tests 2021-05-27 18:13:55 +00:00
Devin Buhl
b7210af4e9
fix: update README 2021-05-26 18:11:12 -04:00
Devin Buhl
2e629838f1
feat: add support for specifying URLs in templates 2021-05-26 18:07:22 -04:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
32c68ea949
Update README.md 2021-05-26 13:38:00 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
d834ca15b0
Merge branch 'main' into staticpods 2021-05-26 09:57:58 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
da7d8c67d9
Rename vars, path
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-05-26 09:52:34 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
1bbba04230
Allow control plane static pods
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-05-26 09:43:07 +02:00
ᗪєνιη ᗷυнʟ
07fe0e2964
fix: update readme 2021-05-25 18:43:32 -04:00
Xan Manning
4d5d5b2838 Updated documentation to remove deprecated playbook structures #115 2021-05-15 18:47:27 +01:00
赵安家
d563dcca05 style(k3s): change code style
change code style
2021-05-08 18:39:19 +08:00
赵安家
c9e2b619d1 feat(k3s): support k3s's private-registry configuration
rancher doc url https://rancher.com/docs/k3s/latest/en/installation/private-registry/
2021-05-07 17:56:45 +08:00
Bastien Dronneau
9a13d67468
docs(readme): typo on ansible 2021-04-18 10:30:08 +02:00
Xan Manning
265b529bb6 Update README.md, requirements.txt and CHANGELOG.md 2021-04-10 21:03:38 +01:00
Michael Williams
6a70a85ef2
docs(readme): correct typo of k4s_registration_address
update the "k4s_registration_address" to "k3s_registration_address"

Closes #100

[skip ci]

Signed-off-by: Michael Williams <Michael.Williams@glexia.com>
2021-03-22 06:34:56 -04:00
Xan Manning
4326f4497d Renamed k3s_control_node_address -> k3s_registration_address 2021-03-14 16:29:14 +00:00
Xan Manning
7e4a16e167 Pre-documentation work
- Restructured when and asserts
  - Standardise molecule call, add systemd config
2021-02-16 16:53:49 +00:00
Xan Manning
2c12436226 Bugfixes
- Added uninstall task to remove hard-linked files #88
  - Fixed missing become for `systemd` operations tasks. #89
  - Added `k3s_start_on_boot` to control `systemd.enabled`.
2021-01-30 17:23:31 +00:00
Xan Manning
e026d2a4a7 Added 2.9 Ansible support 2021-01-24 18:21:51 +00:00
Xan Manning
e7c714424c
Tiidy up and refactoring of tasks (#80)
* Tidy up and refactoring of tasks

  - `k3s_config_dir` derived from `k3s_config_file`, reused throughout the role
    to allow for easy removal of "Rancher" references #73.
  - `k3s_token_location` has moved to be in `k3s_config_dir`.
  - Tasks for creating directories now looped to caputure configuration from
    `k3s_server` and `k3s_agent` and ensure directories exist before k3s
    starts, see #75.
  - Server token collected directly from token file, not symlinked file
    (node-token).
  - `k3s_runtime_config` defined in `vars/` for validation and overwritten in
    tasks for control plane and workers.
  - Removed unused references to GitHub API.

* set_fact now uses FQCN

* re-pin molecule<3.2

* Command module now uses FQCN

* Added package checks for #72

* Reorder task files

  - Docker tasks moved into a separate directory for ease of removal #67
  - Bugfix: Control plane on alternate port didn't work.
  - Validation tasks grouped

* Fix Fedora tests

* Add optional documentation links to validations steps #76

* Removed jmespath requirement

* Fix issue with data collection

* Release candidate
2020-12-21 19:14:52 +00:00
Xan Manning
01a8313dd9 Documentation fixes
- Removed Disclaimer
  - Fixed a Typo
  - Removing references to Rancher
  - Removing references to Docker
2020-12-19 11:26:08 +00:00
Xan Manning
e25edbef3c rework documentation, change github link, replace deprecated variables 2020-12-16 11:02:15 +00:00
Xan Manning
1d40c4d2c9 Migration from Travis-CI to GitHub Actions 2020-12-12 16:21:17 +00:00
Xan Manning
34e2af3d47 Set embedded Etcd as stable, deprecate docker 2020-12-12 14:27:59 +00:00
Xan Manning
5d3524d729 Fix link to documentation 2020-12-05 22:01:43 +00:00
Xan Manning
4afc2c8a5a Fixed data-dir configuration and draining of nodes. Added documentation. 2020-12-05 21:56:28 +00:00
Xan Manning
fa73be4921 Fixed a number of typos in the README.md 2020-11-30 08:41:56 +00:00
Xan Manning
ebf32dbd99 v2 pre-release 2020-11-29 20:10:42 +00:00
Xan Manning
a99087c7f6 Remove "master" from README.md 2020-11-10 18:30:38 +00:00
Xan Manning
170bf5995f Merge conflict resolved: archlinux support 2020-10-23 16:40:35 +01:00
Martin Friedrich
e5133c1f73
add archlinux support, fixed drain invoked on uninstall by adding --delete-local-data 2020-10-23 14:43:58 +02:00
Xan Manning
45a41f895b Restructure for validation checks 2020-10-17 18:27:52 +01:00
Xan Manning
9a15d8eddf
Merge pull request #55 from onedr0p/patch-3
Implement setting multiple k3s_tls_san
2020-09-26 17:37:11 +01:00
Xan Manning
062c459b00
Merge pull request #54 from onedr0p/patch-2
Implement option to disable kube-proxy
2020-09-26 17:36:50 +01:00
ᗪєνιη ᗷυнʟ
f39f228f39
k3s_tls_san readme changes
this can be a list and iterated over in the systemd service
2020-09-24 10:16:12 -04:00
ᗪєνιη ᗷυнʟ
2bb556f1da
add k3s_disable_kube_proxy to readme 2020-09-24 08:38:03 -04:00
ᗪєνιη ᗷυнʟ
d4c38f59cc
fix extra spaces 2020-09-23 10:48:20 -04:00
ᗪєνιη ᗷυнʟ
b06d1635f1
fix english 2020-09-23 10:03:09 -04:00
ᗪєνιη ᗷυнʟ
647d6026e4
move commit example a few newlines down 2020-09-23 09:59:42 -04:00
ᗪєνιη ᗷυнʟ
7dd8a3f8ff
add example for specific version 2020-09-23 09:55:44 -04:00
ᗪєνιη ᗷυнʟ
ddfc73586c
add commit example to k3s_release_version 2020-09-23 09:45:51 -04:00
ᗪєνιη ᗷυнʟ
c447fcec39 A number of enhancements for v1.19 release.
- Added option to skip validation checks #47
  - Add SELinux support in containerd #48
  - Added check for Etcd member count #46
  - Moved token to a file #50
  - Added Etcd snapshot configuration options #49
2020-09-22 20:30:50 +01:00
ᗪєνιη ᗷυнʟ
7ea82ed749
add k3s_debug to readme 2020-09-21 08:31:07 -04:00
Xan Manning
175b90ecb0 Added support for Etcd, removed DQLite support. See #41 2020-09-17 21:01:20 +01:00
Xan Manning
c743df868b Fixing ansible-linting, exclude name check for Travis-CI
This release also fixes:

  - #38 : removing the --disable-agent option. Please use node taints.
  - #39 : clarified where jmespath should be installed in README.md
2020-09-15 18:20:23 +01:00
Xan Manning
b412858b30 Fix merge conflict 2020-07-25 20:51:31 +01:00