*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit ee3888fe authored by entlein's avatar entlein
Browse files

CSI CEPH: adding the helm chart, for now relatively hardcoded

parent 35cef8d5
No related branches found
No related tags found
1 merge request!1Restore main as the default branch
---
kind: Namespace
apiVersion: v1
metadata:
name: ceph-csi-rbd
---
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: ceph-csi
namespace: kube-system
spec:
repo: {{ item.value.repo | default("https://ceph.github.io/csi-charts") }}
chart: ceph-csi-rdb
version: {{ item.value.version | default("3-canary") }}
targetNamespace: ceph-csi-rbd
---
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: csi-rbd-sc
provisioner: cephfs.csi.ceph.com
parameters:
clusterID: 356ebb9a-acc2-11ea-a9d6-b8599fef7b50
fsName: cephfs
mounter: kernel
reclaimPolicy: Retain
allowVolumeExpansion: true
---
apiVersion: v1
kind: ConfigMap
metadata:
name: ceph-csi-config
namespace: ceph-csi-rbd
data:
config.json: |-
[
{
"clusterID": "356ebb9a-acc2-11ea-a9d6-b8599fef7b50",
"monitors": [
"10.0.2.1:6789",
"10.0.2.2:6789",
"10.0.2.3:6789",
"10.0.2.4:6789",
"10.0.2.5:6789"
]
}
]
---
apiVersion: v1
kind: ConfigMap
metadata:
name: ceph-config
namespace: ceph-csi-rbd
data:
ceph.conf: |-
[global]
auth_cluster_required = {{ item.value.authCluster }}
auth_service_required = {{ item.value.authService }}
auth_client_required = {{ item.value.authClient }}
keyring: |
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment