Commit Graph

110 Commits (master)

Author SHA1 Message Date
radex 3b2b0f0327 personal/radex: add gadzber
Change-Id: Ia9d008a3fad8a2a99f05af5648a95a1f7d01fc58
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1959
2024-05-13 19:49:24 +00:00
etorameth bc46f2371e personal: add etorameth
Change-Id: I8b1e81af16fc68fe6356c1cf45548f9a94e43a8b
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1953
2024-05-13 16:56:07 +00:00
viq 9340a3933d Playing around with gethomepage
Change-Id: I96e69f31eb90c017500ee5450b06e30bb9e068da
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1882
2024-02-06 19:58:40 +00:00
radex db8d90216b hswaw/teleimg: migrate away from mirko.libsonnet
Change-Id: I173b48832ebb1cc187ff2020c78d4ec0748e3a98
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1794
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-02-04 14:25:11 +00:00
vibe f2d0ef2218 Add vibe97 demo project
Change-Id: I4fbe25a3c5117e300a8f277069f40ee3bd066f4b
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1822
2024-02-03 13:17:23 +00:00
palid ea1d153a68 personal: fix palworld server envs
Change-Id: I7a3af66dad7d95caadd4778d4dd04ac65eca7a7b
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1887
2024-01-31 13:03:46 +00:00
palid c3fe3cbf13 personal: add palworld server
Change-Id: I6cedb8a7e3b8ae049a6ba5a0772bf5569c273bcc
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1883
2024-01-30 19:44:18 +00:00
radex ad91bd2893 kube/postgres: force explicit versioning, storage class, clean up
Postgres version should be stated explicitly by the user. We can't auto-upgrade all apps, so we'd never change the 10.4 default. By forcing version to be explicit, we encourage users to pick the latest version when they first deploy, or to upgrade to latest from the old 10.4.

Also, non-existent storage class default is removed in favor of explicitly asking for storageClassName.

Change-Id: I715bcde6a66ca97be757abcea93c14139d61ed5a
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1791
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-01-03 11:39:20 +00:00
implr ed5c5fce42 personal/implr/vpn: drop praisethesun, add iotbox to curs
Change-Id: I9f0bb001cca5d0fea6546a510159dda6d23dbbce
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1825
2023-12-17 21:46:41 +00:00
radex c370e44c23 personal/radex: add fuck-nixos demo project
Change-Id: I4a51f11defec0ef82b3586bb6c5cf71831cb6ec9
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1821
2023-12-15 21:27:20 +00:00
radex 7fa38d47b8 personal/radex: add radex stuff
Change-Id: I31e186d71f05375b28a0f4e708cc1caa6147dac2
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1814
2023-12-04 20:34:05 +00:00
radex 4ffc64d97d kube: add .volume field on PVCs and ConfigMaps
Change-Id: I93eec44bd6df4ecb0044a4797faa9bf6fd26802d
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1811
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-12-04 20:33:37 +00:00
radex d45584aa6d kube: clean up SimpleIngress
Rename `target_service` to `target` to mirror Service's `target`; rename `extra_paths` to `extraPaths` to follow the camelCase convention used everywhere except for a few places in kube.upstream (assumed to be a mistake)

Change-Id: Icfcb70ef889e3359bf0391c465034817f4b70cce
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1809
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-12-04 20:33:10 +00:00
radex 0e12849717 kube: use ns.Contain() for postgres and redis
This is purely for consistency. While it's objectively more "magic" than the previous convention, newcomers may be asking themselves how come namespace is passed to kube objects using ns.Contain(), but to these custom objects via cfg.namespace.

Change-Id: I061c27c74213d5481b2c7e0afd5f316e84335786
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1808
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-11-24 20:39:30 +00:00
radex 1439fde1ba kube: standardize top.secretRefs convention
Introduce a convention of declaring a secretsRefs:: object below cfg:: for containing all secretKeyRefs. The goal is to self-document all secrets that need to be created in order to deploy a service

Change-Id: I3a990d54f65a288f5e748262c576d2a120efd815
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1806
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-11-24 20:39:11 +00:00
radex 99ed6a7abb kube: standardize on a `local ns` convention
A convention is introduced to specify the kube.Namespace object in a deployment as a `local ns` instead of an `ns:` or a `namespace:` for these reasons:

