Skip to content

Commit 8d82549

Browse files
authored
Merge pull request #1540 from input-output-hk/remove_tls
chore: remove tls
2 parents d99ce3d + 18fd4fd commit 8d82549

File tree

11 files changed

+0
-64
lines changed

11 files changed

+0
-64
lines changed

nix/cardano-services/deployments/asset.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@
4848
key = "username";
4949
};
5050
};
51-
POSTGRES_SSL_ASSET = "true";
52-
POSTGRES_SSL_CA_FILE_ASSET = "/tls/ca.crt";
5351
};
5452
};
5553

@@ -88,8 +86,6 @@
8886
key = "username";
8987
};
9088
};
91-
POSTGRES_SSL = "true";
92-
POSTGRES_SSL_CA_FILE = "/tls/ca.crt";
9389
};
9490
};
9591
}

nix/cardano-services/deployments/backend.provider.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@
5858
key = "username";
5959
};
6060
};
61-
POSTGRES_SSL_DB_SYNC = "true";
62-
POSTGRES_SSL_CA_FILE_DB_SYNC = "/tls/ca.crt";
6361
}
6462
// lib.optionalAttrs values.backend.passHandleDBArgs {
6563
POSTGRES_POOL_MAX_HANDLE = "10";
@@ -78,8 +76,6 @@
7876
key = "username";
7977
};
8078
};
81-
POSTGRES_SSL_HANDLE = "true";
82-
POSTGRES_SSL_CA_FILE_HANDLE = "/tls/ca.crt";
8379
};
8480
};
8581
}

nix/cardano-services/deployments/blockfrost-worker-deployment.nix

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,9 @@
6464
key = "username";
6565
};
6666
};
67-
POSTGRES_SSL_DB_SYNC = "true";
68-
POSTGRES_SSL_CA_FILE_DB_SYNC = "/tls/ca.crt";
6967
};
70-
volumeMounts = [
71-
{
72-
mountPath = "/tls";
73-
name = "tls";
74-
}
75-
];
7668
}
7769
];
78-
volumes.tls.secret.secretName = "postgresql-server-cert";
7970
};
8071
};
8172
};

nix/cardano-services/deployments/chain-history.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@
5151
key = "username";
5252
};
5353
};
54-
POSTGRES_SSL_DB_SYNC = "true";
55-
POSTGRES_SSL_CA_FILE_DB_SYNC = "/tls/ca.crt";
5654
};
5755
};
5856
}

nix/cardano-services/deployments/handle.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@
4646
key = "username";
4747
};
4848
};
49-
POSTGRES_SSL_HANDLE = "true";
50-
POSTGRES_SSL_CA_FILE_HANDLE = "/tls/ca.crt";
5149
};
5250
};
5351

@@ -88,8 +86,6 @@
8886
key = "username";
8987
};
9088
};
91-
POSTGRES_SSL = "true";
92-
POSTGRES_SSL_CA_FILE = "/tls/ca.crt";
9389
};
9490
};
9591
}

nix/cardano-services/deployments/pg-boss-worker-deployment.nix

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@
6666
key = "username";
6767
};
6868
};
69-
POSTGRES_SSL_STAKE_POOL = "true";
70-
POSTGRES_SSL_CA_FILE_STAKE_POOL = "/tls/ca.crt";
7169

7270
POSTGRES_POOL_MAX_DB_SYNC = "5";
7371
POSTGRES_HOST_DB_SYNC = values.postgresName;
@@ -85,21 +83,12 @@
8583
key = "username";
8684
};
8785
};
88-
POSTGRES_SSL_DB_SYNC = "true";
89-
POSTGRES_SSL_CA_FILE_DB_SYNC = "/tls/ca.crt";
9086
}
9187
// lib.optionalAttrs (values.pg-boss-worker ? env) values.pg-boss-worker.env
9288
// lib.optionalAttrs (values.pg-boss-worker.metadata-fetch-mode == "smash") {
9389
SMASH_URL = values.pg-boss-worker.smash-url;
9490
});
95-
volumeMounts = [
96-
{
97-
mountPath = "/tls";
98-
name = "tls";
99-
}
100-
];
10191
};
102-
volumes.tls.secret.secretName = "postgresql-server-cert";
10392
};
10493
};
10594
};

nix/cardano-services/deployments/projector.resource.nix

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,7 @@ in {
7979
runAsUser = 0;
8080
runAsGroup = 0;
8181
};
82-
83-
volumeMounts = [
84-
{
85-
name = "tls";
86-
mountPath = "/tls";
87-
}
88-
];
8982
};
90-
volumes.tls.secret.secretName = "postgresql-server-cert";
9183
};
9284
};
9385
};

nix/cardano-services/deployments/provider.resource.nix

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,7 @@ in {
8888
runAsGroup = 0;
8989
};
9090

91-
volumeMounts = [
92-
{
93-
name = "tls";
94-
mountPath = "/tls";
95-
}
96-
];
9791
};
98-
volumes.tls.secret.secretName = "postgresql-server-cert";
9992
};
10093
};
10194
};

nix/cardano-services/deployments/stake-pool.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@
4949
key = "username";
5050
};
5151
};
52-
POSTGRES_SSL_STAKE_POOL = "true";
53-
POSTGRES_SSL_CA_FILE_STAKE_POOL = "/tls/ca.crt";
5452
};
5553
};
5654

@@ -90,8 +88,6 @@
9088
key = "username";
9189
};
9290
};
93-
POSTGRES_SSL = "true";
94-
POSTGRES_SSL_CA_FILE = "/tls/ca.crt";
9591
};
9692
};
9793
}

nix/cardano-services/deployments/wallet-api.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040
key = "username";
4141
};
4242
};
43-
POSTGRES_SSL = "true";
44-
POSTGRES_SSL_CA_FILE = "/tls/ca.crt";
4543
};
4644
};
4745
}

0 commit comments

Comments
 (0)