{"id":19623632,"url":"https://github.com/flowcore-io/service-core-secret-request-controller","last_synced_at":"2026-06-13T11:32:10.721Z","repository":{"id":239792214,"uuid":"680519533","full_name":"flowcore-io/service-core-secret-request-controller","owner":"flowcore-io","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-16T09:38:54.000Z","size":212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-09T11:54:45.511Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flowcore-io.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-19T14:06:53.000Z","updated_at":"2024-05-16T09:38:57.000Z","dependencies_parsed_at":"2024-11-11T11:47:19.631Z","dependency_job_id":null,"html_url":"https://github.com/flowcore-io/service-core-secret-request-controller","commit_stats":null,"previous_names":["flowcore-io/service-core-secret-request-controller"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowcore-io%2Fservice-core-secret-request-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowcore-io%2Fservice-core-secret-request-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowcore-io%2Fservice-core-secret-request-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowcore-io%2Fservice-core-secret-request-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flowcore-io","download_url":"https://codeload.github.com/flowcore-io/service-core-secret-request-controller/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240921257,"owners_count":19878905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T11:34:57.938Z","updated_at":"2026-06-13T11:32:05.693Z","avatar_url":"https://github.com/flowcore-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Secret Request Controller\n\nA secret request [metacontroller](https://metacontroller.github.io/metacontroller/intro.html) hook that handles requests for secrets from within the kubernetes cluster\n\n## Key Systems\n\n### NestJS Structure\n\n```mermaid\nclassDiagram\n  class AppModule\n  class MetaModule\n  class MetaController\n  class MetaService\n  class IngestionAdapterModule\n  class IngestionAdapterService\n  class Kubernetes\n  \n  AppModule *-- MetaModule    \n  AppModule *-- IngestionAdapterModule\n  IngestionAdapterModule *-- IngestionAdapterService\n  MetaModule *-- MetaController\n  MetaModule *-- MetaService\n  MetaController ..\u003e MetaService\n  MetaService ..\u003e IngestionAdapterService\n  Kubernetes ..\u003e MetaController: External\n```\n\n### Environment Variables\n\n| Environment Variable   | Description                             |   Type   | Default Value    | Required |\n|------------------------|-----------------------------------------|:--------:|------------------|:--------:|\n| PORT                   | The port the service will listen on     | `number` | `3000`           |          |\n\n## Installation\n\nTo install the [metacontroller](https://metacontroller.github.io/metacontroller/intro.html) on your own environment you first need to install metacontroller using helm\n\nexample values file:\n\n```yaml\nreplicas: 2\ncommandArgs:\n  - --zap-log-level=4\n  - --discovery-interval=20s\n  - --leader-election=true\n  - --workers=10\n```\n\n```bash\nhelm install \u003cname\u003e oci://ghcr.io/metacontroller/metacontroller-helm --version=4.11.12 --values ./values.yaml\n```\n\nthen install the controller manually\n\n```bash\ncurl -s https://raw.githubusercontent.com/flowcore-io/service-core-secret-request-controller/main/crd/metacontroller-controller.yaml | kubectl apply -n flowcore -f -\n```\n\nor using helm\n\n```bash\nhelm add repo flowcore https://flowcore-io.github.io/helm-charts\nhelm install secret-request-controller flowcore/secret-request-controller\n```\n\n\u003e Note: see the [helm chart](https://github.com/flowcore-io/flowcore-helm-charts/blob/main/charts/flowcore-secret-request-controller/README.md) for more information\n\nThis will install the controller and the crds required to run the controller.\n\n## Usage\n\nTo use the controller you need to create a secret request object, they look like this and are cluster scoped:\n\n```yaml\napiVersion: flowcore.io/v1\nkind: SecretRequest\nmetadata:\n  name: my-secret-request\nspec:\n  sourceSecret:\n    name: source-secret-name\n    namespace: source-secret-namespace\n  destinationSecret:\n    name: destination-secret-name\n    namespace: destination-secret-namespace\n```\n\n## Development\n\nTo start using the project just configure it using:\n\n### Configuration\n\n```bash\nyarn install\nyarn reconfigure\n```\n\n### Testing\n\nlocal testing requires a local kubernetes cluster to be running, this can be done using kind\n\n```bash\nbrew install kind\nkind create cluster --name local\n```\n\n### Run\n\nrun with:\n\n```bash\nyarn start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowcore-io%2Fservice-core-secret-request-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflowcore-io%2Fservice-core-secret-request-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowcore-io%2Fservice-core-secret-request-controller/lists"}