Commit Graph

1265 Commits

Author SHA1 Message Date
Khue Doan
e6cfe84bdc style: center title and intro 2022-03-03 02:03:17 +07:00
Khue Doan
19f9d44f70 feat(vault): create random secret if not exists (WIP) 2022-03-01 02:18:45 +07:00
Khue Doan
51e487ffde docs(tutorials): expose services to the internet 2022-02-28 01:52:38 +07:00
Khue Doan
082ae89d34 chore: ignore go.sum 2022-02-27 14:07:43 +07:00
Khue Doan
f504955392 style(vault): format go mod 2022-02-27 14:05:57 +07:00
Khue Doan
e86708536a chore(external-secrets): add test vault token as well
Will remove later
2022-02-27 13:20:00 +07:00
Khue Doan
c290a32d96 feat(vault): initial random secret generation 2022-02-26 21:48:03 +07:00
Khue Doan
ab795ab34b fix(gitea): use template engine v2 for external secret 2022-02-26 11:46:50 +07:00
Khue Doan
d6ea436368 fix(gitea): remove .data prefix in template 2022-02-26 11:42:30 +07:00
Khue Doan
1764039b9f fix(gitea): escape curly braces 2022-02-26 11:29:09 +07:00
Khue Doan
e5f35f3640 fix(gitea): add missing password template in data 2022-02-26 11:21:34 +07:00
Khue Doan
552feda283 fix(gitea): add missing property for admin secret ref 2022-02-26 10:50:20 +07:00
Khue Doan
182a2d80b4 refactor(gitea)!: use admin secret from vault 2022-02-26 10:46:27 +07:00
Khue Doan
693893bcb2 feat(external-secrets): add test secret store 2022-02-26 10:37:25 +07:00
Khue Doan
adbb6ca247 feat(platform): install external secret operator 2022-02-26 09:28:46 +07:00
Khue Doan
46fe72cfe4 refactor(grafana): use random admin password 2022-02-26 01:01:03 +07:00
Khue Doan
b2a94a2480 docs(roadmap): tick more box 2022-02-25 09:32:15 +07:00
Khue Doan
f1352dbb47 docs(tutorials): also remove kured on single node setup 2022-02-25 01:50:45 +07:00
Khue Doan
5952b3d208 build(metal): add target for ansible-console 2022-02-25 01:38:53 +07:00
Khue Doan
59a1298fc8 fix(configure): add missing directory for timezone replace 2022-02-25 01:32:32 +07:00
Khue Doan
a515b1eaac feat(metal): enable automatic upgrade for Rocky Linux 2022-02-25 01:31:52 +07:00
Khue Doan
12e5a55bb9 refactor(kured): annotate nodes and change timezone 2022-02-24 21:56:29 +07:00
Khue Doan
20731cdcda style: YAML format 2022-02-23 20:50:30 +07:00
Khue Doan
9302deb7b5 refactor(system): remove Rocky upgrade from system upgrade controller
Use kured instead
2022-02-23 20:16:07 +07:00
Khue Doan
463a36e251 fix(kured): try another sentinel command 2022-02-23 02:47:15 +07:00
Khue Doan
0835658730 fix(kured): fix quotes
'--reboot-sentinel-command=! needs-restarting -r' to '--reboot-sentinel-command="! needs-restarting -r"'
2022-02-23 02:21:45 +07:00
Khue Doan
dc92c4d8fd fix(kured): update sentinel command 2022-02-23 02:16:09 +07:00
Khue Doan
a5f0c70b5c fix(kured): update sentinel command 2022-02-23 01:27:59 +07:00
Khue Doan
3ad371d475 feat(kured): add sentinel command 2022-02-23 00:38:44 +07:00
Khue Doan
e3d5943c1a Revert "refactor(system): remove Kured"
This reverts commit 88ab559806.
2022-02-23 00:30:31 +07:00
Khue Doan
4eee1a5e12 Revert "feat(system): install Rook Ceph for testing"
This reverts commit 868e6bf7ae.

- Uses too much resources (or needs more tweaks)
- Needs raw partition/disk
2022-02-22 21:54:52 +07:00
Khue Doan
0ef2aa0de1 style(docs): use hyphens instead of underscores in file names 2022-02-22 21:29:55 +07:00
Khue Doan
d9cee10ff8 docs: fix path to single node adjustments 2022-02-22 21:16:10 +07:00
Diego
6cc424bc54
fix(configure): missing comma in folders path list (#50) 2022-02-22 18:48:53 +07:00
Diego
80613663d1
fix(configure): replace domain in terraform files (#49) 2022-02-22 18:31:08 +07:00
Khue Doan
03ee03ffee fix(configure): do not check return status in git grep
It will throw error (return 1) if no matches are found.
https://github.com/khuedoan/homelab/issues/47
2022-02-21 21:52:38 +07:00
Khue Doan
868e6bf7ae feat(system): install Rook Ceph for testing
Potential replacement for Longhorn
2022-02-21 02:17:47 +07:00
Khue Doan
441b2e6ea2 feat(scripts): view logs of PXE containers selectively 2022-02-21 01:48:27 +07:00
Khue Doan
4497676407 style(configure): format and rename variable 2022-02-20 20:55:42 +07:00
Khue Doan
368535f41c refactor: rewrite configure script in pure Python
https://github.com/khuedoan/homelab/issues/30
2022-02-20 20:46:30 +07:00
Khue Doan
25ac9e0115 refactor(external): use generic zone name for zone data 2022-02-20 20:32:22 +07:00
Khue Doan
1812ac67be feat(metal): show DHCP and TFTP logs 2022-02-20 16:08:10 +07:00
Khue Doan
f9c900b0dd refactor!: remove staging environment
- Hard to setup
- Expensive
- For PXE boot testing, just use a VM with network boot
2022-02-20 10:58:59 +07:00
Khue Doan
bce3291872 refactor(metal): create partitions manually
https://github.com/khuedoan/homelab/issues/40
2022-02-19 12:23:57 +07:00
Khue Doan
3b107c28fa docs(tutorials): run commands on multiple nodes 2022-02-19 10:52:52 +07:00
Khue Doan
71e0828297 refactor(metal): remove shutdown playbook
Use ansible-console instead
2022-02-19 10:52:52 +07:00
Elliot Blackburn
cf94f761c4
docs(external): add Terraform Cloud workspace instruction (#44)
* Add note regarding terraform cloud execution mode

When configuring a workspace in Terraform Cloud, the execution mode defaults to "Remote". This is problematic for two reasons:
1. We use local files that are not in the terraform plan directory. This creates errors about being unable to local files where it is not immediately obvious why.
2. The remote (cloud) runner won't be able to access the kube cluster running on the internal network anyway, so any plan application will fail.

* Detail terraform cloud workspace setup
2022-02-15 08:32:29 +07:00
linhng
d10892a326
fix: use ip lease range based on network cidr (#41)
Co-authored-by: Nguyen Van Linh <linhnguyen.workspace@gmail.com>
2022-02-13 10:00:27 +07:00
Khue Doan
82818b4695 docs: update project description 2022-02-13 09:14:18 +07:00
Khue Doan
aaaccb4fca docs(tutorials): ensure add new nodes at the end of the group 2022-02-13 09:10:34 +07:00