Commit Graph

10 Commits

Author SHA1 Message Date
Philippe Caseiro 76b90e6c82 feat(components): moving hydra-maester as componenent
This will prevent oauth2-client removal from hydra instances removal.
At the time if you deploy an hydra in your namespace for your app and
delete it, the hydra-maester CRD will be removed, but we don't want that.
More than one project will use this CRD.
2023-12-22 10:02:25 +01:00
wpetit d88cc2de65 feat(hydra): add janitor cronjob 2023-12-11 11:30:50 +01:00
Philippe Caseiro 8075071f22 feat(resource): adding new hydra-maester resource
This allow to manage "Clients" with a CRD

from official doc:

The controller listens for Custom Resource which defines client registration request.
Once Custom resource is created, the controller register oauth2 client in hydra using
hydra's REST API.

Client Id, Client Secret and Identifier of the client in hydra are be stored in the
kubernetes as a secret and referenced in the applied CR. Reference is used to
identify in which kubernetes secret are stored mentioned properties.

Secret iscreated in the same namespace of applied CR. By default controller should
be deployed in the same pod as hydra. Service discovery will come in place in the future.
2023-06-12 14:07:51 +02:00
Philippe Caseiro b1b834c2d4 feat(hydra): adding new literal to configmap hydra-env 2023-03-15 12:15:48 +01:00
wpetit 9e0215d6f2 chore: remove obsolete var 2023-02-28 10:13:28 +01:00
wpetit 4a745fb9a1 wip: example app 2023-02-27 09:36:36 +01:00
wpetit 9e73054781 fix: use variable to determine postgresql service name 2023-01-30 16:38:56 +01:00
wpetit abe220ff40 fix: use variable to reference hydra-migrate job 2023-01-30 16:15:39 +01:00
wpetit bb79c56c30 fix: use serviceAccountName instead of deprecated serviceAccount 2023-01-30 16:04:33 +01:00
wpetit 06b7aa7903 feat: initial commit 2023-01-27 10:16:19 +01:00