This repository was archived by the owner on Aug 23, 2026. It is now read-only.
Repository navigation
Change Rook-Ceph Template from Kustomize to Helm Chart #50
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| apiVersion: source.toolkit.fluxcd.io/v1 | ||
| kind: HelmRepository | ||
| metadata: | ||
| name: rook-ceph | ||
| namespace: otterscale-system | ||
| spec: | ||
| interval: 24h | ||
| url: https://charts.rook.io/release |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| # ModuleTemplate — Rook-Ceph Cluster v__ROOK_CEPH_VERSION__ (Phase 2: CephCluster) | ||
| # | ||
| # Deploys CephCluster resources. Requires rook-ceph operator to be installed first. | ||
| # | ||
| # Apply order: rook-ceph → rook-ceph-cluster | ||
| apiVersion: module.otterscale.io/v1alpha1 | ||
| kind: ModuleTemplate | ||
| metadata: | ||
| name: rook-ceph-cluster | ||
| spec: | ||
| namespace: rook-ceph | ||
|
|
||
| description: >- | ||
| Rook-Ceph Cluster v__ROOK_CEPH_VERSION__ — CephCluster resources. Requires rook-ceph operator. | ||
|
|
||
| helmRelease: | ||
| interval: 30m | ||
|
|
||
| dependsOn: | ||
| - name: rook-ceph | ||
| namespace: rook-ceph | ||
|
|
||
| chart: | ||
| spec: | ||
| chart: rook-ceph-cluster | ||
| version: "__ROOK_CEPH_VERSION__" | ||
| sourceRef: | ||
| kind: HelmRepository | ||
| name: rook-ceph | ||
| namespace: otterscale-system | ||
| interval: 24h | ||
|
|
||
| install: | ||
| remediation: | ||
| retries: 3 | ||
|
|
||
| upgrade: | ||
| remediation: | ||
| retries: 3 | ||
| force: false | ||
|
|
||
| timeout: 30m | ||
|
|
||
| values: | ||
| operatorNamespace: rook-ceph | ||
|
|
||
| cephClusterSpec: | ||
| mon: | ||
| count: 1 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A count: 3 |
||
| allowMultiplePerNode: true | ||
| mgr: | ||
| count: 1 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| allowMultiplePerNode: true | ||
| network: | ||
| provider: host | ||
|
|
||
| cephObjectStores: | ||
| - name: ceph-objectstore | ||
| spec: | ||
| metadataPool: | ||
| failureDomain: host | ||
| replicated: | ||
| size: 3 | ||
| dataPool: | ||
| failureDomain: host | ||
| erasureCoded: | ||
| dataChunks: 2 | ||
| codingChunks: 1 | ||
| gateway: | ||
| port: 8080 | ||
| instances: 1 | ||
| priorityClassName: system-cluster-critical | ||
| storageClass: | ||
| enabled: true | ||
| name: ceph-bucket | ||
| reclaimPolicy: Delete | ||
| volumeBindingMode: Immediate | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| apiVersion: module.otterscale.io/v1alpha1 | ||
| kind: Module | ||
| metadata: | ||
| name: rook-ceph-cluster | ||
| spec: | ||
| templateRef: rook-ceph-cluster |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
helmRelease.dependsOnis hard-coded toname: rook-cephinnamespace: rook-ceph. Because the controller names HelmReleases after the Module (not the ModuleTemplate) and allowsModule.spec.namespaceoverrides, this dependency will silently break if a user installs the operator Module under a different name and/or overrides its namespace. Consider (a) omittingdependsOn[].namespaceso the dependency follows the HelmRelease namespace, and (b) documenting that the operator Module must be namedrook-ceph(or otherwise make the naming/namespace coupling explicit).