Commit Graph

52 Commits

Author SHA1 Message Date
Khue Doan
5e960681c4 fix(gitea): increase config job backoff limit
Oops, 0 means no retry
2024-03-27 10:37:32 +07:00
Khue Doan
66a92da77b fix(gitea): retry config job until successful 2024-03-27 10:32:43 +07:00
Khue Doan
4a4828f20b chore(deps): update all non-major dependencies 2024-03-03 00:20:54 +07:00
Khue Doan
1af664d6c0 refactor!: replace Hajimari with Homepage
More eye candies.
2024-01-17 21:15:16 +07:00
Khue Doan
f51d3f95a9 feat(gitea): automatically setup Dex as authentication source
It's very ugly but it works ¯\_(ツ)_/¯
2024-01-17 01:51:43 +07:00
Khue Doan
b98060294d refactor!: remove Tekton
Replaced by Woodpecker CI. It turns out I don't need that much power
from Tekton's flexibility, so it's not worth the maintenance overhead
for my specific use case at home.
2024-01-15 10:55:29 +07:00
Khue Doan
7f933a0355 refactor(gitea): disable unused features
Keep Gitea minimal.
2024-01-08 21:16:29 +07:00
Khue Doan
172c7c7c2b chore(gitea)!: ugrade Helm chart to v10
This is a breaking change, see https://gitea.com/gitea/helm-chart#upgrading
before upgrading to avoid losing data. Personally I have my repos saved
in many Git hosting providers so I just nuke it and reinstall.

Fixes changed files detection in pull_request event in Woodpecker.
2024-01-08 21:16:29 +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
97d3fbc0eb refactor!: make secret generator write to k8s Secrets instead of Vault 2023-11-26 16:11:50 +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
22a3ccd331 feat: auto create Gitea webhook for Tekton 2023-01-26 01:26:52 +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
3b7e8f1688 chore: upgrade Go version of config jobs to 1.19 2022-12-29 23:22:47 +07:00
Khue Doan
d06470c3ea fix: skip new config job run if previous job run hasn't finished yet 2022-07-20 23:12:01 +07:00
Khue Doan
4676650f59 refactor: switch config jobs to cron jobs 2022-05-08 21:20:07 +07:00
Khue Doan
d94c5eb6dd chore(external-secrets): upgrade API version to v1beta1 2022-05-08 11:41:16 +07:00
Khue Doan
71b0217a54 feat: add app name and icon for all ingress 2022-05-04 09:17:42 +07:00
Khue Doan
99054d90c5 fix(gitea): add missing config source (again) 2022-03-24 10:16:45 +07:00
Khue Doan
134c0b4902 refactor(gitea)!: switch init job to structured config as code 2022-03-24 09:54:26 +07:00
Renovate Bot
86807062b2 chore(deps): update all non-major dependencies helm releases 2022-03-23 15:07:13 +00:00
Khue Doan
3f45a5f527 feat(gitea): create or migrate repo depending on config 2022-03-22 13:47:57 +07:00
Khue Doan
f52cca560a feat(gitea): read config from file 2022-03-22 13:08:58 +07:00
Khue Doan
ad180d24de feat(gitea): POC config as code (WIP) 2022-03-22 12:39:22 +07:00
Khue Doan
c0375483f8 feat(gitea): basic config structure in Go 2022-03-15 00:30:17 +07:00
Khue Doan
b5b821f3b4 feat(gitea): initial config as code structure 2022-03-14 23:22:54 +07:00
Khue Doan
1dec81df4a fix(gitea): get admin secret from new source 2022-03-10 00:36:41 +07:00
Khue Doan
6b11f7f142 fix(gitea): update correct secret path 2022-03-09 01:09:05 +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
983c8deeea fix: set Gitea root url
https://github.com/renovatebot/renovate/discussions/9774
2022-01-30 21:29:42 +07:00
Renovate Bot
d6a8495767 chore(deps): update all non-major dependencies helm releases 2022-01-27 18:19:34 +00:00
Khue Doan
74081c584a refactor: disable some tunnels 2021-12-30 11:30:02 +07:00
Khue Doan
bde8724284 style: format YAMLs to fix yamllint 2021-12-26 12:36:14 +07:00
Khue Doan
0408d9d0a5 fix(gitea): do not overwrite admin username
CreateUser: name is reserved [name: admin]
2021-12-25 16:10:00 +07:00
Khue Doan
0b5dcd97ab chore(gitea): upgrade chart version to 5.0.0 2021-12-25 15:30:58 +07:00
Khue Doan
83a33a2dd5 feat(gitea): auto init GitOps repo and org 2021-12-25 00:47:32 +07:00
Khue Doan
4e2a173858 feat: auto create records for Cloudflare Tunnels as well 2021-12-21 00:42:13 +07:00
Khue Doan
a9f8adf746 style: use YAML anchors for all ingress hosts 2021-12-16 21:02:13 +07:00
Khue Doan
bde61dc9a7 feat: allow to disable external-dns for specific ingresses
https://github.com/kubernetes-sigs/external-dns/issues/1910
2021-12-12 16:36:39 +07:00
Khue Doan
b2b5179df9 feat: switch all ingress to to letsencrypt-prod 2021-12-05 17:43:32 +07:00
Khue Doan
7c37cdb22d feat: switch all ingress to to letsencrypt-staging 2021-12-05 17:11:00 +07:00
Khue Doan
03ac8ebc7d fix: set ingress class explicitly 2021-11-29 21:16:27 +07:00
Khue Doan
d028225468 fix(platform/gitea): fix PostgreSQL storage class 2021-11-26 18:04:28 +07:00
Khue Doan
f8c0461fc0 fix(platform/gitea): attempt to fix PVC issue 2021-11-26 17:41:27 +07:00
Khue Doan
60d85d7065 chore(platform): ugprade Gitea 2021-11-17 13:57:12 +07:00