Skip to content

Commit 35a3e04

Browse files
Merge pull request #131 from CodeForPhilly/release/2.0.4
Fix PVC breaking change for 2.0.4 release
2 parents 2231e60 + 289e546 commit 35a3e04

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

helm-chart/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.0
18+
version: 2.0.4
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
23-
appVersion: 0.1.0
23+
appVersion: 2.0.4

helm-chart/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ spec:
3131
volumes:
3232
- name: {{ .Release.Name }}-app-images
3333
persistentVolumeClaim:
34-
claimName: {{ .Values.existingPVCs.appImages | default (printf "%s-app-images" .Release.Name) }}
34+
claimName: {{ printf "%s-app-images" .Release.Name }}
3535
- name: {{ .Release.Name }}-mongo-data
3636
persistentVolumeClaim:
37-
claimName: {{ .Values.existingPVCs.mongoData | default (printf "%s-mongo-data" .Release.Name) }}
37+
claimName: {{ printf "%s-mongo-data" .Release.Name }}
3838
securityContext:
3939
{{- toYaml .Values.podSecurityContext | nindent 8 }}
4040
containers:

helm-chart/templates/pvc.app-images.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- if not .Values.existingPVCs.appImages }}
21
apiVersion: v1
32
kind: PersistentVolumeClaim
43
metadata:
@@ -11,4 +10,3 @@ spec:
1110
resources:
1211
requests:
1312
storage: {{ .Values.storage.app }}
14-
{{- end }}

helm-chart/templates/pvc.mongo-data.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- if not .Values.existingPVCs.mongoData }}
21
apiVersion: v1
32
kind: PersistentVolumeClaim
43
metadata:
@@ -11,4 +10,3 @@ spec:
1110
resources:
1211
requests:
1312
storage: {{ .Values.storage.db }}
14-
{{- end }}

helm-chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ app:
99
repository: ghcr.io/codeforphilly/pa-wildflower-selector/app
1010
pullPolicy: Always
1111
# Overrides the image tag whose default is the chart appVersion.
12-
tag: "2.0.3"
12+
tag: "2.0.4"
1313
env:
1414
- name: NODE_OPTIONS
1515
value: "--openssl-legacy-provider --max-old-space-size=768"

0 commit comments

Comments
 (0)