{"id":22266533,"url":"https://github.com/csssr/helm-deno","last_synced_at":"2025-07-28T10:33:05.246Z","repository":{"id":48288136,"uuid":"337392105","full_name":"CSSSR/helm-deno","owner":"CSSSR","description":"A helm plugin that allows using Deno to write charts","archived":false,"fork":false,"pushed_at":"2023-11-29T10:56:44.000Z","size":278,"stargazers_count":6,"open_issues_count":14,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-13T16:19:46.804Z","etag":null,"topics":["deno","devops","hacktoberfest","helm","internal"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/CSSSR.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":".github/CODEOWNERS","security":null,"support":null,"governance":null}},"created_at":"2021-02-09T12:08:02.000Z","updated_at":"2023-09-05T10:49:13.000Z","dependencies_parsed_at":"2023-11-29T11:44:04.467Z","dependency_job_id":null,"html_url":"https://github.com/CSSSR/helm-deno","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/CSSSR%2Fhelm-deno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSSSR%2Fhelm-deno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSSSR%2Fhelm-deno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSSSR%2Fhelm-deno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CSSSR","download_url":"https://codeload.github.com/CSSSR/helm-deno/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227895859,"owners_count":17836482,"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":["deno","devops","hacktoberfest","helm","internal"],"created_at":"2024-12-03T10:19:07.469Z","updated_at":"2024-12-03T10:19:08.074Z","avatar_url":"https://github.com/CSSSR.png","language":"TypeScript","readme":"# helm-deno\n\nhelm-deno allows write helm charts with JavaScript and TypeScript\n\n## ️Project status: Alpha️\n\nProject currently in its early stage. Breaking changes are to be expected. Please read [changelog](https://github.com/CSSSR/helm-deno/releases) before upgrade.\n\n- [Known bugs](https://github.com/CSSSR/helm-deno/issues?q=is%3Aopen+is%3Aissue+label%3A%22issue+is+bug%22)\n- [Missing features](https://github.com/CSSSR/helm-deno/issues?q=is%3Aopen+is%3Aissue+label%3A%22priority+4+%28must%29%22)\n- [Expected breaking changes](https://github.com/CSSSR/helm-deno/issues?q=is%3Aopen+is%3Aissue+label%3A%22issue+is+breaking+suggestion%22+label%3A%22priority+4+%28must%29%22)\n\n## Features\n\n- Write charts in JavaScript and TypeScript\n- Easy to extend with deno modules\n- Can be used with helm-secrets, helm-diff and helm-push\n\n## What deno is?\n\nDeno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust. Learn more on [Deno official website](https://deno.land).\n\n## Installation\n\n```sh\nhelm plugin install https://github.com/CSSSR/helm-deno\n```\n\nThere is no need to install Deno, it will be installed automatically.\n\n## Getting started\n\n```sh\nhelm deno create chart-name # TODO: currently does not work (issue #10)\n```\n\nIt will create a directory structure that looks\nsomething like this:\n\n```\nchart-name/\n├── .helmignore     # Contains patterns to ignore when packaging Helm charts.\n├── Chart.yaml      # Information about your chart\n├── values.yaml     # The default values for your templates\n└── deno-templates/ # The template files\n    ├── mod.ts\n    └── resources/\n        ├── deployment.ts\n        ├── service.ts\n        └── ingress.ts\n```\n\nRender templates and print the result\n\n```sh\nhelm deno template my-release chart-name/\n```\n\n## Benefits\n\nWe have written this plugin because we wasn't happy with default helm's templates system: Go templates. There is some of things which wasn't possible with it or was too complex to deal with.\n\n**Working with data structures, not templates.** Programming languages are much more suitable for working with data such as kubernetes objects. And using functions instead of `define` and `template` is so much simpler.\n\n**Modules.** Deno has a big set of [standard](https://deno.land/std) and [third-party](https://deno.land/x) modules. Publishing your own modules is as easy as pushing file to git repository or serving static files.\n\n**Type System and static analysis.** Types for your chart values is a good documentaion which is always up-to-date. You are also safe from errors like typos and using variables that do not exist.\n\n**Ability to work with file system and network.** You can replace kubernetes operators or helm plugins with just a function. For example, decode a sops-encrypted file or fetch secrets from Hashicorp Vault.\n\n## Current limitations\n\n- Does not support passing options via equal sign `--values=values-file.yaml`\n- Require strict order of command-line arguments: `helm deno \u003csecrets\u003e \u003cdiff\u003e upgrade/template/install [RELEASE] [CHART] \u003cflags\u003e`\n- Does not support `--reuse-values`\n- Slower that go templates\n- Possible have bugs: doesn't have much tests yet\n- Was not tested on Windows but it should probably works\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsssr%2Fhelm-deno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsssr%2Fhelm-deno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsssr%2Fhelm-deno/lists"}