diff --git a/pgpool/kubedb_client_builder.go b/pgpool/kubedb_client_builder.go index f092c6b26..1de839a27 100644 --- a/pgpool/kubedb_client_builder.go +++ b/pgpool/kubedb_client_builder.go @@ -154,6 +154,7 @@ func (o *KubeDBClientBuilder) getPgpoolAuthCredentials() (string, string, error) return "", "", fmt.Errorf("DB root user is not set") } pass, ok := secret.Data[core.BasicAuthPasswordKey] + fmt.Println("Here is the password used in pgpool: ", string(pass)) if !ok { return "", "", fmt.Errorf("DB root password is not set") } diff --git a/postgres/kubedb_client_builder.go b/postgres/kubedb_client_builder.go index 069cfb052..371a2ad80 100644 --- a/postgres/kubedb_client_builder.go +++ b/postgres/kubedb_client_builder.go @@ -105,6 +105,8 @@ func (o *KubeDBClientBuilder) getPostgresAuthCredentials() (string, string, erro if err != nil { return "", "", err } + pass := string(secret.Data[core.BasicAuthPasswordKey]) + fmt.Println("Here is the password used in postgres: ", pass) return string(secret.Data[core.BasicAuthUsernameKey]), string(secret.Data[core.BasicAuthPasswordKey]), nil } diff --git a/vendor/kubedb.dev/apimachinery/apis/elasticsearch/v1alpha1/zz_generated.deepcopy.go b/vendor/kubedb.dev/apimachinery/apis/elasticsearch/v1alpha1/zz_generated.deepcopy.go index 1769aba24..93a7b51b1 100644 --- a/vendor/kubedb.dev/apimachinery/apis/elasticsearch/v1alpha1/zz_generated.deepcopy.go +++ b/vendor/kubedb.dev/apimachinery/apis/elasticsearch/v1alpha1/zz_generated.deepcopy.go @@ -22,10 +22,11 @@ limitations under the License. package v1alpha1 import ( + v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" + v1 "k8s.io/api/core/v1" runtime "k8s.io/apimachinery/pkg/runtime" apiv1 "kmodules.xyz/client-go/api/v1" - v1alpha2 "kubedb.dev/apimachinery/apis/kubedb/v1alpha2" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.