From 10563ebbd4bdec5affdf0e099757e89abbd3bfe3 Mon Sep 17 00:00:00 2001 From: shenoypritika Date: Tue, 20 Jun 2023 17:15:26 -0700 Subject: [PATCH] Add documentation enhancements for SQL Provisioning (#117) * Fixed go mod * enhancements --------- Co-authored-by: Manav --- README.md | 4 ++++ api/v1alpha1/zz_generated.deepcopy.go | 1 + config/crd/bases/ndb.nutanix.com_databases.yaml | 7 +++++++ config/samples/ndb_v1alpha1_database.yaml | 3 +++ 4 files changed, 15 insertions(+) diff --git a/README.md b/README.md index a34fd00e..38b176c2 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,10 @@ spec: dbParam: name: "" id: "" + # Only applicable for MSSQL databases + dbParamInstance: + name: "" + id: "" ``` diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index c5b63d27..9cc1e67a 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -174,6 +174,7 @@ func (in *Profiles) DeepCopyInto(out *Profiles) { out.Compute = in.Compute out.Network = in.Network out.DbParam = in.DbParam + out.DbParamInstance = in.DbParamInstance } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Profiles. diff --git a/config/crd/bases/ndb.nutanix.com_databases.yaml b/config/crd/bases/ndb.nutanix.com_databases.yaml index 583c9bb2..d2134361 100644 --- a/config/crd/bases/ndb.nutanix.com_databases.yaml +++ b/config/crd/bases/ndb.nutanix.com_databases.yaml @@ -86,6 +86,13 @@ spec: name: type: string type: object + dbParamInstance: + properties: + id: + type: string + name: + type: string + type: object network: properties: id: diff --git a/config/samples/ndb_v1alpha1_database.yaml b/config/samples/ndb_v1alpha1_database.yaml index bc23089f..07fb5adc 100644 --- a/config/samples/ndb_v1alpha1_database.yaml +++ b/config/samples/ndb_v1alpha1_database.yaml @@ -32,3 +32,6 @@ spec: dbParam: name: "" id: "" + dbParamInstance: + name: "" + id: ""