Khue Doan
de22314b0a
perf(external-dns): trigger DNS update based on k8s events
...
- Reduce polling from 1m (default) to 5m
- More responsive updates
2023-12-21 12:11:42 +07:00
Khue Doan
faf4e2504d
test: add more ingress checks
2023-11-27 18:53:19 +07:00
Khue Doan
bb27f0a607
perf(gitea): only run config job when config files changed
2023-11-27 00:41:38 +07:00
Khue Doan
002e725e6b
perf(secret-generator): only run job when config changed
2023-11-27 00:36:03 +07:00
Khue Doan
5e76122a04
refactor(global-secrets): move secret store to the same namespace
...
Otherwise RBAC will be much more complicated.
2023-11-26 17:39:49 +07:00
Khue Doan
dc16d94071
fix(external-secrets): fix incorrect service account name
2023-11-26 17:26:22 +07:00
Khue Doan
fc2d0d48a5
docs: update decision record for Vault removal
2023-11-26 16:43:39 +07:00
Khue Doan
093cc0d713
chore: remove reference to Vault in docs and scripts
2023-11-26 16:27:11 +07:00
Khue Doan
ca6a82737c
refactor!: update post install script to write to k8s secret instead of Vault
2023-11-26 16:12:25 +07:00
Khue Doan
97d3fbc0eb
refactor!: make secret generator write to k8s Secrets instead of Vault
2023-11-26 16:11:50 +07:00
Khue Doan
37a324f71a
refactor!: replace Vault with in-cluster global secrets
2023-11-26 03:11:08 +07:00
Khue Doan
54e071e0f2
refactor(k3s): remove system upgrade controller
...
More trouble than it's worth.
Update Ansible to upgrade k3s instead.
2023-11-19 12:50:36 +07:00
Khue Doan
774e6086b4
perf(k3s): enable image lazy pulling with eStargz
...
Note that this is experimental.
https://docs.k3s.io/advanced#enabling-lazy-pulling-of-estargz-experimental
2023-11-19 12:11:13 +07:00
Khue Doan
e28bada08e
refactor: remove explicit StorageClass selection
...
Previously PVCs need to define storage class explicitly because if
a PVC was created before Longhorn is ready, it will stay pending forever
until we delete and recreate it (ArgoCD didn't have sync wave for
ApplicationSet back then).
Kubernetes 1.28 has retroactive assignment of a default StorageClass for
existing unbound persistent volume claims without any storage class assigned.
https://kubernetes.io/blog/2023/08/15/kubernetes-v1-28-release/#automatic-retroactive-assignment-of-a-default-storageclass-graduates-to-stable
2023-11-19 12:04:10 +07:00
Khue Doan
f4ee4be035
chore(k3s): upgrade to Kubernetes 1.28
2023-11-19 12:00:52 +07:00
Khue Doan
a361fe3b57
chore(metal): update OS image to Fedora 39
2023-11-19 11:00:58 +07:00
Khue Doan
674e7e6505
fix(speedtest): increase ingress body size
...
Otherwise it will return unrealisticly high upload measurements.
See https://openspeedtest.com/selfhosted-speedtest#Source-Code-Docker
2023-11-05 20:42:43 +07:00
Khue Doan
db4c2f8ca1
feat: install OpenSpeedTest
2023-11-05 19:24:34 +07:00
Khue Doan
d0d64baa73
docs: update logo links
2023-10-27 20:25:48 +07:00
Khue Doan
9df8fea615
chore: upgrade all test packages to latest
2023-10-27 19:25:42 +07:00
Khue Doan
60fd8b9e9a
build!: switch to Nix flake
2023-10-27 16:37:53 +07:00
Khue Doan
da9afc6de0
docs: add project logo favicon
2023-06-18 22:35:47 +07:00
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