4
0
Fork 2
mirror of https://gerrit.hackerspace.pl/hscloud synced 2025-02-18 22:06:44 +00:00
Commit graph

4 commits

Author SHA1 Message Date
cc43f3189d cluster/admitomatic: auto-restart on config change, clean up
- add admitomatic config hash to pod annotation to force kubernetes to restart the service after config change
- clean up Go deprecations
- default admitomatic to deny admission to unknown objects

Change-Id: Icd3f684583ec87ff38a70886fd845e79bba9addf
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/2108
Reviewed-by: informatic <informatic@hackerspace.pl>
2025-01-24 22:55:22 +00:00
e36beba34c cluster/admitomatic: Regexp-based admission rules
Change-Id: Ic2b1d6a952dc194c0ee2fa1673ceb91c43799308
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1723
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-10-14 12:21:46 +00:00
c1f372561a cluster/admitomatic: implement opt-out namespaces
Change-Id: I32d4b019211fa755e2b3b103b88ea3f4c14e500f
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1521
Reviewed-by: informatic <informatic@hackerspace.pl>
2023-06-19 22:54:33 +00:00
c6118649ab cluster/admitomatic: finish up service
This turns admitomatic into a self-standing service that can be used as
an admission controller.

I've tested this E2E on a local k3s server, and have some early test
code for that - but that'll land up in a follow up CR, as it first needs
to be cleaned up.

Change-Id: I46da0fc49f9d1a3a1a96700a36deb82e5057249b
2021-01-31 12:18:16 +01:00