From 145ed3d7bf8972e9187cc2ccfd0d5482254bd219 Mon Sep 17 00:00:00 2001 From: Andrey Tatarinov Date: Mon, 8 Jul 2024 23:32:31 +0400 Subject: [PATCH] simple-worker: 0.1.5 --- charts/simple-worker/CHANGELOG.md | 4 ++++ charts/simple-worker/Chart.yaml | 2 +- charts/simple-worker/templates/pvc.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/simple-worker/CHANGELOG.md b/charts/simple-worker/CHANGELOG.md index ea8c60f..fa7f160 100644 --- a/charts/simple-worker/CHANGELOG.md +++ b/charts/simple-worker/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.1.5 + +* Fix for PVC creation in case of volumes `secret` and `configMap` types + # 0.1.4 * Synchonize volumes configuration between simple-app and simple-worker diff --git a/charts/simple-worker/Chart.yaml b/charts/simple-worker/Chart.yaml index de690e0..d72f84e 100644 --- a/charts/simple-worker/Chart.yaml +++ b/charts/simple-worker/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: "0.1.4" +version: "0.1.5" # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/simple-worker/templates/pvc.yaml b/charts/simple-worker/templates/pvc.yaml index 9d52277..f2c74f9 100644 --- a/charts/simple-worker/templates/pvc.yaml +++ b/charts/simple-worker/templates/pvc.yaml @@ -2,7 +2,7 @@ {{- $labels := include "simple-app.labels" . | nindent 4 -}} {{ range .Values.volumes }} -{{- if not .emptyDir }} +{{- if and (not .emptyDir) (and (not .secret) (not .configMap)) }} apiVersion: v1 kind: PersistentVolumeClaim metadata: