mirror of
https://github.com/MagicBOTAlex/nixos-server.git
synced 2026-05-06 10:02:30 +02:00
sync
This commit is contained in:
parent
a9551f7ba0
commit
dd22a98cdb
4 changed files with 16 additions and 4 deletions
|
|
@ -8,14 +8,14 @@
|
|||
|
||||
after = [
|
||||
"network-online.target"
|
||||
"microvm@kubernetes.service"
|
||||
];
|
||||
wants = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
script = ''
|
||||
sleep 10
|
||||
sleep 30
|
||||
${pkgs.kubernetes}/bin/kubectl patch cm argocd-cmd-params-cm -n argocd --type merge --patch '{"data":{"server.insecure": "true", "url":"https://argocd.deprived.dev"}}'
|
||||
${pkgs.kubernetes}/bin/kubectl -n argocd rollout restart deployment argocd-repo-server
|
||||
${pkgs.kubernetes}/bin/kubectl port-forward svc/argocd-server -n argocd 4325:443 --address 0.0.0.0 || true
|
||||
'';
|
||||
|
||||
|
|
|
|||
|
|
@ -59,6 +59,12 @@
|
|||
# destination = "10.0.0.2:8080";
|
||||
# proto = "tcp";
|
||||
# }
|
||||
{
|
||||
# Netbird
|
||||
sourcePort = 3478;
|
||||
destination = "10.0.0.2:3478";
|
||||
proto = "udp";
|
||||
}
|
||||
{
|
||||
sourcePort = 6443;
|
||||
destination = "10.0.0.2:6443";
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
script = ''
|
||||
sleep 5
|
||||
${pkgs.kubernetes}/bin/kubectl port-forward jellyfin -n argocd 8096:8096 --address 0.0.0.0 || true
|
||||
${pkgs.kubernetes}/bin/kubectl -n jellyfin port-forward deployment/jellyfin-deployment 8096:8096 --address 0.0.0.0 || true
|
||||
'';
|
||||
|
||||
serviceConfig = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue