From df4cf46a7928e057836afd6c665a2a70bf47af25 Mon Sep 17 00:00:00 2001
From: pangzhenzhou <hljpzz1982@163.com>
Date: Mon, 26 Jun 2023 17:46:10 +0800
Subject: [PATCH] update monosql crd (#5)

---
 charts/monosql-operator/Chart.yaml                          | 4 ++--
 .../monosql-service.monographdb.com_monosqlclusters.yaml    | 6 ++++++
 charts/monosql-operator/values.yaml                         | 2 +-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/charts/monosql-operator/Chart.yaml b/charts/monosql-operator/Chart.yaml
index b9d9352..69978bd 100644
--- a/charts/monosql-operator/Chart.yaml
+++ b/charts/monosql-operator/Chart.yaml
@@ -1,8 +1,8 @@
 apiVersion: v1
 name: monosql-operator
 description: monosql-operator Helm chart for Kubernetes
-version: 0.2.0
-appVersion: "0.2.0"
+version: 1.0.0 
+appVersion: "1.0.0"
 keywords:
   - database
   - newsql
diff --git a/charts/monosql-operator/crds/monosql-service.monographdb.com_monosqlclusters.yaml b/charts/monosql-operator/crds/monosql-service.monographdb.com_monosqlclusters.yaml
index 2e5cef6..1e077cc 100644
--- a/charts/monosql-operator/crds/monosql-service.monographdb.com_monosqlclusters.yaml
+++ b/charts/monosql-operator/crds/monosql-service.monographdb.com_monosqlclusters.yaml
@@ -40,6 +40,12 @@ spec:
           spec:
             description: MonoSQLClusterSpec defines the desired state of MonoSQLCluster
             properties:
+              annotations:
+                additionalProperties:
+                  type: string
+                description: (Optional) Annotations of the MonoSQL cluster will be
+                  added to all MonoSQL instances.
+                type: object
               dnsConfig:
                 description: Specifies the DNS parameters of a pod.
                 properties:
diff --git a/charts/monosql-operator/values.yaml b/charts/monosql-operator/values.yaml
index 50b8df4..b39b86d 100644
--- a/charts/monosql-operator/values.yaml
+++ b/charts/monosql-operator/values.yaml
@@ -14,7 +14,7 @@ controllerManager:
   serviceAccount: "monosql-operator-sa"
   image:
     repository: monographdb/monosql-operator
-    tag: v0.2.0-nightly
+    tag: v1.0.0
     pullPolicy: IfNotPresent
   ## In case the above image is pulled from a registry that requires
   ## authentication, a secret containining credentials can be added