From 043ee178ced6f5145eeb142a3882b30e4a8f1685 Mon Sep 17 00:00:00 2001
From: vbadrina <vbadrina@redhat.com>
Date: Tue, 13 Feb 2024 16:56:44 +0530
Subject: [PATCH] Generated changes to bundle and vendor files

Signed-off-by: vbadrina <vbadrina@redhat.com>
---
 config/crd/bases/ocs.openshift.io_storageclusters.yaml        | 4 ++++
 .../crds/ocs/ocs.openshift.io_storageclusters.yaml            | 4 ++++
 deploy/ocs-operator/manifests/storagecluster.crd.yaml         | 4 ++++
 .../ocs-operator/api/v4/v1/storagecluster_types.go            | 3 +++
 4 files changed, 15 insertions(+)

diff --git a/config/crd/bases/ocs.openshift.io_storageclusters.yaml b/config/crd/bases/ocs.openshift.io_storageclusters.yaml
index 74444135b5..1b7345b503 100644
--- a/config/crd/bases/ocs.openshift.io_storageclusters.yaml
+++ b/config/crd/bases/ocs.openshift.io_storageclusters.yaml
@@ -1793,6 +1793,10 @@ spec:
                         description: AllowSelfSignedCerts will allow the Postgres
                           server to use self signed certificates to authenticate
                         type: boolean
+                      enableTls:
+                        description: EnableTLS will allow the postgres server to connect
+                          via TLS/SSL
+                        type: boolean
                       pgSecretName:
                         description: PGSecret stores the secret name which contains
                           connection string of the Postgres server
diff --git a/deploy/csv-templates/crds/ocs/ocs.openshift.io_storageclusters.yaml b/deploy/csv-templates/crds/ocs/ocs.openshift.io_storageclusters.yaml
index 74444135b5..1b7345b503 100644
--- a/deploy/csv-templates/crds/ocs/ocs.openshift.io_storageclusters.yaml
+++ b/deploy/csv-templates/crds/ocs/ocs.openshift.io_storageclusters.yaml
@@ -1793,6 +1793,10 @@ spec:
                         description: AllowSelfSignedCerts will allow the Postgres
                           server to use self signed certificates to authenticate
                         type: boolean
+                      enableTls:
+                        description: EnableTLS will allow the postgres server to connect
+                          via TLS/SSL
+                        type: boolean
                       pgSecretName:
                         description: PGSecret stores the secret name which contains
                           connection string of the Postgres server
diff --git a/deploy/ocs-operator/manifests/storagecluster.crd.yaml b/deploy/ocs-operator/manifests/storagecluster.crd.yaml
index 63b66f104b..31990e90bc 100644
--- a/deploy/ocs-operator/manifests/storagecluster.crd.yaml
+++ b/deploy/ocs-operator/manifests/storagecluster.crd.yaml
@@ -1792,6 +1792,10 @@ spec:
                         description: AllowSelfSignedCerts will allow the Postgres
                           server to use self signed certificates to authenticate
                         type: boolean
+                      enableTls:
+                        description: EnableTLS will allow the postgres server to connect
+                          via TLS/SSL
+                        type: boolean
                       pgSecretName:
                         description: PGSecret stores the secret name which contains
                           connection string of the Postgres server
diff --git a/vendor/github.com/red-hat-storage/ocs-operator/api/v4/v1/storagecluster_types.go b/vendor/github.com/red-hat-storage/ocs-operator/api/v4/v1/storagecluster_types.go
index 28b5a3e560..1934a385ff 100644
--- a/vendor/github.com/red-hat-storage/ocs-operator/api/v4/v1/storagecluster_types.go
+++ b/vendor/github.com/red-hat-storage/ocs-operator/api/v4/v1/storagecluster_types.go
@@ -407,6 +407,9 @@ type ExternalPGSpec struct {
 	// AllowSelfSignedCerts will allow the Postgres server to use self signed certificates to authenticate
 	// +optional
 	AllowSelfSignedCerts bool `json:"allowSelfSignedCerts,omitempty"`
+	// EnableTLS will allow the postgres server to connect via TLS/SSL
+	// +optional
+	EnableTLS bool `json:"enableTls,omitempty"`
 	// TLSSecret stores the secret name which contains the client side certificates if enabled
 	// +optional
 	TLSSecretName string `json:"tlsSecretName,omitempty"`