{"id":19328224,"url":"https://github.com/scnewma/app-controller","last_synced_at":"2025-02-24T06:28:48.200Z","repository":{"id":129991439,"uuid":"220870399","full_name":"scnewma/app-controller","owner":"scnewma","description":"Example Kubernetes Controller.","archived":false,"fork":false,"pushed_at":"2019-11-11T00:33:48.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T12:59:02.303Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/scnewma.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":"2019-11-11T00:25:56.000Z","updated_at":"2019-11-11T00:33:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"72ef1835-fb40-4868-bbe2-051c93f31ddf","html_url":"https://github.com/scnewma/app-controller","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scnewma%2Fapp-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scnewma%2Fapp-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scnewma%2Fapp-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scnewma%2Fapp-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scnewma","download_url":"https://codeload.github.com/scnewma/app-controller/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240429197,"owners_count":19799813,"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-10T02:21:01.698Z","updated_at":"2025-02-24T06:28:48.165Z","avatar_url":"https://github.com/scnewma.png","language":"Go","readme":"# App Controller\n\nThis is an example Kubernetes Controller + CRD build using [Kubebuilder](https://kubebuilder.io/). It abstracts a common webapp stack (deployment + service + ingress) into a new `WebApp` CRD.\n\n\u003e Note: This is not production ready.\n\nWith this new CRD, a web application can be created in a much more manageable way, like so:\n\n```\napiVersion: webapp.com.shaunnewman/v1alpha1\nkind: WebApp\nmetadata:\n  name: webapp-sample\nspec:\n  instances: 2\n  image: gcr.io/kuar-demo/kuard-amd64:blue\n  healthCheckEndpoint: /healthy\n  cpu: 400m\n  memory: 56Mi \n  env:\n    TEST: some-value\n  routes:\n    - webapp-sample.example.com\n```\n\n## How to use it\n\n```\ngit clone https://github.com/scnewma/app-controller.git\n\n# install the CRDs into the cluster\nmake install\n\n# run locally\nmake run\n\n# run in-cluster (provide your own registry)\nmake docker-build docker-push IMG=\u003cregistry\u003e/app-controller:latest\nmake deploy IMG=\u003cregistry\u003e/app-controller:latest\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscnewma%2Fapp-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscnewma%2Fapp-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscnewma%2Fapp-controller/lists"}