{"id":18457982,"url":"https://github.com/alokkusingh/open-service-broker","last_synced_at":"2026-04-27T20:31:46.605Z","repository":{"id":228125850,"uuid":"773217149","full_name":"alokkusingh/open-service-broker","owner":"alokkusingh","description":"Kubernetes Open Service Broker using Spring Cloud OSB","archived":false,"fork":false,"pushed_at":"2024-03-17T05:04:23.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T16:23:05.368Z","etag":null,"topics":["java","kubernetes","kubernetes-catalog","kubernetes-sevice-broker","microk8s","open-sevice-broker","osb","spring-cloud","spring-cloud-open-service-broker"],"latest_commit_sha":null,"homepage":"","language":"Java","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/alokkusingh.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2024-03-17T03:42:38.000Z","updated_at":"2024-03-17T03:52:31.000Z","dependencies_parsed_at":"2024-03-17T07:52:05.876Z","dependency_job_id":"f4fa85f0-8a94-4300-b485-a9f1d7839340","html_url":"https://github.com/alokkusingh/open-service-broker","commit_stats":null,"previous_names":["alokkusingh/open-service-broker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alokkusingh/open-service-broker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alokkusingh%2Fopen-service-broker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alokkusingh%2Fopen-service-broker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alokkusingh%2Fopen-service-broker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alokkusingh%2Fopen-service-broker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alokkusingh","download_url":"https://codeload.github.com/alokkusingh/open-service-broker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alokkusingh%2Fopen-service-broker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32354566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["java","kubernetes","kubernetes-catalog","kubernetes-sevice-broker","microk8s","open-sevice-broker","osb","spring-cloud","spring-cloud-open-service-broker"],"created_at":"2024-11-06T08:16:19.742Z","updated_at":"2026-04-27T20:31:46.586Z","avatar_url":"https://github.com/alokkusingh.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Open Service Broker\nOpen Service Broker using Spring Cloud OSB.\n\nDeployed as Kubernetes Service Broker.\n\n## Docker Build\n```shell\nmvn clean package\n```\n```shell\ndocker build -t alokkusingh/home-osb:latest -t alokkusingh/home-osb:1.0.0 --build-arg JAR_FILE=target/open-service-broker-0.0.1-SNAPSHOT.jar .\n```\n```shell\ndocker push alokkusingh/home-osb:latest\n```\n```shell\nmvn clean package\ndocker build -t alokkusingh/home-osb:latest -t alokkusingh/home-osb:1.0.0 --build-arg JAR_FILE=target/open-service-broker-0.0.1-SNAPSHOT.jar .\ndocker push alokkusingh/home-osb:latest\n```\n---\n## Kubernetes Deployment\n### Create Namespaces for OSB and Tests\n```shell\nkubectl apply -f k8s/deploy/namespace.yaml\n```\n### Create Java Spring OSB Service - business logic\n```shell\nkubectl apply --validate=true --dry-run=client -f k8s/deploy/home-osb-service.yaml \n```\n```shell\nkubectl apply -f k8s/deploy/home-osb-service.yaml\n```\n### Create Service Broker\nCreate secret for service broker\n```shell\nkubectl create -f k8s/deploy/home-osb-broker-secret.yaml\n```\nCreate service broker\n```shell\nkubectl create -f k8s/deploy/home-osb-broker.yaml\n```\nNote: as of now Microk8s doesn't support servicecatalog\n\n### View Service Offerings\nShow the list of brokered service offerings advertised by the service broker:\n```shell\nkubectl get clusterserviceclasses -o=custom-columns=NAME:.metadata.name,EXTERNAL\\ NAME:.spec.externalName\n```\nShow the details of the brokered service offering:\n```shell\nkubectl get clusterserviceclasses b92c0ca7-c162-4029-b567-0d92978c0a97 -o=yaml\n```\n#### View Service Plans\nShow the list of brokered service plans advertised by the service broker:\n```shell\nkubectl get clusterserviceplans -o=custom-columns=NAME:.metadata.name,EXTERNAL\\ NAME:.spec.externalName\n```\nShow the details of the brokered service plan:\n```shell\nkubectl get clusterserviceplans fd81196c-a414-43e5-bd81-1dbb082a3c55 -o yaml\n```\n### Use the service broker\n#### Create a service instance\nCreate an instance of a brokered service from the sample service broker:\n```shell\nkubectl create -f k8s/deploy/service-instance.yml\n```\nShow the details of the created service instance:\n```shell\nkubectl describe serviceinstance mail-instance -n test-stack\n```\n#### Create a service binding\nCreate a service binding for the service instance:\n```shell\nkubectl create -f k8s/deploy/service-binding.yml\n```\nShow the details of the created service binding:\n```shell\nkubectl describe servicebinding mail-binding -n test-stack\n```\nService bindings are exposed via Kubernetes secret objects. \nShow the details of the secret containing the binding credentials:\n```shell\nkubectl get secret mail-binding -n test-stack -o yaml\n```\n\n\n## Delete the stack\n```shell\nkubectl delete -f k8s/deploy/namespace.yaml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falokkusingh%2Fopen-service-broker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falokkusingh%2Fopen-service-broker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falokkusingh%2Fopen-service-broker/lists"}