Skip to content

Commit 604ce63

Browse files
authored
fix: paths formatting in deployment template (#179)
1 parent c428cef commit 604ce63

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: gpkg-merger
33
description: A Helm chart for gpkg-merger service # refers to MergerService
44
type: application
5-
version: 2.1.0
6-
appVersion: 2.1.0
5+
version: 2.1.1
6+
appVersion: 2.1.1
77
dependencies:
88
- name: mclabels
99
version: 1.0.1

helm/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
{{- $s3 := (include "common.s3.merged" .) | fromYaml }}
1111
{{- $fs := (include "common.fs.merged" .) | fromYaml }}
1212
{{- $storage := (include "common.storage.merged" .) | fromYaml }}
13-
{{ $gpkgPath := (printf "%s%s" $fs.internalPvc.mountPath $fs.ingestionSourcePvc.gpkgSubPath) }}
14-
{{ $tilePath := (printf "%s%s" $fs.internalPvc.mountPath $fs.internalPvc.tilesSubPath) }}
13+
{{ $gpkgPath := clean (printf "%s/%s" $fs.internalPvc.mountPath $fs.ingestionSourcePvc.gpkgSubPath) }}
14+
{{ $tilePath := clean (printf "%s/%s" $fs.internalPvc.mountPath $fs.internalPvc.tilesSubPath) }}
1515
{{ $sources := (ternary $tilePath (printf "%s%s" $fs.ingestionSourcePvc.mountPath $fs.ingestionSourcePvc.subPath) .Values.isExporter ) }}
1616

1717
apiVersion: apps/v1

0 commit comments

Comments
 (0)