- non-cluster admins cannot create new namespaces, and we've been moving in the direction of specifying objects that require cluster admin permissions to apply (policies, role bindings) in //cluster/kube/k0 instead of in the app jsonnet
- namespace admins CAN delete the namespace, making `kubecfg delete` unexpectedly dangerous (especially if a namespace contains more than just the contents of the file being applied - common with personal namespaces)
- `.Contain()` is a common operation, and it shows up in lines that are pretty long, so `ns.Contain()` is preferable to `app.ns.Contain()` or `service.namespace.Contain()`

Change-Id: Ie4ea825376dbf6faa175179054f3ee3de2253ae0
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1804
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-11-24 20:38:44 +00:00
radex 36964dca3b kube: clean up PersistentVolumeClaims
There's no difference as far as jsonnet is concerned, but it may confuse newbies, as Service and SimpleIngress use double colon for its top-level kube helpers. This also removes any ambiguity as to whether this is manifested in final JSON. So we can make that a convention.

Change-Id: I01ad4ea63f4d5d8ee6e5d41c79637ba186548c6f
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1803
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-11-24 20:37:53 +00:00
radex 8b8f3876a9 kube: add target:: convenience field to Service
Change-Id: If69116d93b6074136a36d98973e1aa997e2ebbef
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1802
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-11-24 20:37:48 +00:00
radex f28cd62c0e *: Simplify kube.PersistentVolumeClaims
Change-Id: I0a3e44de9f1c4db146fd1e493741f5fe381da3ae
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1768
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-11-18 12:36:00 +00:00
radex e1dbc3cf74 personal/radex: wordpress
Change-Id: Ia493d47ace83451169abb715f893325cba0ce5f7
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1756
2023-11-01 18:58:57 +00:00
radex f5844311eb */kube: Add kube.SimpleIngress
Change-Id: Iddcac629b9938f228dd93b32e58bb14606d5c6e5
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1745
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-10-28 17:55:48 +00:00
arsenicum 924be126f7 Merge remote-tracking branch 'origin/master'
Change-Id: I31065ed4d5ab138a90e0be79a9d00db155896ecc
2023-10-05 00:07:11 +02:00
arsenicum bdf2defc07 invoicer initial version
Change-Id: Ib20a96c224f5c055874f72f8f9a04a4dc8bbbc24
2023-10-05 00:05:32 +02:00
q3k 97b5cd7b58 go: re-do the entire thing
This is a mega-change, but attempting to split this up further is
probably not worth the effort.

Summary:

1. Bump up bazel, rules_go, and others.
2. Switch to new go target naming (bye bye go_default_library)
3. Move go deps to go.mod/go.sum, use make gazelle generate from that
4. Bump up Python deps a bit

And also whatever was required to actually get things to work - loads of
small useless changes.

Tested to work on NixOS and Ubuntu 20.04:

   $ bazel build //...
   $ bazel test //...

