infra/clusters/aprs/ceph-csi/ceph-config.yaml

42 lines
No EOL
877 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: ceph-config
namespace: ceph-csi
data:
ceph.conf: |
[global]
fsid = 6e5e8932-3613-471d-afa0-410fade4d4ff
mon_initial_members = lab02,lab03,lab04
mon_host = 10.0.16.231,10.0.16.232,10.0.16.233
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
---
apiVersion: v1
kind: Secret
metadata:
name: ceph-secret
namespace: ceph-csi
type: kubernetes.io/rbd
stringData:
userID: kubernetes
userKey: AQAq14Jo/g4ZORAAwxpPOmqj1PYgmih6s6b4vA==
---
apiVersion: v1
kind: ConfigMap
metadata:
name: ceph-csi-config
namespace: ceph-csi
data:
config.json: |
[
{
"clusterID": "6e5e8932-3613-471d-afa0-410fade4d4ff",
"monitors": [
"10.0.16.231:6789",
"10.0.16.232:6789",
"10.0.16.233:6789"
]
}
]