Commit Graph

88 Commits

Author SHA1 Message Date
Khue Doan
8fae9874c6 chore(argocd): upgrade to 5.20.2 2023-02-22 18:34:14 +07:00
Khue Doan
cd39632439 fix(argocd): do not apply ServiceMonitor on bootstrap 2023-01-22 12:24:29 +07:00
Khue Doan
cb1b80e34a Revert "perf(argocd): skip dry run for new CRD"
This reverts commit 377b02a6ea.

This option is resource specific, need to add an annotation to each one.
e284fd71cb/pkg/sync/sync_context.go (L734)
2022-12-24 14:11:17 +07:00
Khue Doan
377b02a6ea perf(argocd): skip dry run for new CRD
Currently, on first sync, many apps (such as nginx) will wait for ServiceMonitor,
which is created by the system/monitoring-system and takes a long time to sync.
This will significantly improve the installation speed.
2022-12-24 13:41:16 +07:00
Khue Doan
fcae2f4870 feat(argocd): upgrade and enable server side apply 2022-11-28 17:14:02 +07:00
Khue Doan
8f7bd25996 refactor(bootstrap): check Gitea Ingress instead of curl
- A bit faster (no need for timeout)
- Still works if NGINX is down
2022-10-14 21:31:07 +07:00
Khue Doan
750614c866 refactor(bootstrap): download Helm dependency when template
Instead of make target
2022-10-14 21:22:04 +07:00
Khue Doan
2115030a90 style: fix shellcheck 2022-07-21 01:58:00 +07:00
Khue Doan
bcb17a8f58 perf(argocd): turning on selective sync
https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/#selective-sync

Currently when syncing using auto sync ArgoCD applies every object in the application.
For applications containing thousands of objects this takes quite a long time and puts undue pressure on the api server.
Turning on selective sync option which will sync only out-of-sync resources.
2022-07-20 23:15:15 +07:00
Khue Doan
dc7d1256a0 build: set kubeconfig from global Makefile
Separate build steps in Tekton can use service account instead of config file
2022-05-14 20:06:57 +07:00
Khue Doan
8abee08165 chore: remove outdated TODOs 2022-05-13 22:45:16 +07:00
Khue Doan
1620404ac6 refactor(argocd): disable built in Dex
Use platform/dex instead
2022-05-08 12:29:57 +07:00
Khue Doan
71b0217a54 feat: add app name and icon for all ingress 2022-05-04 09:17:42 +07:00
Khue Doan
3ecf50f3d6 chore(argocd): upgrade to latest version
ApplicationSet already included in v4.0
2022-05-04 08:23:00 +07:00
Renovate Bot
86807062b2 chore(deps): update all non-major dependencies helm releases 2022-03-23 15:07:13 +00:00
Khue Doan
cc9a58714f refactor(bootstrap): do not wait for ApplicationSets
Use the application wait script instead
2022-03-14 22:27:54 +07:00
Khue Doan
a282bb0bb8 fix(bootstrap): add missing revision in template
(cherry picked from commit 1f019f67a677b4295e10b69501c02ae4909bb704)
2022-02-09 19:02:59 +07:00
Renovate Bot
d6a8495767 chore(deps): update all non-major dependencies helm releases 2022-01-27 18:19:34 +00:00
Khue Doan
b4365e33b7 chore(argocd): upgrade ApplicationSet chart to 1.8.0 2022-01-09 23:19:35 +07:00
Khue Doan
25e34cf77f style: clean up monitor config
- Use YAML anchor
- Use template for name and namespace
2022-01-08 12:50:08 +07:00
Loc Mai
be1b542046
chore: improve monitoring setting (#11) 2022-01-06 07:44:06 +07:00
Khue Doan
79280d3230 refactor(bootstrap): use internal Gitea domain
In case certificate doesn't work
2022-01-06 00:02:06 +07:00
Khue Doan
6b988d94f9 chore(argocd): temporarily disable ApplicationSet health check 2022-01-02 23:53:14 +07:00
Loc Mai
0c142f8183
feat(system): enable service monitors (#9)
* feat(system): enable service monitors

* chore: bump cloudflared chart version

* doc: update contributors list
2022-01-01 21:36:58 +07:00
Khue Doan
f8fa3858f6 refactor(argocd): disable anonymous read 2022-01-01 11:11:19 +07:00
Khue Doan
74081c584a refactor: disable some tunnels 2021-12-30 11:30:02 +07:00
Khue Doan
f4b63c018f refactor(bootstrap)!: split argocd and root 2021-12-28 10:24:05 +07:00
Khue Doan
c3eaf7ee06 feat(argocd): enable status badge 2021-12-27 19:07:37 +07:00
Khue Doan
61a8c791e6 fix(bootstrap): add missing apply command 2021-12-27 18:32:17 +07:00
Khue Doan
36cbbe98eb fix(argocd): use TLS from Ingress instead 2021-12-27 18:28:34 +07:00
Khue Doan
181265951f feat(bootstrap): use seed repo on first apply 2021-12-27 18:23:58 +07:00
Khue Doan
86647289b3 feat(bootstrap): switch GitOps repo to internal git 2021-12-27 17:47:38 +07:00
Khue Doan
3d3e9a92c6 refactor(bootstrap)!: switch to Helm with better templates
Squashed commit of the following:

commit c2d2def93933d5dd6ca5618385de226cd75dab3f
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Mon Dec 27 17:39:32 2021 +0700

    refactor(bootstrap): switch branch to master

commit a84a3f6ff14ee484c374f4eb13aa92495917249c
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Mon Dec 27 17:36:41 2021 +0700

    fix(bootstrap): add missing fields

commit 9d8f3d2e2374dba06c76a83241f1ea161094b241
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Mon Dec 27 17:25:04 2021 +0700

    build(bootstrap): update dependencies if needed before apply

commit 4d725efa82b4283eb701263a8b76a7c371db1e2b
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Mon Dec 27 17:15:46 2021 +0700

    feat(bootstrap): port changes from master

commit 7cb8d09a73cc17232314d742de52ae15daac1565
Merge: 3dc1417 d493de3
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Mon Dec 27 16:33:06 2021 +0700

    Merge branch 'master' into bootstrap-rework

commit 3dc141723d52ffbe0eaf3a485513dd55bb268c0f
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Wed Dec 1 13:43:28 2021 +0700

    build(bootstrap): change make targets

commit e81abd30158ca312edc64bfb88f88e7349d16a3e
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Wed Dec 1 13:42:44 2021 +0700

    feat(bootstrap): add global values

commit 69371afacf7645c935fd89807ec101670d5009d2
Merge: 370b1ca e89aea8
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Wed Dec 1 12:19:33 2021 +0700

    Merge branch 'master' into bootstrap-rework

commit 370b1caf46cffcaaad4d2e38ceca8757259cf1e9
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Wed Nov 17 00:43:13 2021 +0700

    fix namespace

commit 9ca055cd40b060bf2288832eb78d14a287a2aa46
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Tue Nov 16 22:05:29 2021 +0700

    disable cert

commit 1575fc7121b149a4426d6865db0b988b25feaa62
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Tue Nov 16 21:54:36 2021 +0700

    sync wave based on index

commit e3dfb4027265e238b02b840e78523b3970f8669d
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Tue Nov 16 21:02:27 2021 +0700

    feat(bootstrap): add project per stack

commit 68645e0e18cf6f9fcdd75dfc1d9bfb2d85a7d5bb
Author: Khue Doan <khuedoan98@gmail.com>
Date:   Tue Nov 16 11:18:18 2021 +0700

    Initial rework for bootstrap
2021-12-27 17:40:47 +07:00
Khue Doan
d493de34f0 feat(bootstrap): auto retry with backoff 2021-12-27 15:28:21 +07:00
Khue Doan
bde8724284 style: format YAMLs to fix yamllint 2021-12-26 12:36:14 +07:00
Khue Doan
26bf289166 refactor: expose ArgoCD to the internet 2021-12-24 16:50:27 +07:00
Khue Doan
436abf3782 feat(argocd): enable read-only anonymous access 2021-12-24 14:44:48 +07:00
Khue Doan
e71c90bd03 build(bootstrap): increase wait timeout 2021-12-17 08:20:23 +07:00
Khue Doan
d61c75cbd3 build(bootstrap): wait for ApplicationSets 2021-12-17 08:08:06 +07:00
Khue Doan
f42f8754bc build(bootstrap): wait for ArgoCD CRDs 2021-12-17 07:53:44 +07:00
Khue Doan
11e1722529 refactor(bootstrap): move bootstrap ApplicationSet back to root 2021-12-17 07:53:05 +07:00
Khue Doan
b505e66d67 refactor(bootstrap): let bootstrap ApplicationSet to create the root app 2021-12-14 09:57:57 +07:00
Khue Doan
118786b28c refactor(bootstrap): rename root-app to root
Match argocd-autopilot
2021-12-13 12:04:41 +07:00
Khue Doan
33b52f7950 Revert "Revert "refactor(bootstrap): remove sync wave for ApplicationSets""
This reverts commit d2862a71df.
2021-12-11 18:47:49 +07:00
Khue Doan
3e47e54192 Revert "Revert "refactor(bootstrap): sync all ApplicationSets at once""
This reverts commit 9b0b19bab1.
2021-12-11 18:47:37 +07:00
Khue Doan
9b0b19bab1 Revert "refactor(bootstrap): sync all ApplicationSets at once"
This reverts commit 84df2b1c9d.
2021-12-11 17:35:20 +07:00
Khue Doan
d2862a71df Revert "refactor(bootstrap): remove sync wave for ApplicationSets"
This reverts commit 96ad14931a.
2021-12-11 17:34:55 +07:00
Khue Doan
18314225e4 fix(bootstrap): fix ArgoCD ingress cert syntax 2021-12-05 22:34:56 +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