From 7284ea9d86a234bf3c5de72a54da72cb5acdcd2d Mon Sep 17 00:00:00 2001 From: Lukasz Gryglicki Date: Tue, 11 Jun 2019 10:06:09 +0000 Subject: [PATCH] Fix typos Signed-off-by: Lukasz Gryglicki --- .../templates/devstats-static-pages.yaml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/devstats-helm/templates/devstats-static-pages.yaml b/devstats-helm/templates/devstats-static-pages.yaml index 20242c8..c68ab13 100644 --- a/devstats-helm/templates/devstats-static-pages.yaml +++ b/devstats-helm/templates/devstats-static-pages.yaml @@ -20,11 +20,18 @@ spec: type: static proj: default spec: + volumes: + - name: '{{ .Values.volumeName }}-backups' + persistentVolumeClaim: + claimName: '{{ .Values.backupsPVName }}' containers: - env: image: {{ .Values.staticImage }} imagePullPolicy: {{ .Values.imagePullPolicy }} name: devstats-static-default + volumeMounts: + - name: '{{ .Values.volumeMountName }}-backups' + mountPath: '{{ .Values.backupsVolumeMountPath }}' ports: - containerPort: 80 livenessProbe: @@ -91,18 +98,18 @@ spec: type: static proj: '{{ .shortname }}' spec: - containers: volumes: - - name: '{{ .Values.volumeName }}-backups' + - name: '{{ $root.Values.volumeName }}-backups' persistentVolumeClaim: - claimName: '{{ .Values.backupsPVName }}' + claimName: '{{ $root.Values.backupsPVName }}' + containers: - env: image: '{{ .image }}' imagePullPolicy: {{ $root.Values.imagePullPolicy }} name: 'devstats-static-{{ .shortname }}' volumeMounts: - - name: '{{ .Values.volumeMountName }}-backups' - mountPath: '{{ .Values.backupsVolumeMountPath }}' + - name: '{{ $root.Values.volumeMountName }}-backups' + mountPath: '{{ $root.Values.backupsVolumeMountPath }}' ports: - containerPort: 80 livenessProbe: