Skip to content

Commit

Permalink
🐛 don't mount over server_certs
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiljha committed Apr 24, 2024
1 parent b7b5ed6 commit edbc535
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .transpire.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ def objects():
"127.0.0.1:6667": None,
"[::1]:6667": None,
":6697": {
"tls": {"cert": "/etc/ssl/tls.crt", "key": "/etc/ssl/tls.key"},
"tls": {"cert": "/etc/ssl/server_certs/tls.crt", "key": "/etc/ssl/server_certs/tls.key"},
"proxy": False,
"min-tls-version": 1.2,
},
":8097": {
"websocket": True,
"tls": {"cert": "/etc/ssl/tls.crt", "key": "/etc/ssl/tls.key"},
"tls": {"cert": "/etc/ssl/server_certs/tls.crt", "key": "/etc/ssl/server_certs/tls.key"},
},
},
"unix-bind-mode": 511,
Expand Down Expand Up @@ -357,7 +357,7 @@ def objects():
"volumeMounts": [
{"name": "ircd-volume", "mountPath": "/ircd/db"},
{"name": "ircd-config", "mountPath": "/ircd"},
{"name": "ircd-tls", "mountPath": "/etc/ssl"},
{"name": "ircd-tls", "mountPath": "/etc/ssl/server_certs"},
],
"envFrom": [{"secretRef": {"name": "ircd-secrets"}}],
},
Expand All @@ -366,7 +366,7 @@ def objects():
"image": get_image_tag("gamja"),
"ports": [{"containerPort": 80}, {"containerPort": 443}],
"volumeMounts": [
{"name": "ircd-tls", "mountPath": "/etc/ssl"},
{"name": "ircd-tls", "mountPath": "/etc/ssl/server_certs"},
],
},
{
Expand All @@ -375,11 +375,11 @@ def objects():
"command": ["/bin/sh"],
"args": [
"-c",
'echo "Watching /ircd/";\ninotifyd - /ircd/:wMymndox /etc/ssl/:wMymndox | while read -r notifies ; do\n echo "$notifies";\n echo "notify received, sending SIGHUP";\n pkill -HUP ergo;\ndone\necho "Exiting.";\n',
'echo "Watching /ircd/";\ninotifyd - /ircd/:wMymndox /etc/ssl/server_certs/:wMymndox | while read -r notifies ; do\n echo "$notifies";\n echo "notify received, sending SIGHUP";\n pkill -HUP ergo;\ndone\necho "Exiting.";\n',
],
"volumeMounts": [
{"name": "ircd-config", "mountPath": "/ircd"},
{"name": "ircd-tls", "mountPath": "/etc/ssl"},
{"name": "ircd-tls", "mountPath": "/etc/ssl/server_certs"},
],
},
],
Expand Down

0 comments on commit edbc535

Please sign in to comment.