{"id":13907853,"url":"https://github.com/ContainerSolutions/operator-workshop","last_synced_at":"2025-07-18T06:31:34.939Z","repository":{"id":87118062,"uuid":"207581441","full_name":"ContainerSolutions/operator-workshop","owner":"ContainerSolutions","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-11T12:48:10.000Z","size":18359,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":9,"default_branch":"exercise-1","last_synced_at":"2025-06-27T00:45:19.660Z","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/ContainerSolutions.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-09-10T14:27:37.000Z","updated_at":"2021-06-19T14:22:35.000Z","dependencies_parsed_at":"2023-06-19T18:10:00.050Z","dependency_job_id":null,"html_url":"https://github.com/ContainerSolutions/operator-workshop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ContainerSolutions/operator-workshop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Foperator-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Foperator-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Foperator-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Foperator-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ContainerSolutions","download_url":"https://codeload.github.com/ContainerSolutions/operator-workshop/tar.gz/refs/heads/exercise-1","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Foperator-workshop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265710559,"owners_count":23815379,"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-06T23:02:14.298Z","updated_at":"2025-07-18T06:31:34.930Z","avatar_url":"https://github.com/ContainerSolutions.png","language":"Go","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# Solution for Exercise-1\n\nIn the [generated operator](https://github.com/ContainerSolutions/operator-workshop/blob/exercise-1/pkg/controller/exampleworkshop/exampleworkshop_controller.go) there is a default, hardcoded specification for the container and your role is to:\n\n* [Extend the api structure](https://github.com/ContainerSolutions/operator-workshop/blob/71cdfa9bbb7649405fbf900bfc349d471bfdcdf5/pkg/apis/app/v1alpha1/exampleworkshop_types.go#L16)\n* Regenerate the api `operator-sdk generate k8s` and `operator-sdk generate openapi\"`\n* [Define in the resource definition](https://github.com/ContainerSolutions/operator-workshop/blob/exercise-1/deploy/crds/app_v1alpha1_exampleworkshop_cr.yaml)\n* [Write the required go code to reflect your changes inside your controller file](https://github.com/ContainerSolutions/operator-workshop/blob/71cdfa9bbb7649405fbf900bfc349d471bfdcdf5/pkg/controller/exampleworkshop/exampleworkshop_controller.go#L133)\n* Deploy your operator `operator-sdk up local --namespace=default`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FContainerSolutions%2Foperator-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FContainerSolutions%2Foperator-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FContainerSolutions%2Foperator-workshop/lists"}