Add meta-comments to manifests to allow basic templating via `sed`. Add the following types of meta-comments: - # namespace:X - A basic namespace - replace the field with a namespace for X - # serviceaccount:namespace:X - A service account namespace for SCC - e.g., "system:serviceaccount:<ns>:rook-ceph-system" - Replace the namespace "<ns>" with with a namespace for X - # provisioner:namespace:X - A provisioner identifier with namespace prefix - e.g., "<ns>.cephfs.csi.ceph.com" - e.g., "<ns>.ceph.rook.io/bucket" - Replace the namespace "<ns>" with a namespace for X Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
23 lines
814 B
YAML
23 lines
814 B
YAML
#################################################################################################################
|
|
# Create an object store with settings for replication in a production environment. A minimum of 3 hosts with
|
|
# OSDs are required in this example.
|
|
# kubectl create -f object.yaml
|
|
#################################################################################################################
|
|
|
|
apiVersion: ceph.rook.io/v1
|
|
kind: CephObjectStore
|
|
metadata:
|
|
name: external-store
|
|
namespace: rook-ceph # namespace:cluster
|
|
spec:
|
|
gateway:
|
|
# The port on which **ALL** the gateway(s) are listening on.
|
|
# Passing a single IP from a load-balancer is also valid.
|
|
port: 80
|
|
externalRgwEndpoints:
|
|
- ip: 192.168.39.182
|
|
healthCheck:
|
|
bucket:
|
|
disabled: false
|
|
interval: 60s
|