Commit Graph
129 Commits
Author SHA1 Message Date
Dario TranchitellaandGitHub 8d498bb925 fix: concurrent map writes when replicating namespaced objects (#1264)
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
2024-12-04 12:41:29 +01:00
Oliver BählerandGitHub f24b6b1b43 fix(controller): use typed structs for watches (#1169)
* fix(controller): use typed structs for watches

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>

* chore(dep): bump controller-gen

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>

* chore(ci): support kubernetes 1.31 and fix linting

* chore: resolve conflicts

---------

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
2024-09-05 18:19:06 +02:00
lukasboettcherandGitHub 5efb4fbfcf feat(metrics): provide metrics for tenant quotas (#1094)
Signed-off-by: Lukas Boettcher <1340215+lukasboettcher@users.noreply.github.com>
2024-05-27 16:38:25 +02:00
Oliver BählerandGitHub 4afcfbbb27 fix(controller): use ownerreferences without controller owner relation (#1095)
Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
2024-05-27 14:33:34 +02:00
lukasboettcherandGitHub b16bcda8fb fix(resourcequotas): Update namespace-specific hard quota calculation logic (#1088)
Signed-off-by: Lukas Boettcher <1340215+lukasboettcher@users.noreply.github.com>
2024-05-23 08:08:51 +02:00
00b59fa843 feat(deps): bump sigs.k8s.io/controller-runtime from 0.17.3 to 0.18.0 (#1061)
* feat(deps): update kubernetes components to 1.30

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>

* ci(deps): update kubernetes components to 1.30

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>

* chore(makefile): update binaries and improve building

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>

* feat(deps): remove multierror dependency

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>

* chore(ci): use go.mod as go version

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>

---------

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
2024-05-03 14:48:45 +02:00
Oliver BählerandGitHub e16202f3cf feat(go): bump relevant components to 1.21 (#987)
Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
2024-02-20 16:15:43 +01:00
Dario Tranchitella 65a743903d fix: preserving externally managed labels
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
2024-02-18 18:23:41 +01:00
Oliver BählerandGitHub dab022509a fix(deps): use new pointer func (#982)
Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
2024-02-15 18:57:28 +01:00
Oliver BählerandGitHub 74d3ac504e fix(controller): respect metadata of replicated items (#922)
* fix(controller): respect metadata of replicated items

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>

* chore(makefile): fix dev-setup

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>

---------

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
2023-12-07 16:49:35 +01:00
Oliver BählerandDario Tranchitella c58b46cedf feat(tenant): add label with tenant name for each tenant
Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
2023-11-29 07:24:27 +01:00
Dario Tranchitella 242fdd23ee feat: ensuring well-known label
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
2023-11-28 14:56:09 +01:00
Dario Tranchitella 8ed302dd8a fix: v1alpha1 api type has been removed
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
2023-11-28 14:56:09 +01:00
Dario TranchitellaandGiuseppe Chiesa d94430466e feat: additional metadata for pods
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
Co-authored-by: Giuseppe Chiesa <mail@giuseppechiesa.it>
2023-11-24 11:10:42 +01:00
Dario Tranchitella c0e48d1bd9 fix(quota-resources): skipping from count delete-marked objects
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
2023-11-20 15:11:33 +01:00
Dario Tranchitella 2e5c232188 fix: sync quota values from tenant to resourcequota object
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
2023-11-14 17:16:32 +01:00
Dario Tranchitella 0830b3629e chore(header): moving to new neutral organization
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
2023-10-16 21:29:23 +02:00
Dario Tranchitella d7a48d771f refactor: moving to new neutral organization
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
2023-10-16 21:29:23 +02:00
Dario Tranchitella 37455417bc fix: resource quota annotations key max length support 2023-09-26 17:39:20 +02:00
Dario Tranchitella ffa4a47e6b fix(gosec): implicit memory aliasing in for loop 2023-08-19 09:20:15 +02:00
Max FedotovandDario Tranchitella 45ad56c586 fix: remove ownerReferences from tenantResource namespacedItems before applying them 2023-06-27 19:05:56 +02:00
Dario Tranchitella 809fa11741 refactor(golint): removing deprecated functions 2023-05-25 14:36:48 +02:00
Dario Tranchitella 5457df7e96 refactor(deps): updating to controller-runtime 0.15.0 2023-05-25 14:36:48 +02:00
Max FedotovandDario Tranchitella e15773e811 fix: missing v1beta2 version for CRD ConversionReviewVersions 2023-04-25 12:41:44 +02:00
Dario Tranchitella 65d5b24896 feat: blocking replicated resources write ops by tenant owners 2023-03-28 12:56:58 +02:00
Dario Tranchitella 89348c9499 chore(golangci-lint): updating to latest version and code alignement 2023-03-02 15:32:47 +01:00
Dario Tranchitella 8e7078ad4f feat: template support for rawitems
Allowed template values:
- `{{ tenant.name }}` for the Tenant name managing the Namespace
- `{{ namespace }}` for the Namespace where the resource is replicated
2023-02-16 09:20:42 +01:00
Dario Tranchitella 4e5c00fa65 refactor: optimizing processing of tenant resources per namespace 2023-02-16 09:20:42 +01:00
Dario Tranchitella d63a9a0ca6 fix: creation of namespaced resources backed by cache 2023-02-16 09:20:42 +01:00
Dario Tranchitella de587919f8 fix(tenantresources): using actual resourceversion during createorupdate 2023-01-31 16:57:07 +01:00
Dario Tranchitella ea88b102e5 feat: pv labelling and preventing cross-tenant mount 2023-01-26 09:31:16 +01:00
Oliver BählerandDario Tranchitella 9f10923d21 fix: use v1beta2 for capsuleconfiguration kind
Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
2022-12-29 17:49:45 +01:00
Dario Tranchitella 43bd2491ae refactor(api): switching to v1beta2 as storage version 2022-12-27 17:53:17 +01:00
b1ec9fed50 feat: refactor resources controller
Co-authored-by: Maksim Fedotov <m_fedotov@wargaming.net>
2022-12-26 14:27:26 +01:00
Dario Tranchitella 503e3fc1d0 feat: globaltenantresource and tenantresource reconciliation 2022-12-26 14:27:26 +01:00
Dario Tranchitella 4835b94839 style: conforming go files headers 2022-12-26 14:27:26 +01:00
Dario Tranchitella cf52924870 refactor: abstracting types used by several api versions 2022-12-26 14:27:26 +01:00
Dario Tranchitella d20e466732 feat: support for ca update on crds objects 2022-12-26 14:27:26 +01:00
Dario Tranchitella fb5c1a1fa6 feat: supporting k8s >= 1.25 2022-12-18 11:20:25 +01:00
Dario Tranchitella 75525ac192 fix: preventing serviceaccount privilege escalation 2022-12-02 15:19:06 +01:00
Alessio PragliolaandDario Tranchitella ede96f5cf4 fix: service controller not skipping sentinel errs 2022-10-14 20:21:32 +02:00
Dario Tranchitella 098a74b565 refactor(capsuleconfiguration): allowing to skip tls reconciler 2022-07-26 17:48:58 +02:00
Dario Tranchitella ab750141c6 refactor: support for rfc 1123 for tenant owners cluster roles overrides 2022-06-29 10:53:35 +00:00
Dario Tranchitella e15191c2a0 refactor: sentinel error for running in out of cluster mode 2022-06-29 08:31:21 +00:00
Oliver BählerandDario Tranchitella cac2920827 feat: grant global patch privileges and add patch handler 2022-06-09 18:32:39 +00:00
Dario Tranchitella 4f55dd8db8 refactor: removing unrequired verb for clusterrole namespace deleter 2022-06-09 18:30:52 +00:00
Maksim FedotovandDario Tranchitella f1dc028649 feat: generate TLS certificates before starting controllers 2022-06-08 11:12:35 +00:00
Maksim FedotovandDario Tranchitella 82b58d7d53 feat: refactor capsule TLS certificates management 2022-06-08 11:12:35 +00:00
songandDario Tranchitella b9fc50861b style: removing unused struct field 2022-05-24 15:31:24 +00:00
Dario Tranchitella 9f6883d309 fix: formatting error message for service-related objects 2022-05-05 13:33:39 +00:00