Change-Id: I8364bdaa1406b9ae4d0385a6b607f3e7989f98a9
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1583
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-22 21:50:19 +00:00
q3k 7631880620 *: remove java/minecraft
Change-Id: Id2b1e69dcad240d7ef8a80b844531ef862e27dd2
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1582
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-01 16:50:48 +00:00
q3k b6504238e7 *: add gomod placeholders for generated files
Change-Id: I8a4824ff31590185cd45fd43cc065bb8e2fa7bb2
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1580
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-01 16:50:48 +00:00
radex 5365e7e12c personal/radex/demo-next: add volume mount demo
Change-Id: I992d089c8d345e87667bf4040086a28b2096cc35
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1574
2023-08-15 16:17:05 +00:00
noisersup dba676d7a8 personal: ferretdb
Change-Id: I0a460e558f2ed068d8bd899b549b230a4f27f0ca
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1573
2023-08-14 02:06:31 +00:00
radex ae2a725bd2 personal/radex: +demo-next
Change-Id: I7563f509e12ee1d6ec83261f3ad6386d8033fdc5
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1570
2023-08-13 09:46:18 +00:00
radex e632263635 personal/radex/demo: +bruh
Change-Id: Ie0ed25308284f9a9dea59c456bce77968f59524f
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1569
2023-08-12 15:30:18 +00:00
radex 5e475370be personal/radex/demo: +tls
Change-Id: Ib10633b90256bbe15131326aa69e19fdc6ef21e3
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1568
2023-08-12 15:30:09 +00:00
radex df18c80b1e personal/radex: +demo
Change-Id: I4948a4ebc33c2331ed8def3396f18def234fbd0d
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1567
2023-08-12 15:29:48 +00:00
noisersup 6de8e41f5c personal: update
Change-Id: Ie5352cfab0835ee1c48660eb14092d840a344f33
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1566
2023-08-11 19:14:20 +00:00
arsenicum 2b27fa6a37 personal: say hello
Change-Id: Ic6cfd156c18fc913d81d20846722041421cd64e0
2023-07-27 23:21:18 +02:00
informatic 7e841065b0 *: post-certmanager manifests update
Change-Id: I745c850268c31777c5722a9833c8152a55615aed
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1512
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-06-19 21:20:44 +00:00
implr 523df5c235 personal/implr: vpn.curs: add anthracite
Change-Id: I5403b89b38e9c1706d8da1ba61085fb5cc0833d3
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1247
2021-12-28 21:11:54 +00:00
q3k f157fbfb08 openrct2: new map
Change-Id: If8130391e17b87aa4396983d3aefa43c477a4f55
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1203
2021-12-13 22:30:46 +00:00
noisersup e999b4f726 personal: Critical fix
Change-Id: If7e6d2db8d99e62b7be64b7e06b69f3e767b7410
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1177
2021-11-15 21:05:10 +00:00
noisersup ea3d34354c testing markdown
Change-Id: I143c04b14d2749dca71278999cd10e13ad2fd355
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1152
2021-09-28 15:08:48 +00:00
noisersup b83779a499 Best server
Change-Id: I3da422644b3eb49d23d94f4ea719e2d0c2b0fb3d
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1151
2021-09-28 15:06:47 +00:00
arsenicum aef13358c8 personal - start
Change-Id: I0f1972a095b5a41cad727dbc37fcd454d308050d
2021-09-09 18:26:33 +02:00
q3k 39942ccc50 q3k: random stuff from local git checkout
Change-Id: I497a3ca080ac2124d05f49bb8bee5766254134b4
2021-08-29 18:21:39 +02:00
q3k 3e5f4382df minecraft: enable command blocks on ctm map
Change-Id: Ie6b6c58d7e920a62908d8d8f0c0291bbf5c666f4
2021-07-21 17:22:44 +00:00
Remigiusz Marcinkiewicz ff79daaf44 minecraft: switch CTM server to vanilla MC
Change-Id: I8189b7c544ba3c7ae3a62fdd4105119e9d18317a
2021-07-21 15:51:59 +00:00
q3k f0a38ba761 minecraft: allow enleth@ to administer namespace
Change-Id: I149a01b5d216f112f3e4a90da1e833bca5712777
2021-07-21 14:57:37 +00:00
q3k 4afed98e4e minecraft: add CTM server
Change-Id: Ic4590bbab4cdbefe0db05f1026363b11f7973794
2021-07-21 14:42:14 +00:00
q3k 2f712bf531 personal/q3k: cleanup script for b/32 (owncloud postgres)
Change-Id: I7a330d460763d99bfbd736cecae33c0df7a41aae
2021-07-10 16:53:59 +00:00
q3k e7f4cc121a games/factorio: move jsonnet from //personal/q3k
We also remove the definition of two instances that are long since dead.

Change-Id: I0cd83321403053cb72837da1497842109eeacd2b
2021-06-12 21:59:16 +00:00
implr 474e0d1c2c personal/implr: more vpn
Change-Id: I4918a7b7fbae3da71e61a23e7f5fbe37e5db61f8
2021-04-30 20:07:51 +02:00
q3k 3df9d0c082 personal/q3k/shipstuck: free! for now.
Change-Id: Ie4125396a328b5bb05dea88b6d49d79360221905
2021-03-29 14:26:08 +00:00