Gnocchi using Ceph

apiVersion: yaook.cloud/v1
kind: GnocchiDeployment
metadata:
  name: gnocchi
spec:
  keystoneRef:
    name: keystone
  database:
    replicas: 1
    proxy:
      replicas: 1
    backup:
      schedule: "0 * * * *"
  api:
    replicas: 1
    ingress:
      fqdn: "gnocchi.yaook.cloud"
      port: 32443
  metricd:
    replicas: 1
  gnocchiConfig:
    DEFAULT:
      debug: True
  backends:
    ceph:
      keyringReference: gnocchi-client-key
      keyringUsername: gnocchi
#      cephConfig:
#        global:
#          "mon host": "rook-ceph-mon-a.rook-ceph:6789,rook-ceph-mon-b.rook-ceph:6789,rook-ceph-mon-c.rook-ceph:6789"
  region:
    name: MyRegion

Gnocchi using S3

apiVersion: v1
kind: Secret
metadata:
  name: gnocchi-s3-password
data:
  access: QWNjZXNzS2V5 # base64 of "AccessKey"
  secret: U2VjcmV0S2V5 # base64 of "SecretKey"
---
apiVersion: yaook.cloud/v1
kind: GnocchiDeployment
metadata:
  name: gnocchi
spec:
  keystoneRef:
    name: keystone
  database:
    replicas: 1
    proxy:
      replicas: 1
    backup:
      schedule: "0 * * * *"
  api:
    replicas: 1
    ingress:
      fqdn: "gnocchi.yaook.cloud"
      port: 32443
  metricd:
    replicas: 1
  gnocchiConfig:
    DEFAULT:
      debug: True
  backends:
    s3:
      endpoint: https://cool.s3.endpoint
      bucketPrefix: mybucket
      credentialRef:
        name: gnocchi-s3-password
  region:
    name: MyRegion