10 Commits

Author SHA1 Message Date
0d7ac396a2 docs(README): add note about the official helm chart
All checks were successful
Helm / helm-lint (push) Successful in 13s
Generate README / generate-parameters (push) Successful in 29s
Helm / helm-unittest (push) Successful in 15s
Markdown linter / markdown-lint (push) Successful in 18s
Markdown linter / markdown-link-checker (push) Successful in 33s
2025-07-23 21:45:02 +02:00
2cc97c0ce7 fix(values): add missing topologySpreadConstraint.maxSkew
All checks were successful
Helm / helm-lint (push) Successful in 16s
Helm / helm-unittest (push) Successful in 16s
Generate README / generate-parameters (push) Successful in 37s
2025-07-23 21:10:12 +02:00
09cb41bb18 Merge pull request 'chore(deps): update docker.io/library/node docker tag to v24.4.1' (#3) from renovate/container-images into master
All checks were successful
Helm / helm-lint (push) Successful in 17s
Helm / helm-unittest (push) Successful in 17s
2025-07-23 19:04:26 +00:00
ad63a7eae8 Merge pull request 'chore(deps): update actions' (#2) from renovate/actions into master
Some checks failed
Helm / helm-lint (push) Has been cancelled
Helm / helm-unittest (push) Has been cancelled
2025-07-23 19:03:50 +00:00
29bd192d7a Merge pull request 'chore(deps): update dependency volker.raschek/reposilite-charts to v0.1.3' (#1) from renovate/volker.raschek-reposilite-charts-0.x into master
Some checks failed
Helm / helm-lint (push) Has been cancelled
Helm / helm-unittest (push) Has been cancelled
Generate README / generate-parameters (push) Successful in 29s
Markdown linter / markdown-link-checker (push) Successful in 28s
Markdown linter / markdown-lint (push) Successful in 27s
2025-07-23 19:02:46 +00:00
6943237ee3 chore(deps): update docker.io/library/node docker tag to v24.4.1
All checks were successful
Helm / helm-lint (push) Successful in 14s
Helm / helm-lint (pull_request) Successful in 14s
Helm / helm-unittest (push) Successful in 16s
Helm / helm-unittest (pull_request) Successful in 16s
2025-07-23 19:01:27 +00:00
a85483cbe2 chore(deps): update actions
All checks were successful
Helm / helm-lint (push) Successful in 17s
Helm / helm-unittest (push) Successful in 17s
Helm / helm-lint (pull_request) Successful in 17s
Helm / helm-unittest (pull_request) Successful in 17s
2025-07-23 19:01:10 +00:00
3aa8b8746e chore(deps): update dependency volker.raschek/reposilite-charts to v0.1.3
All checks were successful
Helm / helm-lint (push) Successful in 17s
Generate README / generate-parameters (push) Successful in 23s
Helm / helm-unittest (push) Successful in 17s
Markdown linter / markdown-link-checker (push) Successful in 27s
Markdown linter / markdown-lint (push) Successful in 29s
Helm / helm-lint (pull_request) Successful in 16s
Generate README / generate-parameters (pull_request) Successful in 35s
Helm / helm-unittest (pull_request) Successful in 16s
Markdown linter / markdown-link-checker (pull_request) Successful in 26s
Markdown linter / markdown-lint (pull_request) Successful in 27s
2025-07-23 19:00:50 +00:00
caa0488db7 fix(values): adapt documentation
All checks were successful
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (push) Successful in 13s
Generate README / generate-parameters (push) Successful in 29s
Markdown linter / markdown-link-checker (push) Successful in 28s
Markdown linter / markdown-lint (push) Successful in 27s
2025-07-23 20:51:14 +02:00
26d6d51418 fix(deployment): add missing data volume
All checks were successful
Helm / helm-unittest (push) Successful in 13s
Helm / helm-lint (push) Successful in 15s
Release / publish-chart (push) Successful in 18s
2025-07-23 20:41:41 +02:00
9 changed files with 45 additions and 14 deletions

View File

@ -15,7 +15,7 @@ on:
jobs:
generate-parameters:
container:
image: docker.io/library/node:24.1.0-alpine
image: docker.io/library/node:24.4.1-alpine
runs-on:
- ubuntu-latest
steps:

View File

@ -13,7 +13,7 @@ on:
jobs:
helm-lint:
container:
image: docker.io/volkerraschek/helm:3.18.2
image: docker.io/volkerraschek/helm:3.18.4
runs-on:
- ubuntu-latest
steps:
@ -28,7 +28,7 @@ jobs:
helm-unittest:
container:
image: docker.io/volkerraschek/helm:3.18.2
image: docker.io/volkerraschek/helm:3.18.4
runs-on:
- ubuntu-latest
steps:

View File

@ -15,7 +15,7 @@ on:
jobs:
markdown-link-checker:
container:
image: docker.io/library/node:24.1.0-alpine
image: docker.io/library/node:24.4.1-alpine
runs-on:
- ubuntu-latest
steps:
@ -31,7 +31,7 @@ jobs:
markdown-lint:
container:
image: docker.io/library/node:24.1.0-alpine
image: docker.io/library/node:24.4.1-alpine
runs-on:
- ubuntu-latest
steps:

View File

@ -8,7 +8,7 @@ on:
jobs:
publish-chart:
container:
image: docker.io/volkerraschek/helm:3.18.2
image: docker.io/volkerraschek/helm:3.18.4
runs-on: ubuntu-latest
steps:
- name: Install packages via apk

View File

@ -10,7 +10,7 @@ HELM_IMAGE_FULLY_QUALIFIED=${HELM_IMAGE_REGISTRY_HOST}/${HELM_IMAGE_REPOSITORY}:
# NODE_IMAGE
NODE_IMAGE_REGISTRY_HOST?=docker.io
NODE_IMAGE_REPOSITORY?=library/node
NODE_IMAGE_VERSION?=24.1.0-alpine # renovate: datasource=docker registryUrl=https://docker.io depName=docker.io/library/node packageName=library/node
NODE_IMAGE_VERSION?=24.4.1-alpine # renovate: datasource=docker registryUrl=https://docker.io depName=docker.io/library/node packageName=library/node
NODE_IMAGE_FULLY_QUALIFIED=${NODE_IMAGE_REGISTRY_HOST}/${NODE_IMAGE_REPOSITORY}:${NODE_IMAGE_VERSION}
# MISSING DOT

View File

@ -2,6 +2,10 @@
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/volker-raschek)](https://artifacthub.io/packages/search?repo=volker-raschek)
> [!NOTE]
> This is not the official helm chart of Reposilite. If you are looking for the official helm chart, checkout the GitHub
> project [reposilite-playground](https://github.com/reposilite-playground/reposilite-helm).
This helm chart enables the deployment of [Reposilite](https://github.com/dzikoysk/reposilite), a lightweight and
easy-to-use repository management software dedicated for the Maven-based artifacts in the JVM ecosystem.
@ -33,7 +37,7 @@ version of the chart must be in sync with the `values.yaml`. Newer *minor* versi
versions can break something!
```bash
CHART_VERSION=0.1.0
CHART_VERSION=0.1.3
helm show values volker.raschek/reposilite --version "${CHART_VERSION}" > values.yaml
```
@ -47,7 +51,7 @@ The helm chart also contains a persistent volume claim definition. It persistent
Use the `--set` argument to persist your data.
```bash
CHART_VERSION=0.1.0
CHART_VERSION=0.1.3
helm install --version "${CHART_VERSION}" reposilite volker.raschek/reposilite \
persistentVolumeClaim.enabled=true
```
@ -68,7 +72,7 @@ connection problems.
> error.
```bash
CHART_VERSION=0.1.0
CHART_VERSION=0.1.3
helm install --version "${CHART_VERSION}" reposilite volker.raschek/reposilite \
--set 'deployment.reposilite.env[1].name=REPOSILITE_LOCAL_SSLENABLED' \
--set 'deployment.reposilite.env[1].value="true"' \
@ -211,7 +215,7 @@ networkPolicies:
| `deployment.terminationGracePeriodSeconds` | How long to wait until forcefully kill the pod. | `60` |
| `deployment.tolerations` | Tolerations of the Reposilite deployment. | `[]` |
| `deployment.topologySpreadConstraints` | TopologySpreadConstraints of the Reposilite deployment. | `[]` |
| `deployment.volumes` | Additional volumes to mount into the pods of the prometheus-exporter deployment. | `[]` |
| `deployment.volumes` | Additional volumes to mount into the pods of the reposilite deployment. | `[]` |
### Horizontal Pod Autoscaler (HPA)

View File

@ -66,6 +66,9 @@
{{- if and .Values.persistentVolumeClaim.enabled (not .Values.persistentVolumeClaim.existing.enabled) }}
{{- $persistentVolumeClaimName := include "reposilite.persistentVolumeClaim.name" $ -}}
{{- $volumes = concat $volumes (list (dict "name" "data" "persistentVolumeClaim" (dict "claimName" $persistentVolumeClaimName))) }}
{{- else if and .Values.persistentVolumeClaim.enabled .Values.persistentVolumeClaim.existing.enabled .Values.persistentVolumeClaim.existing.persistentVolumeClaimName -}}
{{- $persistentVolumeClaimName := .Values.persistentVolumeClaim.existing.persistentVolumeClaimName -}}
{{- $volumes = concat $volumes (list (dict "name" "data" "persistentVolumeClaim" (dict "claimName" $persistentVolumeClaimName))) }}
{{- end }}
{{ toYaml (dict "volumes" $volumes) }}

View File

@ -50,3 +50,26 @@ tests:
name: data
persistentVolumeClaim:
claimName: reposilite-unittest
- it: Rendering custom volumes and volumeMounts with persistent volume claim
set:
persistentVolumeClaim.enabled: true
persistentVolumeClaim.existing.enabled: true
persistentVolumeClaim.existing.persistentVolumeClaimName: my-custom-pvc
asserts:
- contains:
path: spec.template.spec.containers[0].env
content:
name: REPOSILITE_DATA
value: /app/data
- contains:
path: spec.template.spec.containers[0].volumeMounts
content:
name: data
mountPath: /app/data
- contains:
path: spec.template.spec.volumes
content:
name: data
persistentVolumeClaim:
claimName: my-custom-pvc

View File

@ -183,13 +183,14 @@ deployment:
## @param deployment.topologySpreadConstraints TopologySpreadConstraints of the Reposilite deployment.
topologySpreadConstraints: []
# - topologyKey: kubernetes.io/hostname
# - maxSkew: 1
# topologyKey: kubernetes.io/hostname
# whenUnsatisfiable: DoNotSchedule
# labelSelector:
# matchLabels:
# app.kubernetes.io/instance: prometheus-reposilite
# app.kubernetes.io/instance: reposilite
## @param deployment.volumes Additional volumes to mount into the pods of the prometheus-exporter deployment.
## @param deployment.volumes Additional volumes to mount into the pods of the reposilite deployment.
volumes: []
# - name: my-configmap-volume
# config: