From 1ae8b633a1664e4c0ce8a74d933dd7a9cea00106 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Tue, 11 Jun 2024 21:24:13 -0400 Subject: [PATCH] fix(qbittorrent): remove liveness probe from gluetun --- cluster/apps/database/kustomization.yaml | 3 +- .../apps/database/mariadb/helm-release.yaml | 24 ------- .../apps/database/mariadb/kustomization.yaml | 6 -- cluster/apps/database/mariadb/mariadb-pv.yaml | 27 ------- .../apps/database/mariadb/mariadb.sops.yaml | 62 ---------------- cluster/apps/default/kustomization.yaml | 3 +- cluster/apps/default/whoami/helm-release.yaml | 45 ------------ .../apps/default/whoami/kustomization.yaml | 4 -- cluster/apps/dev/code/helm-release.yaml | 72 ------------------- cluster/apps/dev/code/kustomization.yaml | 4 -- .../download/qbittorrent/helm-release.yaml | 17 ----- 11 files changed, 2 insertions(+), 265 deletions(-) delete mode 100644 cluster/apps/database/mariadb/helm-release.yaml delete mode 100644 cluster/apps/database/mariadb/kustomization.yaml delete mode 100644 cluster/apps/database/mariadb/mariadb-pv.yaml delete mode 100644 cluster/apps/database/mariadb/mariadb.sops.yaml delete mode 100644 cluster/apps/default/whoami/helm-release.yaml delete mode 100644 cluster/apps/default/whoami/kustomization.yaml delete mode 100644 cluster/apps/dev/code/helm-release.yaml delete mode 100644 cluster/apps/dev/code/kustomization.yaml diff --git a/cluster/apps/database/kustomization.yaml b/cluster/apps/database/kustomization.yaml index f1e1f8a..5217b6a 100644 --- a/cluster/apps/database/kustomization.yaml +++ b/cluster/apps/database/kustomization.yaml @@ -5,5 +5,4 @@ resources: #- ./network_policy.yaml - ./postgresql - ./redis -- ./minio -#- ./mariadb \ No newline at end of file +- ./minio \ No newline at end of file diff --git a/cluster/apps/database/mariadb/helm-release.yaml b/cluster/apps/database/mariadb/helm-release.yaml deleted file mode 100644 index 1d44b27..0000000 --- a/cluster/apps/database/mariadb/helm-release.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: helm.toolkit.fluxcd.io/v2beta2 -kind: HelmRelease -metadata: - name: mariadb - namespace: database -spec: - interval: 5m - chart: - spec: - chart: mariadb - version: 18.1.x - sourceRef: - kind: HelmRepository - name: bitnami-charts - namespace: flux-system - - values: - auth: - username: k3scluster - existingSecret: "mariadb-secret" - - primary: - persistence: - existingClaim: mariadb-pv-claim diff --git a/cluster/apps/database/mariadb/kustomization.yaml b/cluster/apps/database/mariadb/kustomization.yaml deleted file mode 100644 index 70be9d6..0000000 --- a/cluster/apps/database/mariadb/kustomization.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- ./mariadb-pv.yaml -- ./mariadb.sops.yaml -- ./helm-release.yaml \ No newline at end of file diff --git a/cluster/apps/database/mariadb/mariadb-pv.yaml b/cluster/apps/database/mariadb/mariadb-pv.yaml deleted file mode 100644 index a6078b7..0000000 --- a/cluster/apps/database/mariadb/mariadb-pv.yaml +++ /dev/null @@ -1,27 +0,0 @@ -apiVersion: v1 -kind: PersistentVolume -metadata: - name: mariadb-pv - namespace: database -spec: - storageClassName: hostpath - persistentVolumeReclaimPolicy: Retain - capacity: - storage: 12Gi - accessModes: - - ReadWriteOnce - hostPath: - path: "/mnt/MainPool/Kubernetes/databases/mariadb" ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: mariadb-pv-claim - namespace: database -spec: - storageClassName: hostpath - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 12Gi \ No newline at end of file diff --git a/cluster/apps/database/mariadb/mariadb.sops.yaml b/cluster/apps/database/mariadb/mariadb.sops.yaml deleted file mode 100644 index 314b0f1..0000000 --- a/cluster/apps/database/mariadb/mariadb.sops.yaml +++ /dev/null @@ -1,62 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: mariadb-secret - namespace: database -stringData: - mariadb-root-password: ENC[AES256_GCM,data:Fv/IBSYJ59NwAXIm4++j9ouW7QXAWMP8Et6qTtYZGWc=,iv:LpoL3VXqRMPR1jdtAG8hVRpslAZx5C4K1fxHyrjnrE0=,tag:0wi3E4snnKIxtDptgOSr4g==,type:str] - mariadb-replication-password: ENC[AES256_GCM,data:glOy5LsxWzngOjtH0cUrtH3KGA+6kOe0WJw5ul5BiQ4=,iv:URpyq5Sf3CCAqDOtPfM/EvgkMcejvM71gA69zgePlFM=,tag:OeZbv4wUBcoSVUMz1pSi5w==,type:str] - mariadb-password: ENC[AES256_GCM,data:FqraX9l4nFTWrZ3v9LnJJNFuhwURjBSrmMXLT/C9ej8=,iv:CLGc8XHUeLbixBN9Wdx81SJTe8L3HwPaHQ4Lc2iMFvY=,tag:voDFAnniUVshGRuv4+zYGw==,type:str] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: [] - lastmodified: "2023-04-17T00:12:38Z" - mac: ENC[AES256_GCM,data:v7rimrwed+ElVHZyO7zdIQLoYR2tJrtZVNUgeBMwZUB6+/v52wa/OIIWoPrsXbGQe0W1w/e1t08ekB8tbanzItD1ftg9mYfAsfBkD2XQyyXornV2uDBbmifUq/yH3a89h97j26Ofzx8PZqFYYnFLSCTXHbdmDNsPHza70fYfk40=,iv:2A0pduramwAP4y3UUU73li9hzC5keGuAzmN2euPFSRI=,tag:tSygQLB9UyzFgR89An/j6w==,type:str] - pgp: - - created_at: "2023-06-19T18:35:30Z" - enc: | - -----BEGIN PGP MESSAGE----- - - hQIMAzKleRwoSoixAQ/+PYuDQqORZ7FPzlGb8Wm+DmCCKn4dywZQ/3xqVq1G4wYP - W8loUvA9mL8Ja5E6USWb+YdqWa95PAk5N/pDf3MVtnHQnQU9Ko5AjC5kEPFIdWNP - ShBE0y1sRCUeNw2T4ARa0C3bagL4EaI7C3ef0PxkCbpw4Yz6O9afOySD3u6Nwaa/ - 04ucDMIoH4VANCDgFo8nFkFV+23bm4cHbHwezaz7r0yL7bOzgt40eSw7tJfEN4nq - Yq/ak4iVor2zl5NxHtm08VXtDIyD5LyH5+jIrUKDGPOS6OVIQbyc6pyClCm4JAvq - NG0XZCIx+AnyQe7d6OmbrKy+ZarQFQOlJS+H0sWrm7DGWPZpNn8LnRDzlcrTlDv1 - fP2fGz45gvWRFRaiAeGM2DADwuS4HD4o4nsXa/sWy2Vxstn8Ngjg3/GfMZR4CyDB - JzNOl4HjaKYi4kP+MJRSedwp5IGlLeG31MKdn7xU+gsYonsG8u2puTfbHQ8Pk92B - HjJ1hLoc65MZofQkeKmYjzQ+9yT2g4YYUyWnPX5agrlMhsVqkZiRirRg+uCT59qD - OA8BI9tmjtDjVSs4B5XayL4uppv8pHHk3B6LnKfVX61BAEF4LXV3X7RJMBoLACy4 - v1UbX6J177xIxHCl/tbzZhwAH+NmceioH2OuPUAtnA3TziCjzr9dH8Fpnrlc26jU - aAEJAhCSe5Xs1RDXBUfhlqjwDTZbuyLF889WujKIRwopHqDvCpwA6ZqijElAZWS9 - F8JAIq1PvyQJBvoGzc52jShobDYugzrFEDiF1Rf8/moXRx4VEa9F0049Zfa1U0bD - daX+Wf+7VNFs - =qkGs - -----END PGP MESSAGE----- - fp: 2CC2B3631D5C3393901335DB68F95C5D753EE1E5 - - created_at: "2023-06-19T18:35:30Z" - enc: | - -----BEGIN PGP MESSAGE----- - - hQIMAy5t8IMoPu4VAQ/+L3qBw73EbS1WJ/0qpZ4fiaV40Yd5Y0i9g0CXaNzKNc0n - qSr0r3yYsbJWcQwWOhORMwXaDChTf/d02kz+HSdAc+u1IdPAb8mtJ39C0Zlnu78y - S5CBF6zUg0BDdnzQKKyuzalmaGirRXUikfyRcIAHb/mmhUwCu/ekFg0QnUx1VvGx - Su/sAabRT6D10MF8lunZI63E05yxLSrlb/xGAfGBX/MN6qqdRdYZWzTWgiJAgO07 - 53a2SJE5SfTlEpPdacBV4MVxcHj9xstUDTjQYP69UTTEDKq/kwaZ5FubMWFUono5 - fxeZr0PeYXwWVzHHbGTTagAzG8M/urPLje6IsWwb5TYyjTn7VSUOfyrdHnS8PZ8u - YYyJMftlc4EmTQqYxc9D/j2xk0Hja3cb9L9eLTVkikds07ZRTr+IikYpspYb3vEu - dhvMULKhNDoW9K83THQdwyqi8EO7RQoEnGzqRqW84WWN90Bo2YrOL/uZyvgKNEY/ - lSgsPeWWqc8eHnZnm1zedc/0eiRIbKIwzKYTC2dr3ZbsaAlbt0JXXU8GQnvOWFeh - RFOt1WdoFv+Ssm4I+gfSvcMSMeqzUC8AOf0hdIXCwf1lQlVPT8GHq1H11aW9O6Gf - jPz5dLwMkGVDJ90i005ZdeUXGntRHOKOwag4MfD6JaDQ4hnj15pfQdbIgOKCRTzU - aAEJAhB08M0x5nMkguE9Yow9afmKTpzKoIvRFLw0iLy4T6FYxJ1k9+/UMAQ2Wa69 - UiL0YCFldFzxcq0GGfrkIX+PUvYaYpsAB6Iid5RwPHtzcSv5pxN91uztaUCfOmPZ - fPiA+XqbXVzO - =DRJp - -----END PGP MESSAGE----- - fp: 687802D4DFD8AA82EA55666CF7DADAC782D7663D - encrypted_regex: ^(data|stringData)$ - version: 3.7.3 diff --git a/cluster/apps/default/kustomization.yaml b/cluster/apps/default/kustomization.yaml index 98040f2..0d1075b 100644 --- a/cluster/apps/default/kustomization.yaml +++ b/cluster/apps/default/kustomization.yaml @@ -6,5 +6,4 @@ resources: - ./trilium - ./mealie - ./huginn -- ./exim -#- ./whoami \ No newline at end of file +- ./exim \ No newline at end of file diff --git a/cluster/apps/default/whoami/helm-release.yaml b/cluster/apps/default/whoami/helm-release.yaml deleted file mode 100644 index 77a477a..0000000 --- a/cluster/apps/default/whoami/helm-release.yaml +++ /dev/null @@ -1,45 +0,0 @@ -apiVersion: helm.toolkit.fluxcd.io/v2beta2 -kind: HelmRelease -metadata: - name: whoami - namespace: default -spec: - interval: 5m - chart: - spec: - chart: app-template - version: 1.3.x - sourceRef: - kind: HelmRepository - name: bjws-charts - namespace: flux-system - - values: - image: - repository: containous/whoami - tag: latest - - service: - main: - ports: - http: - port: 80 - - probes: - liveness: - enabled: false - - ingress: - main: - enabled: true - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: websecure - traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd - hosts: - - host: &host "whoami.${SECRET_NEW_DOMAIN}" - paths: - - path: / - pathType: Prefix - tls: - - hosts: - - *host \ No newline at end of file diff --git a/cluster/apps/default/whoami/kustomization.yaml b/cluster/apps/default/whoami/kustomization.yaml deleted file mode 100644 index ea3145d..0000000 --- a/cluster/apps/default/whoami/kustomization.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- ./helm-release.yaml \ No newline at end of file diff --git a/cluster/apps/dev/code/helm-release.yaml b/cluster/apps/dev/code/helm-release.yaml deleted file mode 100644 index b36f22e..0000000 --- a/cluster/apps/dev/code/helm-release.yaml +++ /dev/null @@ -1,72 +0,0 @@ -apiVersion: helm.toolkit.fluxcd.io/v2beta2 -kind: HelmRelease -metadata: - name: code - namespace: dev -spec: - interval: 5m - chart: - spec: - chart: app-template - version: 1.3.x - sourceRef: - kind: HelmRepository - name: bjws-charts - namespace: flux-system - - values: - # Add init container for pulling znc modules and putting them into the modules directory -# initContainers: -# pull-module-source: -# image: alpine:latest -# command: -# - "sh" -# - "-c" -# - "sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list &&" -# volumeMounts: -# - mountPath: /znc-data -# name: config - - image: - repository: codercom/code-server - tag: "4.89.1" - - service: - main: - ports: - http: - port: 8080 - - probes: - liveness: - enabled: false - - ingress: - main: - enabled: true - annotations: - cert-manager.io/cluster-issuer: letsencrypt-production - traefik.ingress.kubernetes.io/router.entrypoints: websecure - traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd - hosts: - - host: &host "code.${SECRET_NEW_DOMAIN}" - paths: - - path: / - pathType: Prefix - tls: - - hosts: - - *host - -# persistence: -# config: -# enabled: true -# type: hostPath -# hostPath: /mnt/MainPool/Kubernetes/znc -# mountPath: /znc-data - - resources: - requests: - cpu: 1m - memory: 4Mi -# limits: -# memory: 200Mi diff --git a/cluster/apps/dev/code/kustomization.yaml b/cluster/apps/dev/code/kustomization.yaml deleted file mode 100644 index ea3145d..0000000 --- a/cluster/apps/dev/code/kustomization.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- ./helm-release.yaml \ No newline at end of file diff --git a/cluster/apps/download/qbittorrent/helm-release.yaml b/cluster/apps/download/qbittorrent/helm-release.yaml index caaa2c4..ed9f208 100644 --- a/cluster/apps/download/qbittorrent/helm-release.yaml +++ b/cluster/apps/download/qbittorrent/helm-release.yaml @@ -59,23 +59,6 @@ spec: add: - NET_ADMIN - probes: - liveness: - enabled: true - custom: true - - spec: - exec: - command: - - /bin/sh - - -c - # if the vpn is connected, it should have internet - - ping -c 1 google.com - initialDelaySeconds: 30 - periodSeconds: 60 - failureThreshold: 5 - timeoutSeconds: 15 - port-manager: image: repository: git.seanomik.net/seanomik/gluetun-qbit-port-updater