Commit Graph

47 Commits

Author SHA1 Message Date
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
7f933a0355 refactor(gitea): disable unused features
Keep Gitea minimal.
2024-01-08 21:16:29 +07:00
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
bb27f0a607 perf(gitea): only run config job when config files changed 2023-11-27 00:41:38 +07:00
97d3fbc0eb refactor!: make secret generator write to k8s Secrets instead of Vault 2023-11-26 16:11:50 +07:00
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
22a3ccd331 feat: auto create Gitea webhook for Tekton 2023-01-26 01:26:52 +07:00
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
3b7e8f1688 chore: upgrade Go version of config jobs to 1.19 2022-12-29 23:22:47 +07:00
d06470c3ea fix: skip new config job run if previous job run hasn't finished yet 2022-07-20 23:12:01 +07:00
4676650f59 refactor: switch config jobs to cron jobs 2022-05-08 21:20:07 +07:00
d94c5eb6dd chore(external-secrets): upgrade API version to v1beta1 2022-05-08 11:41:16 +07:00
71b0217a54 feat: add app name and icon for all ingress 2022-05-04 09:17:42 +07:00
99054d90c5 fix(gitea): add missing config source (again) 2022-03-24 10:16:45 +07:00
134c0b4902 refactor(gitea)!: switch init job to structured config as code 2022-03-24 09:54:26 +07:00
86807062b2 chore(deps): update all non-major dependencies helm releases 2022-03-23 15:07:13 +00:00
3f45a5f527 feat(gitea): create or migrate repo depending on config 2022-03-22 13:47:57 +07:00
f52cca560a feat(gitea): read config from file 2022-03-22 13:08:58 +07:00
ad180d24de feat(gitea): POC config as code (WIP) 2022-03-22 12:39:22 +07:00
c0375483f8 feat(gitea): basic config structure in Go 2022-03-15 00:30:17 +07:00
b5b821f3b4 feat(gitea): initial config as code structure 2022-03-14 23:22:54 +07:00
1dec81df4a fix(gitea): get admin secret from new source 2022-03-10 00:36:41 +07:00
6b11f7f142 fix(gitea): update correct secret path 2022-03-09 01:09:05 +07:00
ab795ab34b fix(gitea): use template engine v2 for external secret 2022-02-26 11:46:50 +07:00
d6ea436368 fix(gitea): remove .data prefix in template 2022-02-26 11:42:30 +07:00
1764039b9f fix(gitea): escape curly braces 2022-02-26 11:29:09 +07:00
e5f35f3640 fix(gitea): add missing password template in data 2022-02-26 11:21:34 +07:00
552feda283 fix(gitea): add missing property for admin secret ref 2022-02-26 10:50:20 +07:00
182a2d80b4 refactor(gitea)!: use admin secret from vault 2022-02-26 10:46:27 +07:00
983c8deeea fix: set Gitea root url
https://github.com/renovatebot/renovate/discussions/9774
2022-01-30 21:29:42 +07:00
d6a8495767 chore(deps): update all non-major dependencies helm releases 2022-01-27 18:19:34 +00:00
74081c584a refactor: disable some tunnels 2021-12-30 11:30:02 +07:00
bde8724284 style: format YAMLs to fix yamllint 2021-12-26 12:36:14 +07:00
0408d9d0a5 fix(gitea): do not overwrite admin username
CreateUser: name is reserved [name: admin]
2021-12-25 16:10:00 +07:00
0b5dcd97ab chore(gitea): upgrade chart version to 5.0.0 2021-12-25 15:30:58 +07:00
83a33a2dd5 feat(gitea): auto init GitOps repo and org 2021-12-25 00:47:32 +07:00
4e2a173858 feat: auto create records for Cloudflare Tunnels as well 2021-12-21 00:42:13 +07:00
a9f8adf746 style: use YAML anchors for all ingress hosts 2021-12-16 21:02:13 +07:00
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
b2b5179df9 feat: switch all ingress to to letsencrypt-prod 2021-12-05 17:43:32 +07:00
7c37cdb22d feat: switch all ingress to to letsencrypt-staging 2021-12-05 17:11:00 +07:00
03ac8ebc7d fix: set ingress class explicitly 2021-11-29 21:16:27 +07:00
d028225468 fix(platform/gitea): fix PostgreSQL storage class 2021-11-26 18:04:28 +07:00
f8c0461fc0 fix(platform/gitea): attempt to fix PVC issue 2021-11-26 17:41:27 +07:00
60d85d7065 chore(platform): ugprade Gitea 2021-11-17 13:57:12 +07:00
96acd3646e gitea: set default landing page to explore 2021-09-03 16:13:50 +07:00
8f4088dadb Move git, ci and sso to platform layer 2021-09-03 12:36:52 +07:00