3 Commits
0.1.0 ... 0.1.3

Author SHA1 Message Date
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
045b67cbc2 fix(deployment): remove typo
All checks were successful
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (push) Successful in 16s
Release / publish-chart (push) Successful in 22s
2025-07-23 19:49:24 +02:00
5dbd2902e8 docs(README): adapt badge
All checks were successful
Helm / helm-lint (push) Successful in 12s
Helm / helm-unittest (push) Successful in 15s
Generate README / generate-parameters (push) Successful in 29s
Markdown linter / markdown-lint (push) Successful in 27s
Markdown linter / markdown-link-checker (push) Successful in 28s
Release / publish-chart (push) Successful in 19s
2025-07-23 18:35:10 +02:00
3 changed files with 27 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Reposilite
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/reposilite)](https://artifacthub.io/packages/search?repo=reposilite)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/volker-raschek)](https://artifacthub.io/packages/search?repo=volker-raschek)
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.

View File

@ -20,8 +20,6 @@
{{ toYaml (dict "env" $env) }}
{{- end -}}
REPOSILITE_DATA
{{/* image */}}
{{- define "reposilite.deployment.images.reposilite.fqin" -}}
@ -68,6 +66,9 @@ REPOSILITE_DATA
{{- 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