Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.1
version: 0.3.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# openshift-data-foundations

![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-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)
![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)

A Helm chart to install ODF on Openshift

Expand Down Expand Up @@ -70,6 +70,7 @@ default failure domain for objectStorage.
| odf.osd.pvc.storageClassName | string | `""` | Storage class for ODF OSD volumes. Empty selects a platform default from global.clusterPlatform (AWS: gp3-csi, Azure: managed-csi, GCP: standard-csi). |
| odf.osd.requests.cpu | int | `2` | |
| odf.osd.requests.memory | string | `"5Gi"` | |
| odf.preparePlacement | object | `{}` | Optional preparePlacement for OSD device sets. When set, overrides the default empty preparePlacement on the StorageCluster storageDeviceSets, allowing topology spread constraints or affinity rules to control OSD prepare pod scheduling. |
| odf.serviceUrl | string | `"http://rook-ceph-rgw-ocs-storagecluster-cephobjectstore.openshift-storage.svc.cluster.local"` | |
| odf.storageClass.name | string | `"ocs-storagecluster-ceph-rgw"` | |
| odf.storageClass.objectStoreName | string | `"ocs-storagecluster-cephobjectstore"` | |
Expand Down
5 changes: 4 additions & 1 deletion templates/odf-storagecluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ spec:
cpu: {{ .Values.odf.osd.requests.cpu | squote }}
memory: {{ .Values.odf.osd.requests.memory }}
placement: {}
preparePlacement: {}
preparePlacement:
{{- if .Values.odf.preparePlacement }}
{{ .Values.odf.preparePlacement | toYaml | indent 6 }}
{{- end }}
dataPVCTemplate:
metadata: {}
spec:
Expand Down
4 changes: 4 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ odf:
storage: 2Ti
# -- Storage class for ODF OSD volumes. Empty selects a platform default from global.clusterPlatform (AWS: gp3-csi, Azure: managed-csi, GCP: standard-csi).
storageClassName: ""
# -- Optional preparePlacement for OSD device sets. When set, overrides the default empty
# preparePlacement on the StorageCluster storageDeviceSets, allowing topology spread
# constraints or affinity rules to control OSD prepare pod scheduling.
preparePlacement: {}
storageClass:
name: ocs-storagecluster-ceph-rgw
# name: openshift-storage.noobaa.io
Expand Down