From 93dfa7a07b8c5dc20ff83b45245b300f2aa8e443 Mon Sep 17 00:00:00 2001 From: aggarwalakshun Date: Mon, 4 Aug 2025 13:15:58 +0530 Subject: [PATCH] use strategy.type recreate --- cluster/apps/authelia/authelia.yml | 2 ++ cluster/apps/bazarr/bazarr.yml | 2 ++ cluster/apps/code-server/code-server.yml | 2 ++ cluster/apps/drone/drone.yml | 2 ++ cluster/apps/ersatztv/ersatztv.yml | 2 ++ cluster/apps/flaresolverr/flaresolverr.yml | 2 ++ cluster/apps/ghostfolio/ghostfolio.yml | 2 ++ cluster/apps/gitea-act/gitea-act.yml | 3 ++- cluster/apps/gitea/gitea-db.yml | 2 ++ cluster/apps/gitea/gitea.yml | 2 ++ cluster/apps/homepage/homepage.yml | 2 +- cluster/apps/immich/immich.yml | 2 ++ cluster/apps/invidious/invidious.yml | 2 ++ cluster/apps/jellyfin/jellyfin.yml | 2 ++ cluster/apps/jellyseerr/jellyseerr.yml | 2 ++ cluster/apps/jellystat/jellystat.yml | 2 ++ cluster/apps/nextcloud/collabora.yml | 2 ++ cluster/apps/nextcloud/nextcloud.yml | 2 ++ cluster/apps/open-webui/open-webui.yml | 2 ++ cluster/apps/paperless-ngx/paperless-ngx.yml | 2 ++ cluster/apps/prowlarr/prowlarr.yml | 2 ++ cluster/apps/qbittorrent/qbittorrent.yml | 2 ++ cluster/apps/radarr/radarr.yml | 2 ++ cluster/apps/searxng/searxng.yml | 2 ++ cluster/apps/semaphore/semaphore.yml | 2 ++ cluster/apps/sonarr/sonarr.yml | 2 ++ cluster/apps/speedtest/speedtest.yml | 2 ++ cluster/apps/vaultwarden/vaultwarden.yml | 2 ++ 28 files changed, 55 insertions(+), 2 deletions(-) diff --git a/cluster/apps/authelia/authelia.yml b/cluster/apps/authelia/authelia.yml index 403523e..5180d6d 100644 --- a/cluster/apps/authelia/authelia.yml +++ b/cluster/apps/authelia/authelia.yml @@ -5,6 +5,8 @@ metadata: name: authelia namespace: default spec: + strategy: + type: Recreate selector: matchLabels: app: authelia diff --git a/cluster/apps/bazarr/bazarr.yml b/cluster/apps/bazarr/bazarr.yml index 28c7657..9d3d419 100644 --- a/cluster/apps/bazarr/bazarr.yml +++ b/cluster/apps/bazarr/bazarr.yml @@ -5,6 +5,8 @@ metadata: name: bazarr namespace: default spec: + stratergy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/code-server/code-server.yml b/cluster/apps/code-server/code-server.yml index 7cb1477..b2104dd 100644 --- a/cluster/apps/code-server/code-server.yml +++ b/cluster/apps/code-server/code-server.yml @@ -5,6 +5,8 @@ metadata: name: code-server namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/drone/drone.yml b/cluster/apps/drone/drone.yml index fe84c4b..a487cf3 100644 --- a/cluster/apps/drone/drone.yml +++ b/cluster/apps/drone/drone.yml @@ -7,6 +7,8 @@ metadata: app.kubernetes.io/name: drone namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/ersatztv/ersatztv.yml b/cluster/apps/ersatztv/ersatztv.yml index 99993ba..4fe3c74 100644 --- a/cluster/apps/ersatztv/ersatztv.yml +++ b/cluster/apps/ersatztv/ersatztv.yml @@ -5,6 +5,8 @@ metadata: name: ersatztv namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/flaresolverr/flaresolverr.yml b/cluster/apps/flaresolverr/flaresolverr.yml index f426ea4..ee7ef86 100644 --- a/cluster/apps/flaresolverr/flaresolverr.yml +++ b/cluster/apps/flaresolverr/flaresolverr.yml @@ -5,6 +5,8 @@ metadata: name: flaresolverr namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/ghostfolio/ghostfolio.yml b/cluster/apps/ghostfolio/ghostfolio.yml index b2900f4..4f98e30 100644 --- a/cluster/apps/ghostfolio/ghostfolio.yml +++ b/cluster/apps/ghostfolio/ghostfolio.yml @@ -5,6 +5,8 @@ metadata: name: ghostfolio namespace: default spec: + strategy: + type: Recreate selector: matchLabels: app: ghostfolio diff --git a/cluster/apps/gitea-act/gitea-act.yml b/cluster/apps/gitea-act/gitea-act.yml index 70f2a2d..64637ac 100644 --- a/cluster/apps/gitea-act/gitea-act.yml +++ b/cluster/apps/gitea-act/gitea-act.yml @@ -11,7 +11,8 @@ spec: selector: matchLabels: app: gitea-act-runner - strategy: {} + strategy: + type: Recreate template: metadata: labels: diff --git a/cluster/apps/gitea/gitea-db.yml b/cluster/apps/gitea/gitea-db.yml index 64a8cdd..2c5009a 100644 --- a/cluster/apps/gitea/gitea-db.yml +++ b/cluster/apps/gitea/gitea-db.yml @@ -5,6 +5,8 @@ metadata: name: gitea-db namespace: default spec: + strategy: + type: Recreate selector: matchLabels: app: gitea-db diff --git a/cluster/apps/gitea/gitea.yml b/cluster/apps/gitea/gitea.yml index 59b8ad7..c428357 100644 --- a/cluster/apps/gitea/gitea.yml +++ b/cluster/apps/gitea/gitea.yml @@ -5,6 +5,8 @@ metadata: name: gitea-app namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/homepage/homepage.yml b/cluster/apps/homepage/homepage.yml index 3b7c8b8..9ac6911 100644 --- a/cluster/apps/homepage/homepage.yml +++ b/cluster/apps/homepage/homepage.yml @@ -10,7 +10,7 @@ spec: revisionHistoryLimit: 3 replicas: 1 strategy: - type: RollingUpdate + type: Recreate selector: matchLabels: app.kubernetes.io/name: homepage diff --git a/cluster/apps/immich/immich.yml b/cluster/apps/immich/immich.yml index 7dcb5c9..a6883ad 100644 --- a/cluster/apps/immich/immich.yml +++ b/cluster/apps/immich/immich.yml @@ -5,6 +5,8 @@ metadata: name: immich-app namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/invidious/invidious.yml b/cluster/apps/invidious/invidious.yml index 0aeb6d8..e651483 100644 --- a/cluster/apps/invidious/invidious.yml +++ b/cluster/apps/invidious/invidious.yml @@ -5,6 +5,8 @@ metadata: name: invidious namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/jellyfin/jellyfin.yml b/cluster/apps/jellyfin/jellyfin.yml index 7c6e6c0..cb9c544 100644 --- a/cluster/apps/jellyfin/jellyfin.yml +++ b/cluster/apps/jellyfin/jellyfin.yml @@ -5,6 +5,8 @@ metadata: name: jellyfin namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/jellyseerr/jellyseerr.yml b/cluster/apps/jellyseerr/jellyseerr.yml index 83e4b68..42fea52 100644 --- a/cluster/apps/jellyseerr/jellyseerr.yml +++ b/cluster/apps/jellyseerr/jellyseerr.yml @@ -5,6 +5,8 @@ metadata: name: jellyseerr namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/jellystat/jellystat.yml b/cluster/apps/jellystat/jellystat.yml index b919850..4032720 100644 --- a/cluster/apps/jellystat/jellystat.yml +++ b/cluster/apps/jellystat/jellystat.yml @@ -5,6 +5,8 @@ metadata: name: jellystat namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/nextcloud/collabora.yml b/cluster/apps/nextcloud/collabora.yml index 9f87ba3..8e33a58 100644 --- a/cluster/apps/nextcloud/collabora.yml +++ b/cluster/apps/nextcloud/collabora.yml @@ -5,6 +5,8 @@ metadata: name: collabora namespace: default spec: + strategy: + type: Recreate selector: matchLabels: app: collabora diff --git a/cluster/apps/nextcloud/nextcloud.yml b/cluster/apps/nextcloud/nextcloud.yml index 7e1019f..5e50e2a 100644 --- a/cluster/apps/nextcloud/nextcloud.yml +++ b/cluster/apps/nextcloud/nextcloud.yml @@ -5,6 +5,8 @@ metadata: name: nextcloud namespace: default spec: + strategy: + type: Recreate selector: matchLabels: app: nextcloud diff --git a/cluster/apps/open-webui/open-webui.yml b/cluster/apps/open-webui/open-webui.yml index 3ce5d64..7e6abea 100644 --- a/cluster/apps/open-webui/open-webui.yml +++ b/cluster/apps/open-webui/open-webui.yml @@ -5,6 +5,8 @@ metadata: name: open-webui namespace: default spec: + strategy: + type: Recreate selector: matchLabels: app: open-webui diff --git a/cluster/apps/paperless-ngx/paperless-ngx.yml b/cluster/apps/paperless-ngx/paperless-ngx.yml index e5a8c71..8be1589 100644 --- a/cluster/apps/paperless-ngx/paperless-ngx.yml +++ b/cluster/apps/paperless-ngx/paperless-ngx.yml @@ -5,6 +5,8 @@ metadata: name: paperless-ngx namespace: default spec: + strategy: + type: Recreate selector: matchLabels: app: paperless-ngx diff --git a/cluster/apps/prowlarr/prowlarr.yml b/cluster/apps/prowlarr/prowlarr.yml index 6219257..4094aa4 100644 --- a/cluster/apps/prowlarr/prowlarr.yml +++ b/cluster/apps/prowlarr/prowlarr.yml @@ -5,6 +5,8 @@ metadata: name: prowlarr namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/qbittorrent/qbittorrent.yml b/cluster/apps/qbittorrent/qbittorrent.yml index 2e2592d..a1ede75 100644 --- a/cluster/apps/qbittorrent/qbittorrent.yml +++ b/cluster/apps/qbittorrent/qbittorrent.yml @@ -5,6 +5,8 @@ metadata: name: qbittorrent namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/radarr/radarr.yml b/cluster/apps/radarr/radarr.yml index 1a04346..354961a 100644 --- a/cluster/apps/radarr/radarr.yml +++ b/cluster/apps/radarr/radarr.yml @@ -5,6 +5,8 @@ metadata: name: radarr namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/searxng/searxng.yml b/cluster/apps/searxng/searxng.yml index bcf64ef..b38603d 100644 --- a/cluster/apps/searxng/searxng.yml +++ b/cluster/apps/searxng/searxng.yml @@ -5,6 +5,8 @@ metadata: name: searxng namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/semaphore/semaphore.yml b/cluster/apps/semaphore/semaphore.yml index 3a5ac3e..8ea22b7 100644 --- a/cluster/apps/semaphore/semaphore.yml +++ b/cluster/apps/semaphore/semaphore.yml @@ -5,6 +5,8 @@ metadata: name: semaphore namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/sonarr/sonarr.yml b/cluster/apps/sonarr/sonarr.yml index 4e04995..928befe 100644 --- a/cluster/apps/sonarr/sonarr.yml +++ b/cluster/apps/sonarr/sonarr.yml @@ -5,6 +5,8 @@ metadata: name: sonarr namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/speedtest/speedtest.yml b/cluster/apps/speedtest/speedtest.yml index dc5ee38..964ab89 100644 --- a/cluster/apps/speedtest/speedtest.yml +++ b/cluster/apps/speedtest/speedtest.yml @@ -5,6 +5,8 @@ metadata: name: speedtest namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: diff --git a/cluster/apps/vaultwarden/vaultwarden.yml b/cluster/apps/vaultwarden/vaultwarden.yml index 8766f5e..5c290d3 100644 --- a/cluster/apps/vaultwarden/vaultwarden.yml +++ b/cluster/apps/vaultwarden/vaultwarden.yml @@ -5,6 +5,8 @@ metadata: name: vaultwarden namespace: default spec: + strategy: + type: Recreate replicas: 1 selector: matchLabels: