From a26ac3d887b47b84d9c56ce3263193763750a0d6 Mon Sep 17 00:00:00 2001 From: Vova Date: Mon, 27 Nov 2017 13:14:01 +0200 Subject: [PATCH 1/3] init --- stable/publish-helm-chart/NOTES.md | 1 + stable/publish-helm-chart/README.md | 29 +++++++++++++++++++++++++++ stable/publish-helm-chart/plugin.yaml | 24 ++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 stable/publish-helm-chart/NOTES.md create mode 100644 stable/publish-helm-chart/README.md create mode 100644 stable/publish-helm-chart/plugin.yaml diff --git a/stable/publish-helm-chart/NOTES.md b/stable/publish-helm-chart/NOTES.md new file mode 100644 index 00000000..842a96bc --- /dev/null +++ b/stable/publish-helm-chart/NOTES.md @@ -0,0 +1 @@ +## Notes \ No newline at end of file diff --git a/stable/publish-helm-chart/README.md b/stable/publish-helm-chart/README.md new file mode 100644 index 00000000..de17cb7b --- /dev/null +++ b/stable/publish-helm-chart/README.md @@ -0,0 +1,29 @@ +# Codefresh Helm Plugin + +Use Codefresh [Helm](https://helm.sh) plugin to deploy a Helm chart into specified (by context) Kubernetes cluster. + +## Usage + +Set required and optional environment variable and add the following step to your Codefresh pipeline: + +```yaml +--- +version: '1.0' + +steps: + + ... + + publish_to_repo: + image: codefresh/plugin-publish-helm-to-repo:0.1.2 + + ... + +``` + +## Environment Variables + +- **required** `CHART_NAME` - Helm chart name +- **required** `CHART_REPO_URL` - Helm chart repository URL +- `CHART_VERSION` - application chart version to install +- `DEBUG` - print verbose output \ No newline at end of file diff --git a/stable/publish-helm-chart/plugin.yaml b/stable/publish-helm-chart/plugin.yaml new file mode 100644 index 00000000..7a2e5712 --- /dev/null +++ b/stable/publish-helm-chart/plugin.yaml @@ -0,0 +1,24 @@ +image: codefresh/plugin-publish-helm-chart +tag: 0.0.1 +version: 0.1.0 +description: Publish a Helm chart to repository +keywords: + - helm + - kubernetes +home: https://github.com/codefresh-io/cf-publish-helm-chart +sources: + - https://github.com/codefresh-io/cf-publish-helm-chart +maintainers: # (optional) + - name: Vladimir Zhuravlev + email: vova@codefresh.io +icon: https://avatars0.githubusercontent.com/u/29493517?v=4&s=400 +envs: + - name: CHART_NAME + type: required + description: Helm chart name to release + - name: CHART_VERSION + description: application chart version to install + - name: CHART_REPO_URL + description: Helm chart repository URL + - name: DEBUG + description: print verbose install output \ No newline at end of file From 9493921e43bdd8e299579d2885e42b1b0a7aa63b Mon Sep 17 00:00:00 2001 From: Vova Date: Mon, 27 Nov 2017 13:42:42 +0200 Subject: [PATCH 2/3] fix readme --- stable/publish-helm-chart/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stable/publish-helm-chart/README.md b/stable/publish-helm-chart/README.md index de17cb7b..a4921c0a 100644 --- a/stable/publish-helm-chart/README.md +++ b/stable/publish-helm-chart/README.md @@ -1,6 +1,6 @@ # Codefresh Helm Plugin -Use Codefresh [Helm](https://helm.sh) plugin to deploy a Helm chart into specified (by context) Kubernetes cluster. +Use Codefresh [Helm](https://helm.sh) plugin to publish a Helm chart to repository. ## Usage From 07cea1340c17074a98b8bbccc029980c7799b3d3 Mon Sep 17 00:00:00 2001 From: Vova Date: Mon, 27 Nov 2017 13:58:27 +0200 Subject: [PATCH 3/3] added idea to ignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..723ef36f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea \ No newline at end of file