Skip to content

Commit 8495d8f

Browse files
authored
Merge pull request #1 from jhonmike/release-action
First proposal with the release action
2 parents 1e15f1a + db35751 commit 8495d8f

File tree

11 files changed

+59
-33
lines changed

11 files changed

+59
-33
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release Verdaccio Charts
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- 'charts/**'
9+
10+
jobs:
11+
release:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v1
16+
17+
- name: Configure Git
18+
run: |
19+
git config user.name "$GITHUB_ACTOR"
20+
git config user.email "[email protected]"
21+
22+
- name: Run chart-releaser
23+
uses: helm/[email protected]
24+
env:
25+
CR_TOKEN: "${{ secrets.CR_TOKEN }}"

README.md

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55

66
> ⚠️ This repo is in construction [more info here](https://github.com/verdaccio/verdaccio/issues/1767).
77
8-
98
## TL;DR;
109

1110
```
12-
$ helm install stable/verdaccio
11+
$ helm repo add renovate https://verdaccop.github.io/charts/
12+
$ helm repo update
13+
$ helm install verdaccio/verdaccio
1314
```
1415

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

3031
```
31-
$ helm install --name my-release stable/verdaccio
32+
$ helm install --name my-release verdaccio/verdaccio
3233
```
3334

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

56-
| Parameter | Description | Default |
57-
| ---------------------------------- | --------------------------------------------------------------- | -------------------------------------------------------- |
58-
| `customConfigMap` | Use a custom ConfigMap | `false` |
59-
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
60-
| `image.repository` | Verdaccio container image repository | `verdaccio/verdaccio` |
61-
| `image.tag` | Verdaccio container image tag | `3.11.6` |
62-
| `nodeSelector` | Node labels for pod assignment | `{}` |
63-
| `tolerations` | List of node taints to tolerate | `[]` |
64-
| `persistence.accessMode` | PVC Access Mode for Verdaccio volume | `ReadWriteOnce` |
65-
| `persistence.enabled` | Enable persistence using PVC | `true` |
66-
| `persistence.existingClaim` | Use existing PVC | `nil` |
67-
| `persistence.mounts` | Additional mounts | `nil` |
68-
| `persistence.size` | PVC Storage Request for Verdaccio volume | `8Gi` |
69-
| `persistence.storageClass` | PVC Storage Class for Verdaccio volume | `nil` |
70-
| `persistence.volumes` | Additional volumes | `nil` |
71-
| `podAnnotations` | Annotations to add to each pod | `{}` |
72-
| `replicaCount` | Desired number of pods | `1` |
73-
| `resources` | CPU/Memory resource requests/limits | `{}` |
74-
| `resources` | pod resource requests & limits | `{}` |
75-
| `service.annotations` | Annotations to add to service | none |
76-
| `service.clusterIP` | IP address to assign to service | `""` |
77-
| `service.externalIPs` | Service external IP addresses | `[]` |
78-
| `service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `""` |
79-
| `service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | `[]` |
80-
| `service.port` | Service port to expose | `4873` |
81-
| `service.nodePort` | Service port to expose | none |
82-
| `service.type` | Type of service to create | `ClusterIP` |
57+
| Parameter | Description | Default |
58+
| ---------------------------------- | --------------------------------------------------------------- | --------------------- |
59+
| `customConfigMap` | Use a custom ConfigMap | `false` |
60+
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
61+
| `image.repository` | Verdaccio container image repository | `verdaccio/verdaccio` |
62+
| `image.tag` | Verdaccio container image tag | `3.11.6` |
63+
| `nodeSelector` | Node labels for pod assignment | `{}` |
64+
| `tolerations` | List of node taints to tolerate | `[]` |
65+
| `persistence.accessMode` | PVC Access Mode for Verdaccio volume | `ReadWriteOnce` |
66+
| `persistence.enabled` | Enable persistence using PVC | `true` |
67+
| `persistence.existingClaim` | Use existing PVC | `nil` |
68+
| `persistence.mounts` | Additional mounts | `nil` |
69+
| `persistence.size` | PVC Storage Request for Verdaccio volume | `8Gi` |
70+
| `persistence.storageClass` | PVC Storage Class for Verdaccio volume | `nil` |
71+
| `persistence.volumes` | Additional volumes | `nil` |
72+
| `podAnnotations` | Annotations to add to each pod | `{}` |
73+
| `replicaCount` | Desired number of pods | `1` |
74+
| `resources` | CPU/Memory resource requests/limits | `{}` |
75+
| `resources` | pod resource requests & limits | `{}` |
76+
| `service.annotations` | Annotations to add to service | none |
77+
| `service.clusterIP` | IP address to assign to service | `""` |
78+
| `service.externalIPs` | Service external IP addresses | `[]` |
79+
| `service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `""` |
80+
| `service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | `[]` |
81+
| `service.port` | Service port to expose | `4873` |
82+
| `service.nodePort` | Service port to expose | none |
83+
| `service.type` | Type of service to create | `ClusterIP` |
8384

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

8687
```
8788
$ helm install --name my-release \
8889
--set service.type=LoadBalancer \
89-
stable/verdaccio
90+
verdaccio/verdaccio
9091
```
9192

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

9798
```
98-
$ helm install --name my-release -f values.yaml stable/verdaccio
99+
$ helm install --name my-release -f values.yaml verdaccio/verdaccio
99100
```
100101

101102
> **Tip**: You can use the default [values.yaml](values.yaml)
@@ -128,5 +129,5 @@ It is possible to mount several volumes using `Persistence.volumes` and
128129
```bash
129130
$ helm install --name my-release \
130131
--set persistence.existingClaim=PVC_NAME \
131-
stable/verdaccio
132+
verdaccio/verdaccio
132133
```
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 commit comments

Comments
 (0)