{"id":19150163,"url":"https://github.com/carvel-dev/ytt-starter-for-kubernetes","last_synced_at":"2025-08-07T14:43:16.395Z","repository":{"id":53587161,"uuid":"263701721","full_name":"carvel-dev/ytt-starter-for-kubernetes","owner":"carvel-dev","description":"Use this repo as an example for organizing ytt templates within your application repo","archived":false,"fork":false,"pushed_at":"2023-01-23T18:28:31.000Z","size":24,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"develop","last_synced_at":"2025-01-03T18:13:13.734Z","etag":null,"topics":["carvel","ytt"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carvel-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2020-05-13T17:42:35.000Z","updated_at":"2023-05-17T11:21:06.000Z","dependencies_parsed_at":"2023-02-13T02:01:07.547Z","dependency_job_id":null,"html_url":"https://github.com/carvel-dev/ytt-starter-for-kubernetes","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/carvel-dev%2Fytt-starter-for-kubernetes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carvel-dev%2Fytt-starter-for-kubernetes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carvel-dev%2Fytt-starter-for-kubernetes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carvel-dev%2Fytt-starter-for-kubernetes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carvel-dev","download_url":"https://codeload.github.com/carvel-dev/ytt-starter-for-kubernetes/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240236197,"owners_count":19769571,"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":["carvel","ytt"],"created_at":"2024-11-09T08:10:55.656Z","updated_at":"2025-02-22T20:44:56.983Z","avatar_url":"https://github.com/carvel-dev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n\nUse this repo as an example for organizing [ytt](https://get-ytt.io) templates for your application.\n\n## Directory structure\n\n- `config/` contains files describing app configuration\n- `config-env/` contains environment configuration files\n- `Dockerfile`\n\n## Instructions\n\n1. Obtain and target a Kubernetes Cluster.\n\n1. Deploy the application to the cluster:\n   ```console\n   $ ytt -f config/ -f config-env/production.yml | kubectl apply -f -\n   deployment.apps/greeter created\n   service/greeter created\n   configmap/greeter created\n   ```\n   Note: The values from `config/` are applied first and the production values from `config-env/` will override them. \n\n1. Forward local traffic to the cluster in order to visit the app:\n    ```console\n   $ kubectl port-forward service/greeter 8080:8080\n   Forwarding from 127.0.0.1:8080 -\u003e 80\n   Forwarding from [::1]:8080 -\u003e 80\n    ```\n\n1. Verify the deployment\n   ```console\n   $ curl localhost:8080/app/\n   ``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarvel-dev%2Fytt-starter-for-kubernetes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarvel-dev%2Fytt-starter-for-kubernetes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarvel-dev%2Fytt-starter-for-kubernetes/lists"}