
The gitea service needs an HA shared filesystem, which is provided by cephfs and managed by rook.io. It also needs a database service, which is provided by percona-xtradb-cluster. Change-Id: Ie019c2e24c3780cec2468a00987dba4ac34ed570
15 lines
522 B
YAML
15 lines
522 B
YAML
- hosts: localhost
|
|
tasks:
|
|
|
|
# Using kubectl rather than k8s module because the
|
|
# k8s module only allows single document files and
|
|
# the majority of these files are pretty straight
|
|
# copies from upstream rook, so reorganizing them
|
|
# into single document files is lame.
|
|
- name: Set up cinder storage class
|
|
command: |
|
|
kubectl apply -f rook-operator.yaml
|
|
kubectl apply -f rook-cluster.yaml
|
|
kubectl apply -f rook-toolbox.yaml
|
|
kubectl apply -f rook-filesystem.yaml
|