smartmachine / crdb-operator

CockroachDB Kubernetes Operator
MIT License
0 stars 0 forks source link

Fix reconciliation #3

Open knutster opened 5 years ago

knutster commented 5 years ago

Implement reconciliation in the controller to reflect updates made to the CR towards the K8s resources.

knutster commented 5 years ago

This is what the CR looks like:

apiVersion: db.smartmachine.io/v1alpha1
kind: CockroachDB
metadata:
  name: crdb-test
  namespace: crdb
spec:
  cluster:
    image: cockroachdb/cockroach:v2.1.6
    size: 3
    requestMemory: 300Mi
    limitMemory: 500Mi
    storagePerNode: 100Gi
    maxUnavailable: 1
  client:
    enable: true
  dashboard:
    enable: true
    nodePort: 31000