Skip to content

Commit 476243a

Browse files
Merge pull request #34 from mhjacks/odf_fix
Only output preparePlacement key when needed
2 parents 7ca251a + 4b118a5 commit 476243a

4 files changed

Lines changed: 11 additions & 3 deletions

File tree

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ 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.3.2
18+
version: 0.3.3
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

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# openshift-data-foundations
22

3-
![Version: 0.3.2](https://img.shields.io/badge/Version-0.3.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square)
3+
![Version: 0.3.3](https://img.shields.io/badge/Version-0.3.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square)
44

55
A Helm chart to install ODF on Openshift
66

77
### Notable changes
88

9+
* v0.3.3: Only emit `preparePlacement` when overridden. Otherwise the application may go out-of-sync on ArgoCD.
10+
11+
* v0.3.2: Make `preparePlacement` configurable.
12+
913
* v0.3.1: Make `objectStorage.enable`: `false` cover more resources.
1014

1115
* v0.3.0: Replace `global.datacenter.storageClassName` with `odf.osd.pvc.storageClassName`.

README.md.gotmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
### Notable changes
99

10+
* v0.3.3: Only emit `preparePlacement` when overridden. Otherwise the application may go out-of-sync on ArgoCD.
11+
12+
* v0.3.2: Make `preparePlacement` configurable.
13+
1014
* v0.3.1: Make `objectStorage.enable`: `false` cover more resources.
1115

1216
* v0.3.0: Replace `global.datacenter.storageClassName` with `odf.osd.pvc.storageClassName`.

templates/odf-storagecluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ spec:
4545
cpu: {{ .Values.odf.osd.requests.cpu | squote }}
4646
memory: {{ .Values.odf.osd.requests.memory }}
4747
placement: {}
48-
preparePlacement:
4948
{{- if .Values.odf.preparePlacement }}
49+
preparePlacement:
5050
{{ .Values.odf.preparePlacement | toYaml | indent 6 }}
5151
{{- end }}
5252
dataPVCTemplate:

0 commit comments

Comments
 (0)