mirror of
https://github.com/morten-olsen/homelab-operator.git
synced 2026-02-08 01:36:28 +01:00
disable ssl on pg
This commit is contained in:
14
images/operator/patches/@kubernetes__client-node.patch
Normal file
14
images/operator/patches/@kubernetes__client-node.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff --git a/dist/gen/models/ObjectSerializer.js b/dist/gen/models/ObjectSerializer.js
|
||||
index 1d798b6a2d7c059165d1df9fbb77b89a8317ebca..c8bacfdc95be0f0146c6505f89a9372e013afea4 100644
|
||||
--- a/dist/gen/models/ObjectSerializer.js
|
||||
+++ b/dist/gen/models/ObjectSerializer.js
|
||||
@@ -2216,6 +2216,9 @@ export class ObjectSerializer {
|
||||
return transformedData;
|
||||
}
|
||||
else if (type === "Date") {
|
||||
+ if (typeof data === "string") {
|
||||
+ return data;
|
||||
+ }
|
||||
if (format == "date") {
|
||||
let month = data.getMonth() + 1;
|
||||
month = month < 10 ? "0" + month.toString() : month.toString();
|
||||
@@ -97,7 +97,7 @@ class PostgresDatabase extends CustomResource<typeof specSchema> {
|
||||
port: clusterSecret.port,
|
||||
};
|
||||
|
||||
const url = `postgresql://${expected.user}:${expected.password}@${expected.host}:${expected.port}/${expected.database}`;
|
||||
const url = `postgresql://${expected.user}:${expected.password}@${expected.host}:${expected.port}/${expected.database}?sslmode=disable`;
|
||||
|
||||
await this.#secret.set(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user