{"id":26594060,"url":"https://github.com/chlab/helmunittest-skipemptytemplates","last_synced_at":"2025-03-23T15:33:33.475Z","repository":{"id":283257150,"uuid":"951178355","full_name":"chlab/helmunittest-skipemptytemplates","owner":"chlab","description":"Reproduction of skipEmptyTemplates bug","archived":false,"fork":false,"pushed_at":"2025-03-19T09:46:18.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T10:25:38.080Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/chlab.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-19T09:28:38.000Z","updated_at":"2025-03-19T09:46:23.000Z","dependencies_parsed_at":"2025-03-19T10:36:07.215Z","dependency_job_id":null,"html_url":"https://github.com/chlab/helmunittest-skipemptytemplates","commit_stats":null,"previous_names":["chlab/helmunittest-skipemptytemplates"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chlab%2Fhelmunittest-skipemptytemplates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chlab%2Fhelmunittest-skipemptytemplates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chlab%2Fhelmunittest-skipemptytemplates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chlab%2Fhelmunittest-skipemptytemplates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chlab","download_url":"https://codeload.github.com/chlab/helmunittest-skipemptytemplates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245123794,"owners_count":20564575,"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":"2025-03-23T15:33:32.733Z","updated_at":"2025-03-23T15:33:33.467Z","avatar_url":"https://github.com/chlab.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Helm Unittest Bug Reproduction\n\nThis repo is a minimal reproduction of a suspected bug with the `skipEmptyTemplates` option of the `documentSelector` functionality of [helm unittest](https://github.com/helm-unittest/helm-unittest).\n\nTo reproduce, run `helm unittest . -f tests/test-external-secrets.yaml`. The tests should pass. Then, delete `templates/external-secrets.yaml` and rerun the tests. They now fail with the following notice:\n\n```\nExpected to equal:\n\tOwner\nActual:\n\tno manifest found\n```\n\nIt seems to me that skipEmptyTemplates works, as long as one template is found that fulfills the assertions. If none are found, it fails with \"no manifest found\".\n\nExpected: the test passes if no templates are found and `skipEmptyTemplates` is `true`.\n\nTested with version 0.8.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchlab%2Fhelmunittest-skipemptytemplates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchlab%2Fhelmunittest-skipemptytemplates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchlab%2Fhelmunittest-skipemptytemplates/lists"}