{"id":13840146,"url":"https://github.com/getporter/helm2-mixin","last_synced_at":"2025-07-11T07:32:42.039Z","repository":{"id":48989706,"uuid":"160882938","full_name":"getporter/helm2-mixin","owner":"getporter","description":"Helm mixin for Porter","archived":true,"fork":false,"pushed_at":"2021-07-01T22:08:19.000Z","size":5809,"stargazers_count":13,"open_issues_count":0,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-04-17T19:41:22.836Z","etag":null,"topics":["helm","mixin","porter"],"latest_commit_sha":null,"homepage":"https://porter.sh/mixins/helm","language":"Go","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/getporter.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":null,"support":null}},"created_at":"2018-12-07T22:45:06.000Z","updated_at":"2023-03-22T03:50:07.000Z","dependencies_parsed_at":"2022-09-05T07:41:04.753Z","dependency_job_id":null,"html_url":"https://github.com/getporter/helm2-mixin","commit_stats":null,"previous_names":["getporter/helm-mixin","deislabs/porter-helm"],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getporter%2Fhelm2-mixin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getporter%2Fhelm2-mixin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getporter%2Fhelm2-mixin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getporter%2Fhelm2-mixin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getporter","download_url":"https://codeload.github.com/getporter/helm2-mixin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225705249,"owners_count":17511253,"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","mixin","porter"],"created_at":"2024-08-04T17:00:42.660Z","updated_at":"2024-11-21T09:31:01.945Z","avatar_url":"https://github.com/getporter.png","language":"Go","funding_links":[],"categories":["Implementations"],"sub_categories":["Porter"],"readme":"# Helm v2 Mixin for Porter\n\n[![Build Status](https://dev.azure.com/getporter/porter/_apis/build/status/helm2-mixin?branchName=main)](https://dev.azure.com/getporter/porter/_build/latest?definitionId=11\u0026branchName=main)\n\n\u003cimg src=\"https://porter.sh/images/mixins/helm.svg\" align=\"right\" width=\"150px\"/\u003e\n\nThis is a Helm v2 mixin for [Porter](https://github.com/getporter/porter). It\nexecutes the appropriate helm command based on which action it is included\nwithin: `install`, `upgrade`, or `delete`.\n\n🚨 [Helm v2 is deprecated](https://helm.sh/blog/helm-2-becomes-unsupported/) so\nyou should move to Helm v3 as soon as possible. After you [migrate to Helm\n3](https://helm.sh/docs/topics/v2_v3_migration/), use the [Helm 3\nmixin](https://github.com/MChorfa/porter-helm3). 🚀\n\n### Install or Upgrade\n\n```shell\nporter mixin install helm2\n```\n\n### Mixin Configuration\n\nHelm client version\n\n```yaml\n- helm2:\n    clientVersion: v2.17.0\n```\n\nAdd repositories\n\n```yaml\n- helm2:\n    repositories:\n      stable:\n        url: \"https://charts.helm.sh/stable\n```\n\n### Mixin Syntax\n\nInstall\n\n```yaml\ninstall:\n- helm2:\n    description: \"Description of the command\"\n    name: RELEASE_NAME\n    chart: STABLE_CHART_NAME\n    version: CHART_VERSION\n    namespace: NAMESPACE\n    replace: BOOL\n    devel: BOOL\n    wait: BOOL # default true\n    set:\n      VAR1: VALUE1\n      VAR2: VALUE2\n```\n\nUpgrade\n\n```yaml\ninstall:\n- helm2:\n    description: \"Description of the command\"\n    name: RELEASE_NAME\n    chart: STABLE_CHART_NAME\n    version: CHART_VERSION\n    namespace: NAMESPACE\n    resetValues: BOOL\n    reuseValues: BOOL\n    wait: BOOL # default true\n    set:\n      VAR1: VALUE1\n      VAR2: VALUE2\n```\n\nUninstall\n\n```yaml\nuninstall:\n- helm2:\n    description: \"Description of command\"\n    purge: BOOL\n    releases:\n      - RELEASE_NAME1\n      - RELASE_NAME2\n```\n\n#### Outputs\n\nThe mixin supports saving secrets from Kuberentes as outputs.\n\n```yaml\noutputs:\n    - name: NAME\n      secret: SECRET_NAME\n      key: SECRET_KEY\n```\n\nThe mixin also supports extracting resource metadata from Kubernetes as outputs.\n\n```yaml\noutputs:\n    - name: NAME\n      resourceType: RESOURCE_TYPE\n      resourceName: RESOURCE_TYPE_NAME\n      namespace: NAMESPACE\n      jsonPath: JSON_PATH_DEFINITION\n```\n\n### Examples\n\nInstall\n\n```yaml\ninstall:\n- helm2:\n    description: \"Install MySQL\"\n    name: mydb\n    chart: stable/mysql\n    version: 0.10.2\n    namespace: mydb\n    replace: true\n    set:\n      mysqlDatabase: wordpress\n      mysqlUser: wordpress\n    outputs:\n      - name: mysql-root-password\n        secret: mydb-mysql\n        key: mysql-root-password\n      - name: mysql-password\n        secret: mydb-mysql\n        key: mysql-password\n      - name: mysql-cluster-ip\n        resourceType: service\n        resourceName: porter-ci-mysql-service\n        namespace: \"default\"\n        jsonPath: \"{.spec.clusterIP}\"\n```\n\nUpgrade\n\n```yaml\nupgrade:\n- helm2:\n    description: \"Upgrade MySQL\"\n    name: porter-ci-mysql\n    chart: stable/mysql\n    version: 0.10.2\n    wait: true\n    resetValues: true\n    reuseValues: false\n    set:\n      mysqlDatabase: mydb\n      mysqlUser: myuser\n      livenessProbe.initialDelaySeconds: 30\n      persistence.enabled: true\n```\n\nUninstall\n\n```yaml\nuninstall:\n- helm2:\n    description: \"Uninstall MySQL\"\n    purge: true\n    releases:\n      - mydb\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetporter%2Fhelm2-mixin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetporter%2Fhelm2-mixin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetporter%2Fhelm2-mixin/lists"}