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

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

CEPH: writing ceph as single helm chart not manifest mess

parent ffe4b70c
No related branches found
No related tags found
1 merge request!1Restore main as the default branch
......@@ -17,7 +17,29 @@ spec:
chart: ceph-csi-cephfs
version: {{ item.value.version | default("3-canary") }}
targetNamespace: ceph-csi-cephfs
set:
csiConfig:
- clusterID: "{{ item.value.clusterId }}"
monitors:
{% for mon in item.value.cephMonitors %}
- {{ mon }}
{% endfor %}
storageClass:
name: csi-cephfs-sc-delete
create: true
clusterID: "{{ item.value.clusterId }}"
fsName: adls
mounter: kernel
provisionerSecretNamespace: ceph-csi-cephfs
controllerExpandSecretNamespace: ceph-csi-cephfs
nodeStageSecretNamespace: ceph-csi-cephfs
reclaimPolicy: Delete
allowVolumeExpansion: true
secret:
create: true
adminID: {{ item.value.cephAdminUser }}
adminKey: {{ item.value.cephAdminKey }}
---
......@@ -39,31 +61,13 @@ parameters:
reclaimPolicy: Retain
allowVolumeExpansion: true
---
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: csi-cephfs-sc-delete
provisioner: cephfs.csi.ceph.com
parameters:
clusterID: "{{ item.value.clusterId }}"
fsName: adls
mounter: kernel
csi.storage.k8s.io/provisioner-secret-name: csi-cephfs-secret
csi.storage.k8s.io/provisioner-secret-namespace: ceph-csi-cephfs
csi.storage.k8s.io/controller-expand-secret-name: csi-cephfs-secret
csi.storage.k8s.io/controller-expand-secret-namespace: ceph-csi-cephfs
csi.storage.k8s.io/node-stage-secret-name: csi-cephfs-secret
csi.storage.k8s.io/node-stage-secret-namespace: ceph-csi-cephfs
reclaimPolicy: Delete
allowVolumeExpansion: true
---
apiVersion: v1
kind: ConfigMap
metadata:
name: ceph-csi-config
name: ceph-csi-config-2
namespace: ceph-csi-cephfs
data:
config.json: |-
......@@ -80,29 +84,4 @@ data:
}
]
---
apiVersion: v1
kind: ConfigMap
metadata:
name: ceph-config
namespace: ceph-csi-cephfs
data:
ceph.conf: |-
[global]
auth_cluster_required = {{ item.value.authCluster }}
auth_service_required = {{ item.value.authService }}
auth_client_required = {{ item.value.authClient }}
keyring: |
---
apiVersion: v1
kind: Secret
metadata:
name: csi-cephfs-secret
namespace: ceph-csi-cephfs
stringData:
adminID: {{ item.value.cephAdminUser }}
adminKey: {{ item.value.cephAdminKey }}
userID: {{ item.value.cephUser }}
userKey: {{ item.value.cephUserKey }}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment