Skip to content

Commit

Permalink
Merge pull request #1 from jhonmike/release-action
Browse files Browse the repository at this point in the history
First proposal with the release action
  • Loading branch information
kav authored Apr 7, 2020
2 parents 1e15f1a + db35751 commit 8495d8f
Show file tree
Hide file tree
Showing 11 changed files with 59 additions and 33 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release Verdaccio Charts

on:
push:
branches:
- master
paths:
- 'charts/**'

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.0.0-rc.1
env:
CR_TOKEN: "${{ secrets.CR_TOKEN }}"
67 changes: 34 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@

> ⚠️ This repo is in construction [more info here](https://github.com/verdaccio/verdaccio/issues/1767).

## TL;DR;

```
$ helm install stable/verdaccio
$ helm repo add renovate https://verdaccop.github.io/charts/
$ helm repo update
$ helm install verdaccio/verdaccio
```

## Introduction
Expand All @@ -28,7 +29,7 @@ deployment on a [Kubernetes](http://kubernetes.io) cluster using the
To install the chart with the release name `my-release`:

```
$ helm install --name my-release stable/verdaccio
$ helm install --name my-release verdaccio/verdaccio
```

The command deploys Verdaccio on the Kubernetes cluster in the default
Expand All @@ -53,40 +54,40 @@ deletes the release.
The following table lists the configurable parameters of the Verdaccio chart
and their default values.

| Parameter | Description | Default |
| ---------------------------------- | --------------------------------------------------------------- | -------------------------------------------------------- |
| `customConfigMap` | Use a custom ConfigMap | `false` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.repository` | Verdaccio container image repository | `verdaccio/verdaccio` |
| `image.tag` | Verdaccio container image tag | `3.11.6` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | List of node taints to tolerate | `[]` |
| `persistence.accessMode` | PVC Access Mode for Verdaccio volume | `ReadWriteOnce` |
| `persistence.enabled` | Enable persistence using PVC | `true` |
| `persistence.existingClaim` | Use existing PVC | `nil` |
| `persistence.mounts` | Additional mounts | `nil` |
| `persistence.size` | PVC Storage Request for Verdaccio volume | `8Gi` |
| `persistence.storageClass` | PVC Storage Class for Verdaccio volume | `nil` |
| `persistence.volumes` | Additional volumes | `nil` |
| `podAnnotations` | Annotations to add to each pod | `{}` |
| `replicaCount` | Desired number of pods | `1` |
| `resources` | CPU/Memory resource requests/limits | `{}` |
| `resources` | pod resource requests & limits | `{}` |
| `service.annotations` | Annotations to add to service | none |
| `service.clusterIP` | IP address to assign to service | `""` |
| `service.externalIPs` | Service external IP addresses | `[]` |
| `service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `""` |
| `service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | `[]` |
| `service.port` | Service port to expose | `4873` |
| `service.nodePort` | Service port to expose | none |
| `service.type` | Type of service to create | `ClusterIP` |
| Parameter | Description | Default |
| ---------------------------------- | --------------------------------------------------------------- | --------------------- |
| `customConfigMap` | Use a custom ConfigMap | `false` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.repository` | Verdaccio container image repository | `verdaccio/verdaccio` |
| `image.tag` | Verdaccio container image tag | `3.11.6` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | List of node taints to tolerate | `[]` |
| `persistence.accessMode` | PVC Access Mode for Verdaccio volume | `ReadWriteOnce` |
| `persistence.enabled` | Enable persistence using PVC | `true` |
| `persistence.existingClaim` | Use existing PVC | `nil` |
| `persistence.mounts` | Additional mounts | `nil` |
| `persistence.size` | PVC Storage Request for Verdaccio volume | `8Gi` |
| `persistence.storageClass` | PVC Storage Class for Verdaccio volume | `nil` |
| `persistence.volumes` | Additional volumes | `nil` |
| `podAnnotations` | Annotations to add to each pod | `{}` |
| `replicaCount` | Desired number of pods | `1` |
| `resources` | CPU/Memory resource requests/limits | `{}` |
| `resources` | pod resource requests & limits | `{}` |
| `service.annotations` | Annotations to add to service | none |
| `service.clusterIP` | IP address to assign to service | `""` |
| `service.externalIPs` | Service external IP addresses | `[]` |
| `service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `""` |
| `service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | `[]` |
| `service.port` | Service port to expose | `4873` |
| `service.nodePort` | Service port to expose | none |
| `service.type` | Type of service to create | `ClusterIP` |

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

```
$ helm install --name my-release \
--set service.type=LoadBalancer \
stable/verdaccio
verdaccio/verdaccio
```

The above command sets the service type LoadBalancer.
Expand All @@ -95,7 +96,7 @@ Alternatively, a YAML file that specifies the values for the above parameters
can be provided while installing the chart. For example,

```
$ helm install --name my-release -f values.yaml stable/verdaccio
$ helm install --name my-release -f values.yaml verdaccio/verdaccio
```

> **Tip**: You can use the default [values.yaml](values.yaml)
Expand Down Expand Up @@ -128,5 +129,5 @@ It is possible to mount several volumes using `Persistence.volumes` and
```bash
$ helm install --name my-release \
--set persistence.existingClaim=PVC_NAME \
stable/verdaccio
verdaccio/verdaccio
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8495d8f

Please sign in to comment.