forked from rook/rook
refactor integration tests splitting out the kubernetes cluster setup to just be in a script and making it the reponsibility of the host/user/jenkins. integration tests now run just like unit tests using "go test".
22 lines
522 B
Cheetah
22 lines
522 B
Cheetah
apiVersion: rook.io/v1alpha1
|
|
kind: Pool
|
|
metadata:
|
|
name: {{.poolName}}
|
|
namespace: rook
|
|
spec:
|
|
replication:
|
|
size: 1
|
|
# For an erasure-coded pool, comment out the replication count above and uncomment the following settings.
|
|
# Make sure you have enough OSDs to support the replica count or erasure code chunks.
|
|
#erasureCode:
|
|
# codingChunks: 2
|
|
# dataChunks: 2
|
|
---
|
|
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: rook-block
|
|
provisioner: rook.io/block
|
|
parameters:
|
|
pool: {{.poolName}}
|