Commit Graph

1660 Commits

Author SHA1 Message Date
Khue Doan
c7c8f79dd9 feat(metal): add staging inventory 2023-05-31 19:07:14 +07:00
Khue Doan
4b69ec2dfc refactor(platform)!: replace Harbor with a simple Docker Regisry
https://github.com/distribution/distribution

Docker Registry is stateless and easier to automate.
The tiny footprint is an added bonus.
2023-05-21 14:08:42 +07:00
Khue Doan
b517985272 refactor(harbor): remove unnecessary components
Don't need them at least for now.
2023-05-19 13:59:42 +07:00
Khue Doan
c2d1263cbd fix(grafana): enable side car for dashboards and datasources
Copied config from kube-prometheus-stack
2023-05-19 13:11:02 +07:00
Khue Doan
a5ecaafe50 refactor(metallb)!: use CRD instead of ConfigMap
Deprecated https://metallb.universe.tf/configuration/migration_to_crds
2023-05-19 11:54:07 +07:00
Khue Doan
177bac6345 Revert "fix(system): downgrade MetalLB to 0.12"
This reverts commit 084942ab84.
2023-05-19 11:09:35 +07:00
Khue Doan
084942ab84 fix(system): downgrade MetalLB to 0.12
ConfigMap is deprecated, need to migrate first https://metallb.universe.tf/configuration/migration_to_crds
2023-05-19 02:59:04 +07:00
Khue Doan
4d904592c4 fix(system): downgrade kube-prometheus-stack to 45.28.0
Due to an issue on 45.28.1
2023-05-19 02:38:41 +07:00
Khue Doan
cc1d4ab2f7 chore(system): upgrade charts to latest 2023-05-19 02:27:37 +07:00
Khue Doan
99651ecb2f fix: sync k3s version in system upgrade controller and k3d 2023-05-19 02:17:05 +07:00
Khue Doan
08ef4ecf01 build(docs): use mkdocs from nixpkgs instead of docker 2023-05-19 01:48:30 +07:00
Khue Doan
b1a716dae9 refactor!: move Grafana to platform
Grafana depends on secret created by ExternalSecret, with the values
pulled from Vault, causing circular dependency problem: system requires
platform components but platform requires system components.
2023-05-19 01:36:47 +07:00
Khue Doan
2bbabe1bf2 chore(tools): upgrade package versions 2023-05-18 12:05:30 +07:00
Khue Doan
fa6322d4f5 chore(k3s)!: upgrade to Kubernetes 1.27 2023-05-18 11:58:33 +07:00
Khue Doan
ed4ef0bac4 chore(metal): upgrade Fedora to version 38 2023-05-18 11:58:15 +07:00
Khue Doan
96a968bc9f fix(harbor): fix Ingress cert and class 2023-02-22 18:34:21 +07:00
Khue Doan
8fae9874c6 chore(argocd): upgrade to 5.20.2 2023-02-22 18:34:14 +07:00
Khue Doan
75aaf731c9 refactor: switch back to Harbor 2023-02-22 18:33:57 +07:00
Khue Doan
d3de308e54 fix: URL encode Gitea password 2023-02-22 18:33:48 +07:00
Khue Doan
f3eda41596 chore(metal): upgrade to Fedora 37 2023-02-22 18:33:31 +07:00
Khue Doan
3aef027670 perf(metal): don't restart PXE server on every run 2023-02-22 18:33:17 +07:00
Khue Doan
a8d1eb4412 chore(metal): reorder server list
Moved them in the rack
2023-02-22 18:32:57 +07:00
Khue Doan
0e84f90a8a refactor(hajimari): disable data volume
It was disabled by default in the previous version
2023-02-22 18:32:49 +07:00
Khue Doan
c0d1620050 ci: create pre-built tools image 2023-01-26 17:19:43 +07:00
Khue Doan
bc8beffb73 fix(tekton): fix incorrect pull request revision 2023-01-26 15:31:22 +07:00
Khue Doan
8a63ec3253 ci: run pre-commit on master too 2023-01-26 11:08:34 +07:00
Khue Doan
8547e13acc refactor(tekton): remove unused secret for now 2023-01-26 10:47:55 +07:00
Khue Doan
220e5c5480 feat(tekton): add pull request workflow 2023-01-26 10:44:50 +07:00
Khue Doan
22a3ccd331 feat: auto create Gitea webhook for Tekton 2023-01-26 01:26:52 +07:00
Khue Doan
d5eb6d9a76 fix(tekton): update new Dashboard install link 2023-01-25 22:10:42 +07:00
Khue Doan
a7016de626 refactor(tekton): use common workflows that create pipelines 2023-01-25 22:01:31 +07:00
Renovate Bot
6bd0577c64 chore(deps): update terraform http to v3 2023-01-25 12:39:40 +00:00
Khue Doan
2a29c0f8c5 chore(deps): update helm release hajimari to v2
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Khue Doan <mail@khuedoan.com>
Reviewed-on: https://git.khuedoan.com/ops/homelab/pulls/7
2023-01-25 19:20:44 +07:00
Khue Doan
8df13c3ef4 refactor(tekton): use remote tasks from Tekton Hub 2023-01-25 17:26:16 +07:00
Khue Doan
330393080a feat(tekton): install experimental Workflow 2023-01-25 14:49:50 +07:00
Khue Doan
3718f99096 refactor(tekton): move common tasks back to platform 2023-01-25 14:25:27 +07:00
Khue Doan
39e79fc0e8 fix(gitea): allow webhook in private network
Default is external https://docs.gitea.io/en-us/config-cheat-sheet/#webhook-webhook
2023-01-24 22:29:20 +07:00
Khue Doan
bb4cc325f0 Revert "refactor(blog)!: move blog to khuedoan/horus"
This reverts commit b6313e41a9.

Use both for manual failover
2023-01-24 17:58:50 +07:00
Khue Doan
cd39632439 fix(argocd): do not apply ServiceMonitor on bootstrap 2023-01-22 12:24:29 +07:00
Khue Doan
349faa386e feat: install Excalidraw 2023-01-13 20:28:06 +07:00
tangowithfoxtrot
e6a119e8c6
docs: fix typo
https://github.com/khuedoan/homelab/pull/100
2023-01-03 10:12:01 +07:00
Khue Doan
966f5a4fcf docs: fix license link 2022-12-29 23:29:21 +07:00
Khue Doan
2d022ad114 ci: prepare for workflow rewrite 2022-12-29 23:23:51 +07:00
Khue Doan
3b7e8f1688 chore: upgrade Go version of config jobs to 1.19 2022-12-29 23:22:47 +07:00
Khue Doan
7f0a26fbe1 chore(tools): upgrade Nix hash 2022-12-29 23:21:07 +07:00
Khue Doan
6f7bff689a fix(k3s): go back to v1.24
Longhorn does not support v1.25 yet
2022-12-29 10:32:42 +07:00
Khue Doan
1696546c8c fix: use new version for Tekton task 2022-12-28 21:49:20 +07:00
Khue Doan
8e54f134de style(metal): clean up variable
Thanks to https://www.reddit.com/r/selfhosted/comments/s9otm7/comment/htqcwxn/?utm_source=share&utm_medium=web2x&context=3
2022-12-24 14:25:19 +07:00
Khue Doan
18bee6dd0a refactor(system-upgrade): pin k3s version
Only use it for rolling upgrade, the automatic upgrade is a little
annoying for now.
2022-12-24 14:23:45 +07:00
Khue Doan
0e3394910c chore(metal): upgrade to k3s 1.25 2022-12-24 14:23:17 +07:00