Skip to content

Commit

Permalink
[ceph] fix yet another issue with tenplate and nil
Browse files Browse the repository at this point in the history
  • Loading branch information
kayrus committed Oct 23, 2024
1 parent 405fb90 commit 6800bde
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion system/cc-ceph/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: cc-ceph
description: A Helm chart for the Rook / Ceph Objects inside the Storage Clusters
type: application
version: 1.0.91
version: 1.0.92
appVersion: "1.15.0"
dependencies:
- name: owner-info
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.rgwTargetPlacements.enabled }}
{{- range $target := .Values.rgwTargetPlacements.placements }}
{{- if $.Values.rgwTargetPlacements.nvme.enabled }}
{{- if and $.Values.rgwTargetPlacements.nvme $.Values.rgwTargetPlacements.nvme.enabled }}
---
apiVersion: ceph.rook.io/v1
kind: CephBlockPool
Expand Down
9 changes: 8 additions & 1 deletion system/cc-ceph/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,14 @@ objectstore:
interval: "10"

rgwTargetPlacements:
enabled: false
enabled: true
nvme:
enabled: true
placements:
- name: region-3
size: 3
failureDomain: zone
crushRoot: default

defaultRgwPools:
enabled: false # create default rgw pools, see: https://github.com/sapcc/helm-charts/issues/6670
Expand Down

0 comments on commit 6800bde

Please sign in to comment.