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

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

CEPH : adding secret and second storage class

parent b8a73a87
No related branches found
No related tags found
1 merge request!1Restore main as the default branch
......@@ -24,7 +24,7 @@ spec:
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: csi-cephfs-sc
name: csi-cephfs-sc-retain
provisioner: cephfs.csi.ceph.com
parameters:
clusterID: "{{ item.value.clusterId }}"
......@@ -33,6 +33,20 @@ 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: cephfs
mounter: kernel
reclaimPolicy: Delete
allowVolumeExpansion: true
---
apiVersion: v1
kind: ConfigMap
......@@ -44,13 +58,7 @@ data:
[
{
"clusterID": "{{ item.value.clusterId }}",
"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"
]
"monitors": "{{ item.value.clusterMonitors }}"
}
]
......@@ -66,4 +74,14 @@ data:
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
keyring: |
---
apiVersion: v1
kind: Secret
metadata:
name: csi-cephfs-secret
namespace: ceph-csi-cephfs
stringData:
adminID: {{ item.value.cephAdminUser }}
adminKey: {{ item.value.cephAdminKey }}
\ 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