{"id":21475125,"url":"https://github.com/snapp-incubator/lbaas-operator","last_synced_at":"2025-07-15T09:32:12.601Z","repository":{"id":163460518,"uuid":"606728477","full_name":"snapp-incubator/lbaas-operator","owner":"snapp-incubator","description":"lbaas-operator simplifies the process of creating Services with custom Endpoints in Kubernetes.","archived":false,"fork":false,"pushed_at":"2023-06-19T12:40:29.000Z","size":88,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-12T08:53:04.321Z","etag":null,"topics":["cloud","go","golang","kubernetes","network","operator","snappcloud"],"latest_commit_sha":null,"homepage":"","language":"Go","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/snapp-incubator.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,"publiccode":null,"codemeta":null}},"created_at":"2023-02-26T11:46:10.000Z","updated_at":"2024-02-06T21:10:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"418a54e1-6c2c-4d80-8cf7-7f160214002b","html_url":"https://github.com/snapp-incubator/lbaas-operator","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/snapp-incubator/lbaas-operator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snapp-incubator%2Flbaas-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snapp-incubator%2Flbaas-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snapp-incubator%2Flbaas-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snapp-incubator%2Flbaas-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snapp-incubator","download_url":"https://codeload.github.com/snapp-incubator/lbaas-operator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snapp-incubator%2Flbaas-operator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265425320,"owners_count":23762900,"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":["cloud","go","golang","kubernetes","network","operator","snappcloud"],"created_at":"2024-11-23T10:37:39.114Z","updated_at":"2025-07-15T09:32:12.293Z","avatar_url":"https://github.com/snapp-incubator.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lbaas-operator\nThere are use-cases that you may want to call an application outside the okd clusters.\n\nThink of a scenario that you have 3 VMs that are running elasticsearch nodes and the application should call a URL that load balances requests to these three instances.\n\n**lbaas-operator** provides a kind named `ExternalService` that simplifies the process of creating Services with custom Endpoints in OKD. It allows you to interact with external applications seamlessly.\n\nAn example for an `ExternalService` can be:\n\n```yaml\napiVersion: networking.snappcloud.io/v1alpha1\nkind: ExternalService\nmetadata:\n  name: example-external-service\nspec:\n  type: static\n  serviceType: ClusterIP\n  static:\n    addresses:\n     - ip: 172.16.10.10\n     - ip: 172.16.10.11\n     - ip: 172.16.10.12\n  ports:\n    - name: 8080-tcp\n      port: 8080\n      protocol: TCP\n```\n\n### Specification\n\nThe `ExternalService` object has the following fields:\n\n+ metadata: Metadata for the `ExternalService` resource, including the name and other optional fields.\n+ spec: Specification for the `ExternalService`, including the type, serviceType, endpoints, and ports.\n    + serviceType: The type of Kubernetes Service to create. For example, \"ClusterIP\" or \"Loadbalancer\".\n    + ports: The list of ports to expose on the Service. Each port should specify the name, port number, and protocol.\n    + type: The type of `ExternalService`. Currently, only the \"static\" type is supported.\n    + static: Defines a static list of IP addresses that will be used as the endpoints for the Service.\n        + addresses: A list of IP addresses that represent the endpoints for the Service.\n\n\n\n\n### Development\n\n* `make generate` update the generated code for that resource type.\n* `make manifests` Generating CRD manifests.\n* `make test` Run tests.\n\n### Build\n\nExport your image name:\n\n```\nexport IMG=ghcr.io/snapp-incubator/lbaas-operator:main\n```\n\n* `make build` builds golang app locally.\n* `make docker-build` build docker image locally.\n* `make docker-push` push container image to registry.\n\n### Run, Deploy\n* `make run` run app locally\n* `make deploy` deploy to k8s.\n\n### Clean up\n\n* `make undeploy` delete resouces in k8s.\n\n\n## Security\n\n### Reporting security vulnerabilities\n\nIf you find a security vulnerability or any security related issues, please DO NOT file a public issue, instead send your report privately to cloud@snapp.cab. Security reports are greatly appreciated and we will publicly thank you for it.\n\n## License\n\nApache-2.0 License, see [LICENSE](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnapp-incubator%2Flbaas-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnapp-incubator%2Flbaas-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnapp-incubator%2Flbaas-operator/lists"}