{"id":13585133,"url":"https://github.com/robusta-dev/chatgpt-yaml-generator","last_synced_at":"2025-04-07T06:32:42.468Z","repository":{"id":168072338,"uuid":"643527313","full_name":"robusta-dev/chatgpt-yaml-generator","owner":"robusta-dev","description":"Give ChatGPT full knowledge of Kubernetes schemas + validation capabilities","archived":false,"fork":false,"pushed_at":"2023-07-08T05:13:58.000Z","size":303,"stargazers_count":114,"open_issues_count":1,"forks_count":14,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-02T22:55:32.747Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robusta-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-05-21T13:00:05.000Z","updated_at":"2025-02-22T18:28:42.000Z","dependencies_parsed_at":"2024-01-14T10:06:22.631Z","dependency_job_id":null,"html_url":"https://github.com/robusta-dev/chatgpt-yaml-generator","commit_stats":null,"previous_names":["robusta-dev/chatgpt-yaml-generator"],"tags_count":0,"template":false,"template_full_name":"openai/plugins-quickstart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robusta-dev%2Fchatgpt-yaml-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robusta-dev%2Fchatgpt-yaml-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robusta-dev%2Fchatgpt-yaml-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robusta-dev%2Fchatgpt-yaml-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robusta-dev","download_url":"https://codeload.github.com/robusta-dev/chatgpt-yaml-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247607550,"owners_count":20965942,"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-08-01T15:04:45.461Z","updated_at":"2025-04-07T06:32:42.460Z","avatar_url":"https://github.com/robusta-dev.png","language":"Python","funding_links":[],"categories":["Python","Others"],"sub_categories":[],"readme":"\u003cdiv id=\"top\"\u003e\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./screenshot.png\" /\u003e\n\n  \u003ch2\u003eChatGPT Kubernetes YAML Plugin by \u003ca href=\"https://home.robusta.dev/\"\u003eRobusta\u003c/a\u003e\u003c/h2\u003e\n    \u003ch3\u003eA ChatGPT plugin to generate accurate Kubernetes manifests\u003c/h3\u003e\n\n  [![twitter robusta](https://img.shields.io/twitter/follow/RobustaDev?logo=twitter\u0026color=blue\u0026label=@RobustaDev\u0026style=flat-square)](https://twitter.com/RobustaDev)\n  [![slack robusta](https://img.shields.io/badge/Slack-Join-4A154B?style=flat-square\u0026logo=slack\u0026logoColor=white)](https://bit.ly/robusta-slack)\n \u003ca href=\"https://www.linkedin.com/company/robusta-dev/\"\u003e\u003cimg alt=\"LinkedIn\" title=\"LinkedIn\" src=\"https://img.shields.io/badge/-LinkedIn-blue?style=flat-square\u0026logo=Linkedin\u0026logoColor=white\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.youtube.com/channel/UCeLrAOI3anJAfO3BrYVB62Q\"\u003e\u003cimg alt=\"Youtube\" title=\"Youtube\" src=\"https://img.shields.io/youtube/channel/subscribers/UCeLrAOI3anJAfO3BrYVB62Q?color=%23ff0000\u0026label=Robusta%20Dev\u0026logo=youtube\u0026logoColor=%23ff0000\u0026style=flat-square\"/\u003e\u003c/a\u003e\n\n\u003c/div\u003e\n\nThis plugin gives ChatGPT up-to-date knowledge of every Kubernetes resource and their complete specifications. It lets ChatGPT query the [Kubernetes OpenAPI (swagger) schema](https://raw.githubusercontent.com/kubernetes/kubernetes/master/api/openapi-spec/swagger.json) to fetch resource definitions. Additionally, it provides ChatGPT with schema validation capabilities.\n\n\u003ca href=\"https://www.loom.com/share/ff472bbdb9494ef4aca1c3f23dee8742\"\u003e\n    \u003cimg src=\"https://cdn.loom.com/sessions/thumbnails/ff472bbdb9494ef4aca1c3f23dee8742-with-play.gif\"\u003e\n  \u003c/a\u003e\n  \n# Key Features\n1. **Schema Lookup:** The `GET /schemas/search/{resourceName}` endpoint retrieves fully-namespaced names for Kubernetes resources. For instance, a search for 'Container' will yield 'io.k8s.api.core.v1.Container'.\n\n2. **Schema Retrieval:** The `GET /schemas/resource/{resourceType}` endpoint fetches the latest OpenAPI schemas for Kubernetes resources using fully-namespaced resource names.\n\n3. **YAML Validation:** The `POST /validate-yaml` endpoint validates generated Kubernetes YAML manifests, guaranteeing their accuracy.\n\n## Setup\n\nTo install the required packages for this plugin, run the following command:\n\n```bash\npip install -r requirements.txt\n```\n\nTo run the plugin, enter the following command:\n\n```bash\npython main.py\n```\n\nOnce the local server is running:\n\n1. Navigate to https://chat.openai.com. \n2. In the Model drop down, select \"Plugins\" (note, if you don't see it there, you don't have access yet).\n3. Select \"Plugin store\"\n4. Select \"Develop your own plugin\" (ChatGPT Plus is required right now)\n5. Enter in `localhost:5003` since this is the URL the server is running on locally, then select \"Find manifest file\".\n\nThe plugin should now be installed and enabled! Watch the video above for ideas on using the plugin.\n\n## Getting help\n\nJoin the [Robusta Slack Community](https://bit.ly/robusta-slack) and ask for help.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobusta-dev%2Fchatgpt-yaml-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobusta-dev%2Fchatgpt-yaml-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobusta-dev%2Fchatgpt-yaml-generator/lists"}