{"id":18712337,"url":"https://github.com/lazychanger/helm-viv","last_synced_at":"2025-10-28T19:07:02.271Z","repository":{"id":61345151,"uuid":"550169514","full_name":"lazychanger/helm-viv","owner":"lazychanger","description":"Helm plugin to use variable in values","archived":false,"fork":false,"pushed_at":"2023-03-01T12:07:50.000Z","size":432,"stargazers_count":5,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-07T12:52:19.427Z","etag":null,"topics":["helm","helm-plugin","variable-in-values","viv"],"latest_commit_sha":null,"homepage":"","language":"Go","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/lazychanger.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":"2022-10-12T10:08:24.000Z","updated_at":"2024-04-03T07:41:00.000Z","dependencies_parsed_at":"2024-11-07T12:47:12.534Z","dependency_job_id":"e57184b8-bb11-43cd-9209-0833c846a981","html_url":"https://github.com/lazychanger/helm-viv","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazychanger%2Fhelm-viv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazychanger%2Fhelm-viv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazychanger%2Fhelm-viv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazychanger%2Fhelm-viv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lazychanger","download_url":"https://codeload.github.com/lazychanger/helm-viv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231605345,"owners_count":18399404,"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":["helm","helm-plugin","variable-in-values","viv"],"created_at":"2024-11-07T12:42:26.775Z","updated_at":"2025-10-28T19:06:57.236Z","avatar_url":"https://github.com/lazychanger.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Helm-variable-in-values\n\nPart of the code in this repository comes from [helm](https://github.com/helm/helm)\nand [helm-cm-push](https://github.com/chartmuseum/helm-push). \n\n## Install\n```shell\nhelm plugin install https://github.com/lazychanger/helm-viv\n```\n\n### version\n```shell\nhelm viv version\n```\n\n## Usage\n\n### 1. Create viv-chart project\n\n```shell\nhelm create example\n```\n\n### 2. Add your variable-in-values to `vivs/xxx.yaml`\n\n**values.yaml**\n\n```yaml\n...\n\nsubChart:\n  serviceSelector:\n    name:\n\nsubChart2:\n  # realname is \u003c.ReleaseName\u003e-\u003c.Values.subChart2.serviceName\u003e\n  serviceName: subChart\n```\n\n**vivs/overrideSubChartServiceName.yaml**\n\n```yaml\nsubChart:\n  serviceSelector:\n    name: \"{{ .Release.Name }}.{{ .Values.subChart2.serviceName }}\"\n```\n\n### 3. Install\n\n```shell\n$ helm viv install --generate-name exmaple/simple-exmaple -f ./values.yaml --dry-run\n```\n\n## Debug\n\nadd `--debug` to your command, and then you can see *vivTemp* dir in your chart.\n\n**command**\n```shell\n$ helm viv template --generate-name exmaple/simple-exmaple -f ./values.yaml --debug\n```\n\n**example/simple-example directory**\n```shell\n$ tree ./example/simple-example\n\n#./example/simple-example\n#├── Chart.lock\n#├── Chart.yaml\n#├── charts\n#│   └── ingress-0.1.0.tgz\n#├── templates\n#│   ├── NOTES.txt\n#│   ├── _helpers.tpl\n#│   ├── deployment.yaml\n#│   ├── hpa.yaml\n#│   └── serviceaccount.yaml\n#├── values.yaml\n#├── vivTemp\n#│   ├── _charts_ingressAlias_charts_service_vivs_values.yaml\n#│   ├── _charts_ingressAlias_vivs_values.yaml\n#│   ├── vivs_autoscaling.yaml\n#│   └── vivs_values.yaml\n#└── vivs\n#    ├── autoscaling.yaml\n#    └── values.yaml\n```\n## Config\n\n### Env\n| name             | default | desc                                    |\n|------------------|---------|-----------------------------------------|\n| HELM_VIV_HELMBIN | helm    | use helmbin when viv proxy helm command |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazychanger%2Fhelm-viv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flazychanger%2Fhelm-viv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazychanger%2Fhelm-viv/lists"}