Skip to content

Commit

Permalink
added dev config for object store
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Milchev committed Nov 1, 2021
1 parent 04147a6 commit 73d0e28
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
19 changes: 19 additions & 0 deletions rook-ceph/dev/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: cdn-dev
namespace: rook-ceph
spec:
rules:
- host: cdn-dev.podkrepi.bg
http:
paths:
- backend:
service:
name: rook-ceph-rgw-object-store-dev
port:
number: 80
pathType: ImplementationSpecific
tls:
- hosts:
- cdn-dev.podkrepi.bg
33 changes: 33 additions & 0 deletions rook-ceph/dev/object-store.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: ceph.rook.io/v1
kind: CephObjectStore
metadata:
name: object-store-dev
namespace: rook-ceph
spec:
metadataPool:
failureDomain: host
replicated:
size: 2
dataPool:
failureDomain: host
replicated:
size: 2
preservePoolsOnDelete: true
gateway:
sslCertificateRef:
port: 80
# securePort: 443
instances: 2
healthCheck:
bucket:
disabled: false
interval: 60s
---
apiVersion: ceph.rook.io/v1
kind: CephObjectStoreUser
metadata:
name: object-store-dev-admin
namespace: rook-ceph
spec:
store: object-store-dev
displayName: "Object-store-dev admin"

0 comments on commit 73d0e28

Please sign in to comment.