From fb997ab220fc03108ff950ba5645388a028333f2 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sat, 16 Mar 2024 13:18:13 -0400 Subject: [PATCH] fix(qbittorrent): fix updateip-script --- .../qbittorrent/cookie-secret.sops.yaml | 84 +++++++++++-------- .../download/qbittorrent/updateip-job.yaml | 4 +- 2 files changed, 49 insertions(+), 39 deletions(-) diff --git a/cluster/apps/download/qbittorrent/cookie-secret.sops.yaml b/cluster/apps/download/qbittorrent/cookie-secret.sops.yaml index 784c69b..789dac2 100644 --- a/cluster/apps/download/qbittorrent/cookie-secret.sops.yaml +++ b/cluster/apps/download/qbittorrent/cookie-secret.sops.yaml @@ -4,57 +4,67 @@ metadata: name: cookie-secret namespace: download stringData: - mam-id: ENC[AES256_GCM,data:0GnVYb1YnIDW1tAJkzznzrgf+CaSHWwUfB0FtZv4SHNglFctWOqj9O8Hb0rJZcCzXiGmbD51kIZ+JKCBvgtW7p70Nc/VipjtoHWz4gFHvK8/iFHqlNodpVga8inpfONwwVvo0yNwBG/SE1pmFJBn8NW4nJ7SmNwiy9a0qWuUJ5aW/PG6qegz9++V5sKrO8OrpBsANmniK3YECegDuY5g0VIhRacnVX25CsqxWFGrB6OEMzp6gs/kdkAFZ3HTK5QTLPUhQC7mEmFq7jCPnCDKG7OFG14dcm7xg+h31A9S00+36P75cS7bjALNPAXl6ZhR49N2bIYZw84wunTmYuiCxXZRDdMOiqkb0lHLyWBZhKlhJRzSd3WJ4QVZoA/iqE0t8F0MYg==,iv:afLS0Gb1z+bSjjmZnXeOeZmmHHs49k1MaHs1fBWgXhU=,tag:aenXjG0FaUSMbz34AKFrMQ==,type:str] - mam.cookies: ENC[AES256_GCM,data:08DGP+qmIx88ihmi7DtpLsn+W/2AsuP7HQNp9N8rdU3VXxaLAo/pLh4CKsvbe0DZaa31yzowu7WQnuVuYEIqHPRjNZZtmE8rYVvaxZXe/8UzHoaSjVsWMEh/663YALmwdzqvVMylCUpJLJWS0emFs8dyfNlogix9Bk0f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oT3o9IxBF+pCifB8JiRX2KQ==,iv:NZohYRRkcJmRq6j4WqbyGhjBgc9JrWjmRrUDfKQNcZQ=,tag:WuJp/Z4FVi6h5NSIGhcBtw==,type:str] sops: kms: [] gcp_kms: [] azure_kv: [] hc_vault: [] age: [] - lastmodified: "2023-12-14T03:44:40Z" - mac: ENC[AES256_GCM,data:i2metUiGmjOM+BRcLmNHjqpUVdavKawF9wRWxCejfuEfEH/3ZYrsNg7zZ/0Pg08R4h1LkvEsoP5IN+/EOUknGce6icQBujXmqm0apnKpSVMB7319BD71D2OY/LRNUOnyLp9ueEwG8dojt0Qua0PCLXuxdeotkizQEQ9gQxs+6Mw=,iv:vPVdxDpQQvZERkmc1b+i1KiNanmOe9GEMs1jDQXkUuY=,tag:9LncpCcmOpSMMc3FeOoeCQ==,type:str] + lastmodified: "2024-03-16T17:05:17Z" + mac: ENC[AES256_GCM,data:eiIcvoRG2HzvwWaQfoss8zwrpjSbJsYyDFH4Hue2B2XRIHynPga2gIrGxIuyiIf+v35KaVNd9nAE8Vi0jIQDh6SGX142vrHbD01luh3F4sWyu2FRZt0zsLfDIu1YJ0er/4nbTPyScRFX+AD0XMjW6m4w7ldzgZzFzcfvOwuFvz0=,iv:V8tuCekKqnpnxUmfC0axxNGJLsPw7HJ1g56o/D8SIqo=,tag:mTmB75KsRhAYVO2hJcDubg==,type:str] pgp: - - created_at: "2023-12-14T03:44:40Z" + - created_at: "2024-03-16T17:05:17Z" enc: |- -----BEGIN PGP MESSAGE----- - hQIMAzKleRwoSoixAQ//c7dllubouH3Gr5pm80lr+ZRi5/4zYV+6HdXNCwwsk67q - LSOjA6jqXRE/uGxQ7psSNYYMqHnJuHavkC31bIRJzTRHAVqtHfu+JZOu7XsgYmI6 - 9ZuohlrepzEFt0DWR6PjeWUx1Xz7SqLA413Np9gT+wpt1eOlu4QwmipzdX9XyEHC - LZjUAElg7k3OGj7yJhiIgL29R9ZyOaObr0KUDNy7KH7DRtfLTBsLFbk1QqLS9yvo -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+a2mwgNl + eyrUffgSUfsjrAtRwAphFoCjw9yHZHLCraNm5iVevldZf/HEqaucwnVpoaK5n720 + Rpic84kbb4udUZ3KdPcyaoZTNl9/BZlwhgZ47UECxhKlgg7KOi91780zKuPCdbgl + BynRRWw2PfKmircStZJhgccuNE3LBc4cDpGXEYuLab4UUqP56zTjKS1GwPUMLcue + u+w9N1gRLQjyzAOYg9do6PzHK+3xlz+YQr1RDJziDXxXRivlRehYz69pc2iVt+SF + AgwDXjg0p2IN1X8BEACEiMZM1fPHO5lfD89+dcRzjZFhWzOkh1di7Hyv8w6z5ZFm + oCAMAQUiv4KwhXg60pxUDmPciZER1jpf4zjQjyOxyP8qEf9DWQIM2k5xIR5+J/5M + YrHt+OMO+ItK6aVKXI+1ksvhq0adOKIMZNH70ZG0KI3SruZGdnyZ7LCRyIjsejzG + MlOADV7phFIiCWqP4fembreJB6aT7fRgLLYqRZ9K6SzFMdx7gBXsjkJWyPhL8Blw + VyfLewz6Kw+I3oa2WGFp3ltPrJd1ysAgGqaL/T28p2i85fZ/bn535WGPwzYmdPTi + Imwv2taYi2gLOARLht2+tSgyWnwJZli5ENi1GE07DsNvJAArlnHqF4hEoYkA28vg + /22Rjo67wNB+7YVOafp+cNA4IScKJ9YGIKGBAomEEdHVUhkI80OOv4HGlNC0tDBi + kBiz0OSa/nq166cIh/TpJI6MWQh5V96YbinVx8jaxeuJcCfwfeQnB05YkuPNukT6 + VRNkbDYDgFBC00ZpScSflGSTgVP+0Bhh8EiuRtciOO6LnFeHuIMSaG2TWUKVZZN2 + B1zHiXiws/hG6IaqNUttM4YJAIRd3ZrElUnaxHq9yVywpDC1cgHkOlKIW62q0Nir + jo4ufvHnq1EPKL/0GaNzkKAi6ZymD5+xEFrhvzOdfV6f8DXnMovHPcRKRovY4NRo + AQkCENabTfmeUJYb12kmx81XM0Qd1SRB/UFpNkgQALuvJded35qWEonsQyZt1JLh + god19kMBxcnIKMurCPfKbhSD7oVpb30sAZ1+Od09+nqc0Jeb0Wqa1DB9Fxfr//Zd + GWvtyXoVbaY= + =4Gsl -----END PGP MESSAGE----- - fp: 2CC2B3631D5C3393901335DB68F95C5D753EE1E5 - - created_at: "2023-12-14T03:44:40Z" + fp: BD1AAF9D8170F4BEE437365FF6F0933799CFEBCD + - created_at: "2024-03-16T17:05:17Z" enc: |- -----BEGIN PGP MESSAGE----- - hQIMAy5t8IMoPu4VARAAuw6LctL+0mP9HAULlxz46RyvKqvHMXNGjr9KXH2StmC5 - CxIXLoqXn+1yQX2DovIIlYOsu9WXnHNOVAtNxMuqR3e+Oca2wUlhANCfge85N83M - Mk1jNWo7ENeyJvOpYidu5AxLXRNPHkSLwpXbSdn6lwVvDm7k7L25EGZsqCHQec0j - VE4GDplPNL9NSiDKz7f3CIeLlfBm5TJ2ucm2UfQWICetQn+Zi6CtE9ls+c/GRHm8 - SLbylcSON8jCEsUoTgv+YEXNEexIpxWpqo3tiY2m0DcAZdbXFrvq4jiLSMZLy6Ut - TJiEUyReAiTTdyYGQ3b+1TBudFZSlZUka0ZtXs3EHeSO+Kz21FBonFmZwjk9/LmT - j5UO+PXzAgDbRoHuhdPwLERSQ2o72WXxuwM6RibiPXC0ATbQMjCSwHHnkOf8odPA - xZprFNgd7iM5rAV1gr0yhz/OZxrsXcjO5N/ERJCk/hUm0ara36JRpjS0ew/gyD+y - sK7a0EiIUGq3KhUBJ6QvNUFPl5jhPmHNOCvu1UHhZ/QvjyvN+LrxAX/a/CCeP2GK - 9r1eWnd2uNSDHUnzVipzAKjbEUR8FNauLvv0Kyur2vIyyJYExPahXBtkRiZAINkK - V/xiMWwnjDs70fi8h7O/UShvCd2n5iL6L2628b2ksxUbjrYKJ53CFOxwSSGD5MXU - aAEJAhDam/T8dl4pIklOUf9t0APsUzpfuox+n5/9X1uUkEJ142YgcAICNALpuM5C - MbqfQFUQGHc/fVyqMKYcXjj/Y2WrRLDuYWMHZkljxrEK2lVyckJp191d09KrsapU - tWaSRHojoBDF - =9cAX + hQIMAy5t8IMoPu4VAQ//R28hDhv3Vqx7bB3n2YvFNU3lPzKqFP1x+gGUKUgSgp5g + 36CCxD/XHzBhE9mZkXfWXWdGipAiW/7XGshaU9ZxlpR9/5jFSLRT5FlCRP3/oU1i + 4thq0LnIhnoZL8FothQWoFZlifE5/yn2beA8tR9EV07l7fsLwgNh+do4NJ2uCxZ5 + A3ZFNHA2J5yoLzZI0cHgJQtYDRXduuAg/7t7gcylKUkXm5C/Z8OB2eB4CL2qZDo+ + AVTNAHrbiyf5rIsXuj3fEW9nG+7v1fHzx6P8jvZln71/xbdHfU3yw52dre8bFwYO + Sqag0k/POfKCp9uMq0zdlIuLyfeQ7riJXS94GYZVY4VWikFupoUkzV26aqMRFMdd + U/F8vUifS+IcB2oLAjpl19etEuPIQDUqKmCvWO2um0c1Q3vxurfOkWX6WPwA2j5P + 2uWa4r/RzRIOSLk9iLJ1i4tK6/d9oiWbvmQGSIWm/el3yfwb1DNbJOkNsQwD97+O + E1OkxOQNbYgPYZIOU6nNUGwadpiIwQFAZAa9kzMQFuu7cvwTsg1hKUFhxC2yN8p0 + xUPcnJ75hWcR7Zywhdc4bwvSO0nyU7mcXw2cor/omoBaBfMWPHgMzFbDes6nbQBU + 6//CoFZZAjLzTv8Ca9H/u4OSE6VeSaeqTa4ShF1SaZlSAFZZnvhy+uETjKRaiDbU + aAEJAhA68IOzHvWBtORurdtYrBaaRtiv57Xp1GIp79DKdI8P3tPm3s02Gv5sw+96 + hcxcClRtNaosnWF55kGvETvkR86VuNyl43XURlglvqaR0bZC3uzK5JNHatW0WOC9 + Peev4hPD/oAJ + =kzv7 -----END PGP MESSAGE----- fp: 687802D4DFD8AA82EA55666CF7DADAC782D7663D encrypted_regex: ^(data|stringData)$ diff --git a/cluster/apps/download/qbittorrent/updateip-job.yaml b/cluster/apps/download/qbittorrent/updateip-job.yaml index 8b7aded..539ef22 100644 --- a/cluster/apps/download/qbittorrent/updateip-job.yaml +++ b/cluster/apps/download/qbittorrent/updateip-job.yaml @@ -37,8 +37,8 @@ metadata: name: updateip-job namespace: download spec: - # 0am every day - schedule: "0 0 * * *" + # every 15 minutes + schedule: "0/15 * * * *" successfulJobsHistoryLimit: 1 failedJobsHistoryLimit: 2 jobTemplate: