From 23f1ff7ee5a95f8dae47b29fba93d0d93b2fc7e0 Mon Sep 17 00:00:00 2001 From: Mulder Date: Wed, 13 Mar 2024 12:21:56 -0700 Subject: [PATCH] couple more fixes --- infrastructure/_tasks/templates/tasks-deployment.yaml | 2 +- infrastructure/_tasks/values.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/infrastructure/_tasks/templates/tasks-deployment.yaml b/infrastructure/_tasks/templates/tasks-deployment.yaml index bcbc8fe0b..1fa395223 100644 --- a/infrastructure/_tasks/templates/tasks-deployment.yaml +++ b/infrastructure/_tasks/templates/tasks-deployment.yaml @@ -21,7 +21,7 @@ spec: volumes: - name: django-app-images-volume persistentVolumeClaim: - claimName: {{ include "app.fullname" . }}-app-images + claimName: {{ .Values.deployment.volumes.claimName }} containers: - resources: limits: diff --git a/infrastructure/_tasks/values.yaml b/infrastructure/_tasks/values.yaml index 3282c6d18..d121bc417 100644 --- a/infrastructure/_tasks/values.yaml +++ b/infrastructure/_tasks/values.yaml @@ -19,4 +19,5 @@ deployment: postgresSecret: drivebc-pguser-drivebc djangoConfigMap: drivebc-django djangoSecret: drivebc-django - + volumes: + claimName: django-app-images