Compare commits

...

212 Commits

Author SHA1 Message Date
Renovate Bot c306577296 chore(deps): update postgresql docker tag to v15.5.28 2024-09-09 12:08:15 +00:00
Renovate Bot be047848dd chore(deps): update minio/minio:latest docker digest to 0bd7959 2024-09-09 12:07:49 +00:00
Renovate Bot ca0f00da96 chore(deps): update minio/mc:latest docker digest to 10fea08 2024-09-09 11:50:23 +00:00
Renovate Bot 7dea9a7db3 chore(deps): update busybox:1.36 docker digest to 34b191d 2024-09-09 11:49:57 +00:00
Renovate Bot 4a8f58be41 chore(deps): update minio/minio:latest docker digest to be3db71 2024-07-15 13:32:56 +00:00
Renovate Bot b7115b24dd chore(deps): update minio/mc:latest docker digest to d8c5a42 2024-07-15 13:31:28 +00:00
Renovate Bot 2280a49726 chore(deps): update bitnami/postgresql docker tag to v16.3.0-debian-12-r17 2024-07-03 09:27:06 +00:00
Renovate Bot f0673adc10 chore(deps): update ghcr.io/lordmathis/k9s-web:latest docker digest to 6db8f88 2024-07-03 09:26:42 +00:00
Renovate Bot 0ccd72f22b chore(deps): update minio/minio:latest docker digest to fce0a90 2024-07-01 08:28:10 +00:00
Renovate Bot 27b0542a56 chore(deps): update minio/mc:latest docker digest to bde937e 2024-07-01 08:27:46 +00:00
Renovate Bot 660fbfce3e chore(deps): update minio/minio:latest docker digest to c717507 2024-06-17 17:13:39 +00:00
Renovate Bot 8bdff88309 chore(deps): update minio/mc:latest docker digest to 3adae97 2024-06-17 17:13:14 +00:00
Mathis 8dab1e15ac Merge pull request 'chore(deps): update bitnami/postgresql docker tag to v16' (#107) from renovate/bitnami-postgresql-16.x into main
Reviewed-on: #107
2024-06-17 17:12:01 +00:00
Renovate Bot c411c258c3 chore(deps): update bitnami/postgresql docker tag to v16 2024-06-12 09:59:08 +00:00
Renovate Bot 0177679162 chore(deps): update postgresql docker tag to v15.5.5 2024-06-12 09:52:10 +00:00
Renovate Bot 543f7e3a12 chore(deps): update bitnami/postgresql docker tag to v15.7.0-debian-12-r9 2024-06-12 09:51:40 +00:00
Renovate Bot 3272bace5a chore(deps): update minio/minio:latest docker digest to bf46153 2024-06-11 17:29:16 +00:00
Renovate Bot 1a78935812 chore(deps): update minio/mc:latest docker digest to 54a328c 2024-06-11 17:28:52 +00:00
Renovate Bot bd98bb128a chore(deps): update postgresql docker tag to v15.5.4 2024-06-08 22:52:07 +00:00
Renovate Bot 0d61b1a864 chore(deps): update helm release k8s-monitoring to v1.0.13 2024-06-08 22:51:29 +00:00
Mathis 67d4e3932c Merge pull request 'chore(deps): update helm release gitea to v10.2.0' (#111) from renovate/gitea-10.x into main
Reviewed-on: #111
2024-06-07 08:11:10 +00:00
Renovate Bot ec76d6017a chore(deps): update helm release gitea to v10.2.0 2024-06-07 08:04:48 +00:00
Renovate Bot df0d057a30 chore(deps): update bitnami/postgresql docker tag to v15.7.0-debian-12-r8 2024-06-07 08:04:19 +00:00
Renovate Bot eaf3cf201e chore(deps): update minio/minio:latest docker digest to c97dbb0 2024-06-07 07:59:03 +00:00
Renovate Bot 7254122509 chore(deps): update minio/mc:latest docker digest to 4c43b8f 2024-06-07 07:58:39 +00:00
Renovate Bot 1f55bd52bb chore(deps): update postgresql docker tag to v15.5.2 2024-06-05 10:48:52 +00:00
Mathis ec9cffa2f4 Pin busybox in helper pod 2024-06-05 10:47:47 +00:00
Mathis 0b99dd04c0 Fix wrong architecture digest 2024-06-05 10:46:12 +00:00
Mathis 9e1c1f1425 Switch to versioned busybox 2024-06-05 10:40:10 +00:00
Mathis 18780c4a29 Update apps/mlflow/minio-deployment.yaml 2024-06-05 09:42:01 +00:00
Mathis 8d6b8f72ba Pin minio mc image 2024-06-05 09:40:27 +00:00
Mathis 431ef255ca Pin act runner 2024-06-05 09:38:19 +00:00
Mathis 2e47b1f8bf Pin restic debug pod 2024-06-05 09:34:32 +00:00
Renovate Bot 91682ff0f1 chore(deps): update busybox:stable docker digest to 9ae97d3 2024-06-05 09:13:52 +00:00
Renovate Bot 02696b8159 chore(deps): update busybox:1.36 docker digest to 9ae97d3 2024-06-05 09:13:32 +00:00
Mathis bc24372f89 Merge pull request 'chore(deps): update bitnami/postgresql docker tag to v15.7.0-debian-12-r7' (#102) from renovate/bitnami-postgresql-15.x into main
Reviewed-on: #102
2024-06-03 13:49:52 +00:00
Mathis c1cdfffb19 Merge pull request 'chore(deps): update helm release traefik to v28.2.0' (#100) from renovate/traefik-28.x into main
Reviewed-on: #100
2024-06-03 13:48:59 +00:00
Mathis 1fc90d7871 Merge branch 'main' into renovate/traefik-28.x 2024-06-03 13:48:52 +00:00
Mathis 669d69aa2e Pin gitea postgres dependecy 2024-06-03 13:48:24 +00:00
Mathis f276565224 Pin code server 2024-06-03 13:34:16 +00:00
Mathis df8ba604f3 Merge branch 'main' into renovate/bitnami-postgresql-15.x 2024-06-03 13:25:45 +00:00
Mathis 05443e12ac Merge pull request 'chore(deps): update busybox docker tag to v1.36' (#103) from renovate/busybox-1.x into main
Reviewed-on: #103
2024-06-03 13:25:09 +00:00
Renovate Bot 8cccb33a3b chore(deps): update busybox docker tag to v1.36 2024-06-03 13:22:34 +00:00
Renovate Bot 2aad370a44 chore(deps): update bitnami/postgresql docker tag to v15.7.0-debian-12-r7 2024-06-03 13:22:26 +00:00
Mathis a1a60b8025 Add kubernetes dependecies to renovate 2024-06-03 13:21:25 +00:00
Mathis 6edf5aab79 Pin k9s 2024-06-03 13:18:24 +00:00
Mathis de3bfb97d2 Pin dev container 2024-06-03 13:15:40 +00:00
Mathis 7e9124599b Pin mlflow docker image 2024-06-03 13:11:41 +00:00
Mathis 896ca8ba8d Pin minio docker container 2024-06-03 13:09:35 +00:00
Mathis b183b3e6d5 Specify digest for website container 2024-06-03 13:07:34 +00:00
Mathis a50e76e82e Add digests to gitea restic containers 2024-06-03 13:06:19 +00:00
Mathis ab2fb7864c Merge pull request 'chore(deps): update postgresql docker tag to v15.5.0' (#101) from renovate/postgresql-15.x into main
Reviewed-on: #101
2024-06-03 08:46:39 +00:00
Renovate Bot 8dd9e1a98d chore(deps): update postgresql docker tag to v15.5.0 2024-06-01 12:04:18 +00:00
Renovate Bot 26c527f10f chore(deps): update helm release traefik to v28.2.0 2024-06-01 12:04:12 +00:00
Mathis fd8224e8d9 Change backup cronjob time 2024-05-28 21:33:44 +00:00
Renovate Bot 905395eaf1 chore(deps): update postgresql docker tag to v15.4.2 2024-05-28 20:59:47 +00:00
Mathis 7577017638 Update website version 2024-05-26 21:17:49 +00:00
Mathis 7a11187228 Merge pull request 'chore(deps): update helm release traefik to v28' (#90) from renovate/traefik-28.x into main
Reviewed-on: #90
2024-05-23 08:42:43 +00:00
Mathis d7327d1a7a Merge pull request 'chore(deps): update postgresql docker tag to v15.4.0' (#98) from renovate/postgresql-15.x into main
Reviewed-on: #98
2024-05-23 08:28:04 +00:00
Renovate Bot b83aaa1c33 chore(deps): update helm release traefik to v28 2024-05-23 08:22:55 +00:00
Renovate Bot ce4856f23c chore(deps): update postgresql docker tag to v15.4.0 2024-05-23 08:20:23 +00:00
Renovate Bot ac77b92391 chore(deps): update postgresql docker tag to v15.3.4 2024-05-20 20:36:44 +00:00
Renovate Bot 497af17692 chore(deps): update postgresql docker tag to v15.3.3 2024-05-18 09:09:17 +00:00
Renovate Bot ace9cfb56a chore(deps): update helm release k8s-monitoring to v1.0.12 2024-05-17 08:04:40 +00:00
Renovate Bot b18d684d98 chore(deps): update helm release k8s-monitoring to v1.0.10 2024-05-16 08:01:55 +00:00
Renovate Bot 21328104ba chore(deps): update postgresql docker tag to v15.3.2 2024-05-15 09:03:24 +00:00
Renovate Bot 8d3ab5bb8e chore(deps): update helm release k8s-monitoring to v1.0.9 2024-05-15 09:02:46 +00:00
Mathis 946a6d1f23 Merge pull request 'chore(deps): update postgresql docker tag to v15.3.0' (#91) from renovate/postgresql-15.x into main
Reviewed-on: #91
2024-05-13 11:55:51 +00:00
Mathis 07e41800e3 Merge branch 'main' into renovate/postgresql-15.x 2024-05-13 11:55:43 +00:00
Mathis 96bc8543ba Remove automergeType branch 2024-05-13 11:53:40 +00:00
Renovate Bot fbd93f8d00 chore(deps): update postgresql docker tag to v15.3.0 2024-05-13 11:52:41 +00:00
Renovate Bot 6c508d637c chore(deps): update helm release k8s-monitoring to v1.0.8 2024-05-13 11:47:57 +00:00
Renovate Bot 286c9dea93 chore(deps): update busybox:stable docker digest to 5eef5ed 2024-05-13 11:47:42 +00:00
Renovate Bot acf44ca43a chore(deps): update helm release k8s-monitoring to v1.0.7 2024-05-07 00:01:02 +00:00
Renovate Bot c81fdca09a chore(deps): update postgresql docker tag to v15.2.9 2024-05-06 10:58:29 +00:00
Renovate Bot 621fa513aa chore(deps): update helm release k8s-monitoring to v1.0.6 2024-05-03 07:09:13 +00:00
Renovate Bot 198551bcd3 chore(deps): update postgresql docker tag to v15.2.8 2024-05-02 08:10:02 +00:00
Renovate Bot 2ad98fd413 chore(deps): update helm release k8s-monitoring to v1.0.5 2024-05-02 08:05:10 +00:00
Renovate Bot 7f6b1e8e34 chore(deps): update busybox:stable docker digest to 6776a33 2024-05-02 08:04:53 +00:00
Mathis fdf267920a Merge pull request 'Change monitoring solution' (#89) from feat/grafana-labs into main
Reviewed-on: #89
2024-04-27 14:56:35 +00:00
Mathis 9f0910e31c Change monitoring solution 2024-04-27 14:53:40 +00:00
Mathis a54024a577 Add k9s 2024-04-26 21:38:38 +00:00
Mathis ee75d54667 Add dev-container 2024-04-25 19:55:49 +00:00
Renovate Bot 4cd921b8d8 chore(deps): update helm release kube-prometheus-stack to v58.2.2 2024-04-24 12:01:05 +00:00
Mathis d876a9d356 Merge pull request 'chore(deps): update helm release kube-prometheus-stack to v58.2.1' (#88) from renovate/kube-prometheus-stack-58.x into main
Reviewed-on: #88
2024-04-22 15:06:58 +00:00
Renovate Bot 6af405e502 chore(deps): update helm release kube-prometheus-stack to v58.2.1 2024-04-22 14:42:41 +00:00
Renovate Bot 46cb48a3bc chore(deps): update helm release traefik to v27.0.2 2024-04-22 14:38:42 +00:00
Renovate Bot a138609fdc chore(deps): update helm release gitea to v10.1.4 2024-04-22 14:37:50 +00:00
Renovate Bot e79fa9dc35 chore(deps): update postgresql docker tag to v15.2.5 2024-04-11 00:01:10 +00:00
Mathis cef99be64c Merge pull request 'chore(deps): update helm release kube-prometheus-stack to v58' (#87) from renovate/kube-prometheus-stack-58.x into main
Reviewed-on: #87
2024-04-09 20:43:29 +00:00
Renovate Bot 30ffc0c6a5 chore(deps): update helm release kube-prometheus-stack to v58 2024-04-07 00:01:15 +00:00
Renovate Bot 524c043e39 chore(deps): update helm release kube-prometheus-stack to v57.2.1 2024-04-07 00:01:01 +00:00
Renovate Bot ca5f700738 chore(deps): update postgresql docker tag to v15.2.4 2024-04-06 00:02:10 +00:00
Mathis 6fb291b3bd Fix gitea update issues with level db 2024-04-05 22:32:04 +00:00
Mathis 1ff5914172 Update monitoring deployment 2024-04-05 22:07:15 +00:00
Mathis 2e686cd05c Merge pull request 'chore(deps): update helm release traefik to v27' (#86) from renovate/traefik-27.x into main
Reviewed-on: #86
2024-04-05 08:27:58 +00:00
Renovate Bot 68144eced6 chore(deps): update helm release traefik to v27 2024-04-05 00:01:09 +00:00
Mathis d0deb1d01d Merge pull request 'chore(deps): update postgresql docker tag to v15' (#84) from renovate/postgresql-15.x into main
Reviewed-on: #84
2024-04-03 19:35:36 +00:00
Mathis 406aa4da25 Merge branch 'main' into renovate/postgresql-15.x 2024-04-03 19:34:12 +00:00
Mathis 0dc4d48d3e Add mlflow db upgrade init container 2024-04-03 19:33:20 +00:00
Mathis 429f870029 Fix deployment issues 2024-04-03 19:10:58 +00:00
Mathis c1ccd73764 Implement Makefile for deployment 2024-04-03 19:10:58 +00:00
Renovate Bot 87292c16a4 chore(deps): update postgresql docker tag to v15 2024-04-03 00:01:02 +00:00
Renovate Bot 4cd13b7acf chore(deps): update busybox:stable docker digest to c3839dd 2024-04-01 19:23:33 +00:00
Mathis ef369f4880 Automerge digest 2024-04-01 19:22:04 +00:00
Mathis 47df70a56b Merge pull request 'chore(deps): update helm release kube-prometheus-stack to v57.2.0' (#83) from renovate/kube-prometheus-stack-57.x into main
Reviewed-on: #83
2024-03-28 09:54:00 +00:00
Renovate Bot be9c4474dc chore(deps): update helm release kube-prometheus-stack to v57.2.0 2024-03-28 09:46:42 +00:00
Mathis c8dbb36dc9 Switch mlflow tag 2024-03-24 17:09:05 +00:00
Mathis 4a7abf6fb0 Remove renovate confg 2024-03-24 17:07:15 +00:00
Mathis 03665ac015 Fix restic password key 2024-03-24 17:05:07 +00:00
Mathis 4a001f8005 Merge pull request 'chore(deps): update postgresql docker tag to v13.4.6' (#80) from renovate/postgresql-13.x into main
Reviewed-on: #80
2024-03-24 13:51:19 +00:00
Mathis 6ac582cd68 Merge pull request 'chore(deps): update helm release kube-prometheus-stack to v57' (#69) from renovate/kube-prometheus-stack-57.x into main
Reviewed-on: #69
2024-03-24 13:50:44 +00:00
Renovate Bot b7b026bd6c chore(deps): update helm release kube-prometheus-stack to v57 2024-03-24 13:48:38 +00:00
Renovate Bot c54b491238 chore(deps): update postgresql docker tag to v13.4.6 2024-03-24 13:48:33 +00:00
Renovate Bot a04b169130 chore(deps): update helm release renovate to v37.269.2 2024-03-24 13:48:05 +00:00
Mathis 4bbebb3eb7 Merge pull request 'chore(deps): update helm release traefik to v26.1.0' (#54) from renovate/traefik-26.x into main
Reviewed-on: #54
2024-03-24 13:01:43 +00:00
Mathis 665f21d43b Merge branch 'main' into renovate/traefik-26.x 2024-03-24 12:59:13 +00:00
Mathis 7714816bb4 Merge pull request 'chore(deps): update busybox:stable docker digest to 650fd57' (#66) from renovate/busybox-stable into main
Reviewed-on: #66
2024-03-24 12:57:34 +00:00
Mathis 8d72b335c9 Merge pull request 'chore(deps): update helm release kube-prometheus-stack to v56.21.4' (#62) from renovate/kube-prometheus-stack-56.x into main
Reviewed-on: #62
2024-03-24 12:57:04 +00:00
Renovate Bot 3c826b007e chore(deps): update helm release renovate to v37.267.1 2024-03-24 01:00:23 +00:00
Renovate Bot f15652ea85 chore(deps): update helm release renovate to v37.265.1 2024-03-23 01:00:24 +00:00
Renovate Bot a51dfc16b7 chore(deps): update helm release renovate to v37.262.2 2024-03-21 01:00:22 +00:00
Renovate Bot 9d152b65ee chore(deps): update helm release renovate to v37.261.0 2024-03-20 01:00:24 +00:00
Renovate Bot c307668d98 chore(deps): update helm release renovate to v37.252.0 2024-03-18 01:00:24 +00:00
Renovate Bot 88ce1ef714 chore(deps): update helm release renovate to v37.250.0 2024-03-17 01:00:23 +00:00
Renovate Bot 75f1773f22 chore(deps): update helm release renovate to v37.249.3 2024-03-16 01:00:23 +00:00
Renovate Bot fdb93b4a2b chore(deps): update helm release renovate to v37.244.0 2024-03-14 01:00:22 +00:00
Renovate Bot 5d4e8c6110 chore(deps): update helm release renovate to v37.235.5 2024-03-12 01:00:23 +00:00
Renovate Bot 3f57151bd0 chore(deps): update helm release renovate to v37.233.1 2024-03-09 01:00:24 +00:00
Renovate Bot bbf00cac5a chore(deps): update helm release kube-prometheus-stack to v56.21.4 2024-03-09 01:00:22 +00:00
Renovate Bot 90aa7f7cd3 chore(deps): update helm release renovate to v37.231.2 2024-03-08 01:00:26 +00:00
Renovate Bot 26469f1f53 chore(deps): update busybox:stable docker digest to 650fd57 2024-03-08 01:00:21 +00:00
Mathis c6b1764fef Merge pull request 'chore(deps): update busybox:stable docker digest to acdc29f' (#64) from renovate/busybox-stable into main
Reviewed-on: #64
2024-03-06 09:00:41 +00:00
Renovate Bot 13203fd01c chore(deps): update helm release renovate to v37.229.0 2024-03-06 01:00:24 +00:00
Renovate Bot 5d5150ad7f chore(deps): update busybox:stable docker digest to acdc29f 2024-03-06 01:00:21 +00:00
Renovate Bot 7a9903b8d0 chore(deps): update helm release renovate to v37.227.0 2024-03-05 01:00:24 +00:00
Mathis 657400d34a Merge pull request 'chore(deps): update helm release kube-prometheus-stack to v56.20.0' (#52) from renovate/kube-prometheus-stack-56.x into main
Reviewed-on: #52
2024-03-04 12:41:14 +00:00
Renovate Bot 70ff1b752b chore(deps): update helm release renovate to v37.225.0 2024-03-04 01:00:24 +00:00
Renovate Bot 9938105948 chore(deps): update helm release kube-prometheus-stack to v56.20.0 2024-03-04 01:00:22 +00:00
Renovate Bot 29d31c5b08 chore(deps): update helm release renovate to v37.222.2 2024-03-02 01:00:25 +00:00
Renovate Bot dbf49f19c4 chore(deps): update helm release renovate to v37.219.5 2024-02-29 01:00:23 +00:00
Renovate Bot 72067968c5 chore(deps): update helm release renovate to v37.214.1 2024-02-27 01:00:31 +00:00
Renovate Bot ababe31e87 chore(deps): update helm release gitea to v10.1.3 2024-02-27 01:00:21 +00:00
Renovate Bot 215d2116e0 chore(deps): update helm release renovate to v37.214.0 2024-02-26 01:00:20 +00:00
Renovate Bot 1a384e6efe chore(deps): update helm release renovate to v37.212.0 2024-02-24 01:00:30 +00:00
Renovate Bot d5d2dea514 chore(deps): update helm release gitea to v10.1.2 2024-02-24 01:00:20 +00:00
Renovate Bot 3c9214cbfe chore(deps): update helm release renovate to v37.210.0 2024-02-23 01:00:23 +00:00
Renovate Bot a3dca4be5f chore(deps): update helm release renovate to v37.203.1 2024-02-21 01:00:22 +00:00
Renovate Bot 1db3bad1bc chore(deps): update helm release traefik to v26.1.0 2024-02-20 01:00:33 +00:00
Renovate Bot 9619c4b182 chore(deps): update helm release renovate to v37.202.0 2024-02-20 01:00:23 +00:00
Renovate Bot 083aedc017 chore(deps): update helm release renovate to v37.194.1 2024-02-18 01:00:24 +00:00
Renovate Bot ed59851b8a chore(deps): update helm release renovate to v37.192.1 2024-02-16 01:00:20 +00:00
Mathis bf5dbaf48d Update website version 2024-02-15 21:13:21 +00:00
Renovate Bot 2fc686689b chore(deps): update helm release renovate to v37.187.1 2024-02-14 01:00:55 +00:00
Mathis 313daeee52 Update website version 2024-02-13 17:15:29 +00:00
Renovate Bot 337829ca8e chore(deps): update helm release renovate to v37.186.0 2024-02-13 01:00:54 +00:00
Mathis 8963253e33 Merge pull request 'chore(deps): update helm release kube-prometheus-stack to v56' (#31) from renovate/kube-prometheus-stack-56.x into main
Reviewed-on: #31
2024-02-12 18:35:20 +00:00
Mathis c5e829f80a Merge branch 'main' into renovate/kube-prometheus-stack-56.x 2024-02-12 18:34:37 +00:00
Mathis 29c2efb53a Merge pull request 'chore(deps): update helm release gitea to v10.1.1' (#34) from renovate/gitea-10.x into main
Reviewed-on: #34
2024-02-12 18:20:39 +00:00
Mathis b600edea4f Merge branch 'main' into renovate/gitea-10.x 2024-02-12 18:18:56 +00:00
Renovate Bot c8f12f7ad8 chore(deps): update helm release renovate to v37.183.0 2024-02-12 01:00:25 +00:00
Mathis baba6323db Fix wrong restic spec 2024-02-10 22:48:03 +00:00
Mathis 7a7fc88c6f Merge pull request 'Implement restic-backup for Gitea' (#46) from restic-backup into main
Reviewed-on: #46
2024-02-10 22:45:40 +00:00
Mathis 4c41a50c32 Merge branch 'main' into restic-backup 2024-02-10 22:45:25 +00:00
Mathis fce4044036 Specify restic pod hostname 2024-02-10 22:43:27 +00:00
Renovate Bot 95000d3ec0 chore(deps): update helm release renovate to v37.181.8 2024-02-10 01:00:25 +00:00
Renovate Bot c8602ba269 chore(deps): update helm release renovate to v37.177.0 2024-02-09 01:00:27 +00:00
Renovate Bot b4fb530c73 chore(deps): update helm release renovate to v37.174.3 2024-02-07 01:00:29 +00:00
Renovate Bot 2beb6f9963 chore(deps): update helm release kube-prometheus-stack to v56 2024-02-05 01:00:41 +00:00
Renovate Bot 4465b7ac0f chore(deps): update helm release renovate to v37.172.2 2024-02-05 01:00:28 +00:00
Renovate Bot 90dcac8fdc chore(deps): update helm release renovate to v37.168.2 2024-02-03 01:00:28 +00:00
Renovate Bot f5219b568d chore(deps): update helm release renovate to v37.165.1 2024-02-02 01:00:31 +00:00
Renovate Bot a70262505c chore(deps): update helm release gitea to v10.1.1 2024-02-02 01:00:22 +00:00
Mathis 9311774b35 Move restic to subdir 2024-02-01 17:44:03 +00:00
Mathis dbdd1452bf Change restic pvc to ReadWriteOnce 2024-02-01 17:32:24 +00:00
Mathis ad3516609e Add restic debug pod 2024-02-01 17:31:02 +00:00
Mathis 86c4255d53 Add pvc to restic cronjob 2024-02-01 16:25:19 +00:00
Renovate Bot dd9011218e chore(deps): update helm release renovate to v37.163.2 2024-02-01 01:00:28 +00:00
Mathis f37f961a10 Working restic backup 2024-01-30 19:44:56 +00:00
LordMathis 76bb29e566 Restic backup cronjob implementation 2024-01-30 17:12:59 +01:00
Renovate Bot fa358cf09e chore(deps): update helm release renovate to v37.158.2 2024-01-30 01:00:27 +00:00
Renovate Bot 97b34a2a1f chore(deps): update helm release renovate to v37.153.2 2024-01-28 01:00:21 +00:00
Renovate Bot 763206155b chore(deps): update helm release renovate to v37.153.0 2024-01-27 01:00:28 +00:00
Renovate Bot c295bbece8 chore(deps): update helm release renovate to v37.150.1 2024-01-25 01:00:28 +00:00
Renovate Bot 06d5286e95 chore(deps): update helm release renovate to v37.149.1 2024-01-24 01:00:27 +00:00
Mathis 0fa6fb2534 Merge pull request 'chore(deps): pin busybox docker tag to 6d9ac92' (#33) from renovate/pin-dependencies into main
Reviewed-on: #33
2024-01-23 09:42:53 +00:00
Renovate Bot b576cc42fa chore(deps): pin busybox docker tag to 6d9ac92 2024-01-23 01:00:22 +00:00
LordMathis 4d48b8355d Create restic backup cronjob 2024-01-22 21:55:48 +01:00
Mathis 112f4769f4 Update infra/traefik/values.yaml 2024-01-22 09:27:32 +00:00
Mathis 5febb23c0c Merge pull request 'chore(deps): update busybox:latest docker digest to 6d9ac92' (#30) from renovate/busybox-latest into main
Reviewed-on: #30
2024-01-22 09:26:30 +00:00
Renovate Bot 7032b09ebe chore(deps): update helm release renovate to v37.141.0 2024-01-22 01:00:20 +00:00
Renovate Bot 7136ca3b98 chore(deps): update helm release renovate to v37.140.14 2024-01-21 01:00:24 +00:00
Renovate Bot 4069b25580 chore(deps): update busybox:latest docker digest to 6d9ac92 2024-01-21 01:00:21 +00:00
Renovate Bot 472be63ef4 chore(deps): update helm release renovate to v37.140.10 2024-01-20 01:00:22 +00:00
Renovate Bot e8406872ee chore(deps): update helm release renovate to v37.140.2 2024-01-19 01:00:21 +00:00
Mathis e3d87d2393 Initial monitoring impl 2024-01-18 20:43:36 +00:00
Mathis 99be722b27 Add init container to act-runner 2024-01-18 18:43:06 +00:00
Renovate Bot b04723a77b chore(deps): update helm release renovate to v37.139.3 2024-01-18 01:00:18 +00:00
Mathis 56e843f0b4 Merge pull request 'chore(deps): update helm release renovate to v37.137.2' (#27) from renovate/renovate into main
Reviewed-on: #27
2024-01-17 20:16:13 +00:00
Mathis f69e3c966f Merge branch 'main' into renovate/renovate 2024-01-17 20:05:18 +00:00
Mathis 325600f33f Try again with automerge 2024-01-17 19:59:12 +00:00
Renovate Bot 0d5cb1e591 chore(deps): update helm release renovate to v37.137.2 2024-01-17 01:00:18 +00:00
Mathis f2ed99a68e Merge pull request 'chore(deps): update helm release renovate to v37.131.0' (#26) from renovate/renovate into main
Reviewed-on: #26
2024-01-15 12:34:22 +00:00
Renovate Bot 8a2e97893e chore(deps): update helm release renovate to v37.131.0 2024-01-15 01:00:17 +00:00
Mathis 194f33c8d4 Merge pull request 'chore(deps): update helm release renovate to v37.128.6' (#25) from renovate/renovate into main
Reviewed-on: #25
2024-01-12 08:20:57 +00:00
Renovate Bot 6ac4a24200 chore(deps): update helm release renovate to v37.128.6 2024-01-12 01:00:19 +00:00
Mathis c70d31df0c Stop removing acme.json 2024-01-08 08:40:04 +00:00
Mathis 40b8d01724 Merge pull request 'chore(deps): pin busybox docker tag to ba76950' (#24) from renovate/pin-dependencies into main
Reviewed-on: #24
2024-01-08 08:37:14 +00:00
Renovate Bot a53c3e27a0 chore(deps): pin busybox docker tag to ba76950 2024-01-06 01:00:18 +00:00
Mathis 6a2be56f2a Set up renovate automerging 2024-01-05 10:42:46 +00:00
Mathis 64223f6845 Merge pull request 'chore(deps): update helm release renovate to v37.121.0' (#23) from renovate/renovate-37.x into main
Reviewed-on: #23
2024-01-05 10:31:12 +00:00
Renovate Bot ecda67b81e chore(deps): update helm release renovate to v37.121.0 2024-01-05 01:00:17 +00:00
45 changed files with 590 additions and 71 deletions

9
Makefile Normal file
View File

@ -0,0 +1,9 @@
FOLDERS := infra/traefik infra/storage infra/monitoring infra/authelia apps/namesny-com apps/mlflow apps/gitea apps/code-server apps/dev-container
all: $(FOLDERS)
$(FOLDERS):
@echo "Deploying $@..."
cd $(CURDIR)/$@ && kustomize build --enable-helm --enable-alpha-plugins --enable-exec . | kubectl apply -f -
.PHONY: deploy $(FOLDERS)

View File

@ -17,7 +17,7 @@ spec:
spec:
initContainers:
- name: init-chmod-data
image: busybox:1.36
image: busybox:1.36@sha256:34b191d63fbc93e25e275bfccf1b5365664e5ac28f06d974e8d50090fbb49f41
imagePullPolicy: IfNotPresent
command:
- sh
@ -30,7 +30,7 @@ spec:
- name: data
mountPath: /home/coder
containers:
- image: codercom/code-server:4.20.0
- image: codercom/code-server:4.89.1-ubuntu@sha256:d7faf97bc59933b398d5df5c5aec786637a9e40ae8c842bb8d23ca20e0946739
imagePullPolicy: IfNotPresent
name: code-server
args:

View File

@ -0,0 +1,32 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: dev-container
namespace: dev
labels:
app: dev-container
spec:
replicas: 1
selector:
matchLabels:
app: dev-container
template:
metadata:
labels:
app: dev-container
spec:
securityContext:
fsGroup: 1000
containers:
- name: dev-container
image: git.namesny.com/mathis/dev-container:2024-04-25@sha256:54e0a338fec52e4f124bb8b9030892bbb85b61717f237107377a2ad1d1db567c
imagePullPolicy: Always
ports:
- containerPort: 7681
volumeMounts:
- name: projects
mountPath: /home/dev/projects
volumes:
- name: projects
persistentVolumeClaim:
claimName: dev-projects

View File

@ -0,0 +1,16 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: dev-cnt-ingress
namespace: dev
spec:
entryPoints:
- websecure
routes:
- match: Host(`dev.namesny.com`)
kind: Rule
middlewares:
- name: "auth-authelia@kubernetescrd"
services:
- name: dev-cnt-svc
port: 7681

View File

@ -0,0 +1,11 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: dev
resources:
- namespace.yaml
- pvc.yaml
- deployment.yaml
- service.yaml
- ingress.yaml

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: dev

View File

@ -0,0 +1,12 @@
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: dev-projects
namespace: dev
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
storageClassName: retain-local-path

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: dev-cnt-svc
namespace: dev
spec:
selector:
app: dev-container
type: ClusterIP
ports:
- protocol: TCP
port: 7681
targetPort: 7681

View File

@ -5,7 +5,10 @@ postgresql-ha:
postgresql:
enabled: true
image:
tag: 15.3.0-debian-11-r24
registry: docker.io
repository: bitnami/postgresql
tag: 15.3.0-debian-11-r24
digest: sha256:fff6086d557d962422c6d751b6723877642170bbcc25d6f23e5c2c2f079987d5
primary:
persistence:
storageClass: retain-local-path
@ -33,7 +36,7 @@ gitea:
cache:
ADAPTER: memory
queue:
TYPE: level
TYPE: channel
server:
BUILTIN_SSH_SERVER_USER: git
ROOT_URL: https://git.namesny.com

View File

@ -7,6 +7,7 @@ resources:
- gitea-ingress.yaml
- runner-pvc.yaml
- runner-deployment.yaml
- ./restic
generators:
- secret-generator.yaml
@ -14,15 +15,8 @@ generators:
helmCharts:
- name: gitea
releaseName: gitea
version: 10.0.2
version: 10.2.0
repo: https://dl.gitea.io/charts/
namespace: gitea
valuesMerge: merge
valuesFile: gitea-values.yaml
- name: renovate
releaseName: renovate
version: 37.115.0
repo: https://docs.renovatebot.com/helm-charts
namespace: gitea
valuesFile: renovate-bot-values.yaml

View File

@ -1,31 +0,0 @@
apiVersion: v1
kind: Secret
metadata:
name: renovate-bot-secret
namespace: gitea
stringData:
RENOVATE_AUTODISCOVER: ENC[AES256_GCM,data:20/nNkA=,iv:o6OgPwx03/U7kHbO4WBh1HVLAdr8HBsWWGRlrIx3ZvE=,tag:7BpQuJpwI20Jqlf0zrVqBA==,type:str]
RENOVATE_ENDPOINT: ENC[AES256_GCM,data:PfAFF87I1COu9aGUf8uxPbzaUeyYvFpHmlK5DuP6,iv:JUgHIzaTSjCGpGucftT9AzFB7Gclwau8y9o2cbEJ2XU=,tag:52QvbgdaJRVTB5ARW0gn2Q==,type:str]
RENOVATE_GIT_AUTHOR: ENC[AES256_GCM,data:5tCkXdiheQkI293yf7Fh0Tb1kvWtDXHTIikP21IJQgFUyw==,iv:L1x3FDp6m/oJRq4Gcp3lusUF8Fufx+wWUVUQeYerDGk=,tag:h2XSao9P/wDHTpPRhEzVuQ==,type:str]
RENOVATE_PLATFORM: ENC[AES256_GCM,data:5bRuvgQ=,iv:m2RtjwWANMCNjXaEmzZc8QZKff5oxy+cVazmM0Qs6bE=,tag:Zp+2HLlEJgSZB0U2xRS2uw==,type:str]
RENOVATE_TOKEN: ENC[AES256_GCM,data:lPV9X8pZsSHzb7xFLuQ0Ixg5EaBgsuEmCFvXSkmxImUnImAKWINjBw==,iv:/hkxQNNqLcH/pbYs/Mn4P9FW1/DOIOKAUEjZNutoZok=,tag:Pd/NCxYZRJVaUiWT9FaMcA==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age14dgmts59tc2gv2xu9305auvu854n3pfl8vkheqzzqyrygyeequ0sjhl92v
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA0NWRIZnROK3dkY0xMa1ha
cXBINWpXU000YXQ5QW0zMjllRnlzOEJoRlVZClhCUWhqK0M4bTVqNjBFR05LU1NP
ejJaaHJSc003Q0V6UlpzWFdCTnd5RVEKLS0tIDllcVhFUE51Z1VsOGVJZ216TVdE
eVhjc2VlOVROOC9oakF3K29nODdEM0EKZkIo+FdHZAyQ9ogoK9994B0q5lkWWXOw
EgXamhJ800zjy9zFeO6bxPMsgPze1iNshhlV7HjT8uh+qs5laCqatg==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2023-11-28T21:31:06Z"
mac: ENC[AES256_GCM,data:O/Vw1S40Dz0g6Fo9K87iCIFh3TSNW4/f+mWNnbjPpjehj1+JbOovpchjizI1c+OZ++/rqlow8Ib/yesMDdPd16ErkyHgINMBtLuqfUYJ1WSwg52Rp5zfZP7eSXHTeqcGuuASIfzEcclZ/5QIPeiSOJG5iSAl/MDeNte6/YwEqQo=,iv:lieOLB5tOP4XagOr+cRWQZQC00EHz9UUcx7e2uwUjpU=,tag:JJ4YgTKMCZtujAJfi+TcxA==,type:str]
pgp: []
unencrypted_regex: ^(apiVersion|metadata|kind|type)$
version: 3.8.1

View File

@ -1,12 +0,0 @@
renovate:
config : |
{
"repositories": ["Cluster/k3s-configs", "Cluster/mlflow"]
}
persistence:
cache:
enabled: true
storageClass: retain-local-path
existingSecret: renovate-bot-secret
apiVersionOverrides:
cronjob: 'batch/v1'

View File

@ -0,0 +1,22 @@
#!/bin/sh
# Set up colors
GREEN='\033[0;32m'
NC='\033[0m'
echo -e "\n${GREEN}`date` - Starting backup...${NC}\n"
restic unlock
# Gitea
echo -e "\n${GREEN}`date` - Backing up Gitea...${NC}\n"
gitea=$(kubectl get deploy -n gitea -l app=gitea -o name --no-headers=true)
kubectl scale -n gitea --replicas=0 $gitea
restic backup /gitea
restic backup /backup/postgres_backup.dump
kubectl scale -n gitea --replicas=1 $gitea
# Forget and prune
echo -e "\n${GREEN}`date` - Running forget and prune...${NC}\n"
restic forget --prune --keep-daily 7 --keep-weekly 2
echo -e "\n${GREEN}`date` - Backup finished.${NC}\n"

View File

@ -0,0 +1,58 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: restic-backup-cronjob
namespace: gitea
spec:
schedule: "0 3 * * *" # Cron expression for running daily at 2 AM
jobTemplate:
spec:
template:
spec:
serviceAccountName: restic-sa
hostname: restic-cronjob
volumes:
- name: gitea-data
persistentVolumeClaim:
claimName: gitea-shared-storage
- name: restic-backup-vol
persistentVolumeClaim:
claimName: restic-backup-vol
- name: backup-script-vol
configMap:
name: restic-backup-script
initContainers:
- name: postgres-dump-init
image: bitnami/postgresql:16.3.0-debian-12-r17@sha256:5f5da81926e99bde90bd188bb43bf8de4bbcc1da45087e375631693e82d8b1c7
command: ["/bin/sh", "-c"]
args: ["pg_dump -h gitea-postgresql -p 5432 -U gitea gitea -Fc > /backup/postgres_backup.dump"]
env:
- name: PGPASSWORD
valueFrom:
secretKeyRef:
name: gitea-postgresql
key: password
volumeMounts:
- name: restic-backup-vol
mountPath: /backup
containers:
- name: restic-container
image: git.namesny.com/cluster/restic:latest@sha256:8efb9776d9b3250012d17bbfff865420e5ffa0688010d006448c4ff358b0ee32
imagePullPolicy: Always
command: ["/bin/sh", "/app/backup.sh"]
envFrom:
- secretRef:
name: restic-secret
volumeMounts:
- name: restic-backup-vol
mountPath: /backup
- name: gitea-data
mountPath: /gitea
- name: backup-script-vol
mountPath: /app
restartPolicy: OnFailure

View File

@ -0,0 +1,28 @@
apiVersion: v1
kind: Pod
metadata:
name: restic-debug-pod
namespace: gitea
spec:
serviceAccountName: restic-sa
volumes:
- name: restic-backup-vol
persistentVolumeClaim:
claimName: restic-backup-vol
- name: gitea-data
persistentVolumeClaim:
claimName: gitea-shared-storage
containers:
- name: restic-debug
image: git.namesny.com/cluster/restic:latest@sha256:8efb9776d9b3250012d17bbfff865420e5ffa0688010d006448c4ff358b0ee32
command: ["/bin/sh", "-c"]
args: ["sleep infinity"]
envFrom:
- secretRef:
name: restic-secret
volumeMounts:
- name: restic-backup-vol
mountPath: /backup
- name: gitea-data
mountPath: /gitea

View File

@ -0,0 +1,21 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: gitea
resources:
- service-account.yaml
- role.yaml
- role-binding.yaml
- pvc.yaml
- debug-pod.yaml
- cronjob.yaml
generators:
- secret-generator.yaml
configMapGenerator:
- name: restic-backup-script
namespace: gitea
files:
- ./backup.sh

12
apps/gitea/restic/pvc.yaml Executable file
View File

@ -0,0 +1,12 @@
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: restic-backup-vol
namespace: gitea
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
storageClassName: retain-local-path

View File

@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: restic-role-binding
namespace: gitea
subjects:
- kind: ServiceAccount
name: restic-sa
namespace: gitea
roleRef:
kind: Role
name: restic-role
apiGroup: rbac.authorization.k8s.io

View File

@ -0,0 +1,9 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: restic-role
namespace: gitea
rules:
- apiGroups: ["apps"]
resources: ["deployments", "deployments/scale"]
verbs: ["get", "list", "update", "patch"]

View File

@ -0,0 +1,11 @@
apiVersion: viaduct.ai/v1
kind: ksops
metadata:
name: restic-secret-generator
annotations:
config.kubernetes.io/function: |
exec:
path: ksops
files:
- ./secret.enc.yaml

View File

@ -0,0 +1,30 @@
apiVersion: v1
kind: Secret
metadata:
name: restic-secret
namespace: gitea
stringData:
AWS_ACCESS_KEY_ID: ENC[AES256_GCM,data:IjDw3i+8BIvA816obn5BpQBTkzo=,iv:A/CrhyIm5kljCwvneQziux36O6+SWG5Z9mOlV+mRIXQ=,tag:XVh4X8Xf587nmbDCtgazAg==,type:str]
AWS_SECRET_ACCESS_KEY: ENC[AES256_GCM,data:WdfHxdXnPOLvIOecN+WFONAEDr2Sc/r6bKQ/H9KS1BT2C9cj,iv:GCY6MaSEhu9WEsVA23hWN30Ix7x6dz/umNRsQ0jsb8I=,tag:8Qa0dvU3bq+J2S6trBDFDw==,type:str]
RESTIC_REPOSITORY: ENC[AES256_GCM,data:FZCqro3fpgQ7NJc+4ORVC2yWdqMNCLd4AjCwdolXgu5uJXq0IQ==,iv:nWttNrSvFpcj1HMOFwZNfJqVUy0esR7fVXlvidp3MlY=,tag:T0HzAZ/w83IFrvap8Gx3gg==,type:str]
RESTIC_PASSWORD: ENC[AES256_GCM,data:PjSE4FejVPW8e8e/PDtoSCsuskI=,iv:MTUMYim3obMHaYBEoEJBMEj9GMbaqdbdVV09o3ep/fw=,tag:pQ6vakVWHUdk4F/PwqpgAw==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age14dgmts59tc2gv2xu9305auvu854n3pfl8vkheqzzqyrygyeequ0sjhl92v
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB2RTlocERzUmtUdnhsNHJk
SkNXZFpVdmM5Y1hnQlQzcUg1OUxNYkRiaEFZCi82MW9TbkI2VCtjMDVKYTlWTVBs
QVZMekVoT1JSQWRZV3F3SHgxOGR3a2sKLS0tIGJCd21aY05jS0xva2RmclBlQWdl
UVZSNm9pRUM3YmFFSWl3NGNUdnZOOGsKIuepNrrdgoNoOMZQ77cIrtwPTL8acahG
paE+K2EKa8pqXnAVkxORTkUYRlorKRLjiyalxrDZYsMAbCSrrtfx/A==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-01-30T17:21:08Z"
mac: ENC[AES256_GCM,data:mR4vi8WLLiuUY5i7NgIYHfAZcBsQ3u2Cg9TtXcFtwtDAuyy9Xzx07yeR1HC0D+YhiAu+mYAJPmk6jHZsCE2OX26sLTyvEULqDQc71sCgM8dsyl50hoZ2BsbY7o6g8D9Yks+2szuKmlxZ0nN5aHxcf+67+gotzjlBfcmLx+E1TfA=,iv:+9Kv7ZwGoMU0QBTvCgq232nHo+tjoeHTJBdOuOiqpPk=,tag:9VrOFmUFbdiPKSWnt+8z7w==,type:str]
pgp: []
unencrypted_regex: ^(apiVersion|metadata|kind|type)$
version: 3.8.1

View File

@ -0,0 +1,5 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: restic-sa
namespace: gitea

View File

@ -24,9 +24,13 @@ spec:
claimName: act-runner-vol
securityContext:
fsGroup: 1001
initContainers:
- name: wait-for-gitea
image: busybox:1.36@sha256:34b191d63fbc93e25e275bfccf1b5365664e5ac28f06d974e8d50090fbb49f41
command: ['sh', '-c', "until wget https://git.namesny.com 2>/dev/null; do echo waiting for gitea; sleep 2; done"]
containers:
- name: runner
image: gitea/act_runner:nightly-dind-rootless
image: gitea/act_runner:latest-dind-rootless@sha256:2f4c10a8354062ff3f8faa1df17006e650dcf21853a34713dfc2ed961f6ca50f
imagePullPolicy: Always
env:
- name: DOCKER_HOST

View File

@ -8,5 +8,5 @@ metadata:
path: ksops
files:
- ./gitea-admin-secret.enc.yaml
- ./renovate-bot-secret.enc.yaml
- ./runner-secret.enc.yaml

View File

@ -18,7 +18,7 @@ generators:
helmCharts:
- name: postgresql
releaseName: postgresql
version: 13.2.24
version: 15.5.28
repo: oci://registry-1.docker.io/bitnamicharts
namespace: mlflow
valuesInline:

View File

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: minio
image: quay.io/minio/minio:RELEASE.2023-12-09T18-17-51Z
image: minio/minio:latest@sha256:0bd79595dbcf155782860716abf4cf79d5ee32a9508b60fa1a88793bbe55b245
command:
- /bin/bash
- -c

View File

@ -17,7 +17,7 @@ spec:
- name: gitea-regcred
initContainers:
- name: init-s3-bucket
image: minio/mc
image: minio/mc:latest@sha256:10fea08805ab76fe9b8ff0d3755db7af3f5a2468a60a48826bd21ec7c8b5000e
command: ["/bin/sh", "-c"]
args:
- until mc alias set mlflow-minio http://minio-svc.mlflow.svc.cluster.local:9000 $MINIO_ROOT_USER $MINIO_ROOT_PASSWORD; do sleep 5; done;
@ -30,9 +30,18 @@ spec:
name: minio-admin-secret
- secretRef:
name: minio-user-secret
- name: init-db-upgrade
image: git.namesny.com/cluster/mlflow:latest@sha256:9d935268bc318d6cadbfe8d480744ce898cdfb906be5ba7125ab87c555894798
envFrom:
- secretRef:
name: mlflow-secret
command: ["/bin/sh", "-c"]
args:
- mlflow db upgrade $MLFLOW_BACKEND_STORE_URI;
exit 0;
containers:
- name: mlflow
image: git.namesny.com/cluster/mlflow:2.9.1
image: git.namesny.com/cluster/mlflow:latest@sha256:9d935268bc318d6cadbfe8d480744ce898cdfb906be5ba7125ab87c555894798
imagePullPolicy: Always
args:
- --host=0.0.0.0

View File

@ -19,6 +19,6 @@ spec:
- name: gitea-regcred
containers:
- name: namesny-com
image: git.namesny.com/mathis/namesny-com:2023-12-28
image: git.namesny.com/mathis/namesny-com:2024-04-22@sha256:df51fff0dcc4e252b13f3c61debf2b3e2335e4c8e2d7441174457d9e7709a6ea
ports:
- containerPort: 80

View File

@ -6,7 +6,6 @@ namespace: auth
resources:
- namespace.yaml
- ingress.yaml
- basic-auth-middleware.yaml
- forward-auth-middleware.yaml
generators:

23
infra/k9s/deployment.yaml Executable file
View File

@ -0,0 +1,23 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: k9s
namespace: k9s
labels:
app: k9s
spec:
replicas: 1
selector:
matchLabels:
app: k9s
template:
metadata:
labels:
app: k9s
spec:
serviceAccountName: k9s-sa
containers:
- name: k9s
image: ghcr.io/lordmathis/k9s-web:latest@sha256:6db8f8812fa09a93433682bb64a32c16ddf8286091f2886699dd4b84f875d150
ports:
- containerPort: 7681

16
infra/k9s/ingress.yaml Normal file
View File

@ -0,0 +1,16 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: k9s-ingress
namespace: k9s
spec:
entryPoints:
- websecure
routes:
- match: Host(`k9s.namesny.com`)
kind: Rule
middlewares:
- name: "auth-authelia@kubernetescrd"
services:
- name: k9s-svc
port: 7681

View File

@ -0,0 +1,11 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: k9s
resources:
- namespace.yaml
- rbac.yaml
- deployment.yaml
- service.yaml
- ingress.yaml

4
infra/k9s/namespace.yaml Normal file
View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: k9s

35
infra/k9s/rbac.yaml Normal file
View File

@ -0,0 +1,35 @@
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: k9s-reader
rules:
- apiGroups: [""]
resources: ["*"]
verbs: ["get", "list", "watch"]
- apiGroups: ["apps"]
resources: ["*"]
verbs: ["get", "list", "watch"]
- apiGroups: ["batch"]
resources: ["*"]
verbs: ["get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: k9s
subjects:
- kind: ServiceAccount
name: k9s-sa
namespace: k9s
roleRef:
kind: ClusterRole
name: k9s-reader
apiGroup: rbac.authorization.k8s.io
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: k9s-sa
namespace: k9s

13
infra/k9s/service.yaml Normal file
View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: k9s-svc
namespace: k9s
spec:
selector:
app: k9s
type: ClusterIP
ports:
- protocol: TCP
port: 7681
targetPort: 7681

View File

@ -0,0 +1,18 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
generatorOptions:
disableNameSuffixHash: true
namespace: monitoring
resources:
- namespace.yaml
generators:
- ./secret-generator.yaml
helmCharts:
- name: k8s-monitoring
releaseName: grafana-k8s-monitoring
version: 1.0.13
repo: https://grafana.github.io/helm-charts
namespace: monitoring
valuesFile: values.yaml

View File

@ -0,0 +1,29 @@
apiVersion: v1
kind: Secret
metadata:
name: loki-secret
namespace: monitoring
stringData:
host: ENC[AES256_GCM,data:rVMcsxS2yzOC+SeqPlVOVLlg/FviDoT79Z00NTi9nKHu,iv:vKZvn0b9lLMWsBbAvBIfAf/fkQ1KSIkXMJi4hTr+tHY=,tag:PIAZm1O/QbH6Ad3yMRmEvQ==,type:str]
username: ENC[AES256_GCM,data:HViufT0S,iv:g4LldPUsiALA6KUXn6xg1dxO1PaEx7PqKbpaTFbtcoQ=,tag:Asad1eWQKJOFCulm3xJBYg==,type:str]
password: ENC[AES256_GCM,data:KzafvYQ9hLeZcwTAJpE9z0ZDpGQL0lVMk7tSRKp6yQFZBl+u0V4u4leBtUDPm80605dP0BidHKL9MQ5c+2iayxjoBoBDDH6YDLjytN+2TnTU8fabY1wRYiAInOPxitcdoPLVzcw1/1DH9qiPJu7pdMWoz/JdM2PbHILW4G0uY/T9HERAwA28FX0R5sfQnfRPfaxSoea4HAMB2IG3lXn5wvwwsc2JZ+1KkInZ3XYg/vv0KwLD,iv:aWrgu6B2O9Is7tYqnSgTlz1fhYQEB5TIS4xl9PKoFwc=,tag:KLYaUsF6fDxHzXJdjnwHwQ==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age14dgmts59tc2gv2xu9305auvu854n3pfl8vkheqzzqyrygyeequ0sjhl92v
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBYcGE2VTZPcmpPQVNLbW5s
U3ZNaVZnMkRhOCtpYk1KdUpSalArRXI3VTFrClJORVVDRXBCM01lQVlnbjQ1RVhT
aFJEdk5oOHBVK1VJWTFwRXI5YXZmeUUKLS0tIEcwWmp5aHRDMHVrNFg0bnhVV2FI
UGpPaU54QjM4Y0pIQ0I3elVXakl0Uk0KXqd8LjaLjwzcgzi0WBAHBJLjNaP8yqKB
zQsrvGJvSIo3TdEVaRGvM9F/4nsLmQC6mYfENwtlyV4IWn0w8psMyw==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-04-27T14:02:57Z"
mac: ENC[AES256_GCM,data:kkWKaG6+dobfZjr7xlKyJs5FOOSP8UXRci2wOhVKoa9BnWONdeKHIP8L4+xFvxXGs69EAUK0242ZM+cpPge8XtTFCbq9z+23OcFZej0nlO9yQxEOwTEE/zmOqnh8s3j3hmOUlyQPzgnLubbwiMEdhtHky/YdffziM8K1b+u4EPc=,iv:JpD6gj9vRp8Iap1+wH6zaewDUAubRJlUaicupoeVQkc=,tag:S+IG9K+wgkazgLi7tUIbSw==,type:str]
pgp: []
unencrypted_regex: ^(apiVersion|metadata|kind|type)$
version: 3.8.1

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: monitoring

View File

@ -0,0 +1,29 @@
apiVersion: v1
kind: Secret
metadata:
name: prometheus-secret
namespace: monitoring
stringData:
host: ENC[AES256_GCM,data:2GDOS1737kJ2xTjloQolicFSyalglzI3qlUl2mZo1rIvYLwrHipetqjEkYHQSiA096jvtsU=,iv:bUfdSzfnEqXwv4eozpepwabPiSH792aW0GOtTChORKw=,tag:j8pPRVIvqLkjUBcMUV4poQ==,type:str]
username: ENC[AES256_GCM,data:0ZQu0t4iJw==,iv:stS/U68x0ZglXPAa3eICmzlEtCEd1nnO2B+hwPzOvHE=,tag:vWVe2D8cpL4BKn9odjP+ZQ==,type:str]
password: ENC[AES256_GCM,data:VuugS5hwdaFE81ig8INkvLzO0M/81cvSenMuEUeOgcDL9b1H58YT65WFu/ouO1cCd3hF6SWChcLmfw2Z9wCTqhDnUiQ/JnLOriBqDeQFBK9qY5rPnHX/efvXRcNfwNUoQqlPAjUfubyjduPmHxtYHw62Ov0KSo3sG9ExWdNWEVkTUgXp662Al6E24njxMTSFssy4zY75Cwz0a9Uw9ILPnLnRwe1XIPdXL9PhAzUEVuRWycqC,iv:BO9HdE+Ql1TQ1j+0MF0NdiW5DVTbShLEduEFbMMIR8U=,tag:GA/u1MBBJaaWFF93N0i37A==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age14dgmts59tc2gv2xu9305auvu854n3pfl8vkheqzzqyrygyeequ0sjhl92v
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBSdFhzSDEwdjZDVTRxN3Yx
OExHd3BYekx4TllPVi96c2JHamdQTlpaUHdrCi90dXBjaFBTSTA4c0JsbWt2WTBm
anB5NXkxeS9IbU9TT3dseGRjME1PeEUKLS0tIGhLUi9GQUNvczhId2k5RExNQ2lk
S3ZLUVNvd1BKWjZhRXVrR2NJV3FrMDAKxvoeNeR+mYBCEd4JtU+L52M0Lhj1W07H
UbD0+Bi8KTJWGWPVPm4prPA2jqk7zKhZ7BeSkZtwp1QQ+tVJF52fAA==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-04-27T14:03:01Z"
mac: ENC[AES256_GCM,data:i02frS7UI//prqlbCnFF9D+mpcUnshgZ7YCeJwk5/SCZh9QJEDDAgANpz5V8rnp4v3NQlQt1mT6JWvi/N6MgfeePvwvNT85Hewo1iH2wPbyB4IMA2n4qJ8oK5lAYy/7WR/Cvi9LD/4FedTQ0xvNsj/GECwbI8YMmvUz3EUo3W3Y=,iv:ywp0ojCYd1rahm8Ltk821bLcofynCjv5mEv6QR9RDTs=,tag:UxKEpd09IB1H8GlZbXqhPw==,type:str]
pgp: []
unencrypted_regex: ^(apiVersion|metadata|kind|type)$
version: 3.8.1

View File

@ -0,0 +1,11 @@
apiVersion: viaduct.ai/v1
kind: ksops
metadata:
name: monitoring-secret-generator
annotations:
config.kubernetes.io/function: |
exec:
path: ksops
files:
- ./loki-secret.enc.yaml
- ./prometheus-secret.enc.yaml

View File

@ -0,0 +1,44 @@
cluster:
name: auberon
externalServices:
prometheus:
secret:
create: false
name: prometheus-secret
namespace: monitoring
loki:
secret:
create: false
name: loki-secret
namespace: monitoring
metrics:
enabled: true
cost:
enabled: false
node-exporter:
enabled: true
logs:
enabled: true
pod_logs:
enabled: true
cluster_events:
enabled: true
traces:
enabled: false
receivers:
grpc:
enabled: false
http:
enabled: false
zipkin:
enabled: false
opencost:
enabled: false
kube-state-metrics:
enabled: true
prometheus-node-exporter:
enabled: true
prometheus-operator-crds:
enabled: true
alloy: {}
alloy-logs: {}

View File

@ -38,5 +38,5 @@ data:
effect: NoSchedule
containers:
- name: helper-pod
image: busybox
image: busybox:1.36@sha256:34b191d63fbc93e25e275bfccf1b5365664e5ac28f06d974e8d50090fbb49f41

View File

@ -9,7 +9,7 @@ generators:
helmCharts:
- name: traefik
releaseName: traefik
version: 26.0.0
version: 28.2.0
repo: https://helm.traefik.io/traefik
namespace: kube-system
includeCRDs: true

View File

@ -1,9 +1,8 @@
deployment:
initContainers:
- name: volume-permissions
image: busybox:latest
command: ["sh", "-c", "rm /data/acme.json; touch /data/acme.json; chown 65532:65532 /data/acme.json; chmod -v 600 /data/acme.json; chown -R 65532:65532 /var/log/traefik"]
image: busybox:1.36@sha256:34b191d63fbc93e25e275bfccf1b5365664e5ac28f06d974e8d50090fbb49f41
command: ["sh", "-c", "touch /data/acme.json; chown 65532:65532 /data/acme.json; chmod -v 600 /data/acme.json; chown -R 65532:65532 /var/log/traefik"]
securityContext:
runAsNonRoot: false
runAsGroup: 0

View File

@ -1,10 +1,21 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
"config:best-practices"
],
"separateMinorPatch": true,
"platformAutomerge": false,
"ignoreTests": true,
"separateMinorPatch": false,
"patch": {
"enabled": false
"automerge": true
},
"pin": {
"automerge": true
},
"digest": {
"automerge": true
},
"kubernetes": {
"fileMatch": ["\\.yaml$"]
}
}