diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..fd16ba2 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,10 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.2.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files diff --git a/README.md b/README.md index c29ccef..65a4ca1 100644 --- a/README.md +++ b/README.md @@ -7,5 +7,3 @@ A [Flux](https://fluxcd.io) repo describing my current at home kubernetes cluste Find the actual, in production version of this repo on my [Gitea Repository](https://git.clortox.com/Infrastructure/Gluttony-Cluster). Here you will also find in use issues denoting things I plan to add to this repository. Find the mirror of this repository on [Github](https://github.com/Clortox/Gluttony-Cluster). - - diff --git a/api/api-service.yaml b/api/api-service.yaml index 72b47da..e593432 100644 --- a/api/api-service.yaml +++ b/api/api-service.yaml @@ -6,10 +6,9 @@ metadata: spec: type: LoadBalancer ports: - - name: general-api + - name: general-api port: 8080 targetPort: 80 selector: - app: api-apps - + app: api-apps diff --git a/api/general-api/general-api-config-map.yaml b/api/general-api/general-api-config-map.yaml index e84c56d..a42e892 100644 --- a/api/general-api/general-api-config-map.yaml +++ b/api/general-api/general-api-config-map.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: general-api-config-map - namespace: api-ns + namespace: api-ns data: config.yaml: | images: @@ -13,4 +13,3 @@ data: secure: True weather: period: 15 - diff --git a/api/general-api/general-api-deployment.yaml b/api/general-api/general-api-deployment.yaml index d10487a..25fb235 100644 --- a/api/general-api/general-api-deployment.yaml +++ b/api/general-api/general-api-deployment.yaml @@ -44,5 +44,3 @@ spec: items: - key: config.yaml path: config.yaml - - diff --git a/authentik/helmrelease-authentik.yaml b/authentik/helmrelease-authentik.yaml index 6fdd16c..cbb6f07 100644 --- a/authentik/helmrelease-authentik.yaml +++ b/authentik/helmrelease-authentik.yaml @@ -13,7 +13,7 @@ spec: kind: HelmRepository name: authentik namespace: flux-system - interval: 15m0s + interval: 15m0s timeout: 5m releaseName: authentik values: @@ -39,7 +39,7 @@ spec: image: repository: ghcr.io/goauthentik/server tag: 2023.8.3 - #tag: latest + #tag: latest # -- optional container image digest digest: "" pullPolicy: IfNotPresent @@ -141,7 +141,7 @@ spec: envValueFrom: AUTHENTIK_SECRET_KEY: secretKeyRef: - name: authentik-secret + name: authentik-secret key: secret-key AUTHENTIK_POSTGRESQL__PASSWORD: secretKeyRef: @@ -278,4 +278,3 @@ spec: enabled: false image: tag: 6.2.10-debian-11-r13 - diff --git a/base/authentik/authentik-helm-repo.yaml b/base/authentik/authentik-helm-repo.yaml index 8f100ab..60c5ead 100644 --- a/base/authentik/authentik-helm-repo.yaml +++ b/base/authentik/authentik-helm-repo.yaml @@ -3,7 +3,6 @@ kind: HelmRepository metadata: name: authentik namespace: flux-system -spec: +spec: interval: 5m0s url: https://charts.goauthentik.io/ - diff --git a/base/bitnami/bitnami-helm-repo.yaml b/base/bitnami/bitnami-helm-repo.yaml index 2ea6655..090474c 100644 --- a/base/bitnami/bitnami-helm-repo.yaml +++ b/base/bitnami/bitnami-helm-repo.yaml @@ -1,8 +1,8 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1 kind: HelmRepository metadata: - name: bitnami + name: bitnami namespace: flux-system -spec: - interval: 5m0s +spec: + interval: 5m0s url: "https://charts.bitnami.com/bitnami" diff --git a/base/firefly-iii/firefly-iii-helm-repo.yaml b/base/firefly-iii/firefly-iii-helm-repo.yaml index 3db9d55..ebd40ba 100644 --- a/base/firefly-iii/firefly-iii-helm-repo.yaml +++ b/base/firefly-iii/firefly-iii-helm-repo.yaml @@ -1,9 +1,8 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1 kind: HelmRepository metadata: - name: firefly-iii + name: firefly-iii namespace: flux-system -spec: +spec: interval: 5m0s url: https://firefly-iii.github.io/kubernetes/ - diff --git a/base/fission/fission-helm-repo.yaml b/base/fission/fission-helm-repo.yaml index 5f3d8dc..5574369 100644 --- a/base/fission/fission-helm-repo.yaml +++ b/base/fission/fission-helm-repo.yaml @@ -6,4 +6,3 @@ metadata: spec: interval: 5m url: https://fission.github.io/fission-charts - diff --git a/base/invidious/invidious-namespace.yaml b/base/invidious/invidious-namespace.yaml index f78f471..254f6a7 100644 --- a/base/invidious/invidious-namespace.yaml +++ b/base/invidious/invidious-namespace.yaml @@ -2,4 +2,3 @@ apiVersion: v1 kind: Namespace metadata: name: invidious-ns - diff --git a/base/k8s-homelab/k8s-homelab-helm-repo.yaml b/base/k8s-homelab/k8s-homelab-helm-repo.yaml index cb0f8d8..5ab2b7e 100644 --- a/base/k8s-homelab/k8s-homelab-helm-repo.yaml +++ b/base/k8s-homelab/k8s-homelab-helm-repo.yaml @@ -3,7 +3,6 @@ kind: HelmRepository metadata: name: k8s-homelab namespace: flux-system -spec: +spec: interval: 5m0s url: https://k8s-home-lab.github.io/helm-charts/ - diff --git a/base/metallb/metallb-kustomization-config.yaml b/base/metallb/metallb-kustomization-config.yaml index 4ffe588..cd46ad1 100644 --- a/base/metallb/metallb-kustomization-config.yaml +++ b/base/metallb/metallb-kustomization-config.yaml @@ -5,8 +5,8 @@ metadata: namespace: flux-system spec: interval: 15m - dependsOn: - - name: metallb--metallb-system + dependsOn: + - name: metallb--metallb-system path: metallb prune: true # remove any elements later removed from the above path timeout: 2m # if not set, this defaults to interval duration, which is 1h diff --git a/base/runix/runix-helm-repo.yaml b/base/runix/runix-helm-repo.yaml index 2c23a5d..5ff8b36 100644 --- a/base/runix/runix-helm-repo.yaml +++ b/base/runix/runix-helm-repo.yaml @@ -1,8 +1,8 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1 kind: HelmRepository metadata: - name: runix + name: runix namespace: flux-system -spec: - interval: 5m0s +spec: + interval: 5m0s url: "https://helm.runix.net" diff --git a/base/sealed-secrets/sealed-secrets-kustomization.yaml b/base/sealed-secrets/sealed-secrets-kustomization.yaml index 47ef9f2..94e51f7 100644 --- a/base/sealed-secrets/sealed-secrets-kustomization.yaml +++ b/base/sealed-secrets/sealed-secrets-kustomization.yaml @@ -16,4 +16,3 @@ spec: kind: Deployment name: sealed-secrets namespace: sealed-secrets - diff --git a/base/truecharts/truecharts-helm-repo.yaml b/base/truecharts/truecharts-helm-repo.yaml index 93f4fe5..448c254 100644 --- a/base/truecharts/truecharts-helm-repo.yaml +++ b/base/truecharts/truecharts-helm-repo.yaml @@ -1,9 +1,8 @@ apiVersion: source.toolkit.fluxcd.io/v1beta1 kind: HelmRepository metadata: - name: truecharts + name: truecharts namespace: flux-system -spec: +spec: interval: 5m0s url: https://charts.truecharts.org/ - diff --git a/firefly-iii/catagorize-ai-service.yaml b/firefly-iii/catagorize-ai-service.yaml index 95b55cd..e519457 100644 --- a/firefly-iii/catagorize-ai-service.yaml +++ b/firefly-iii/catagorize-ai-service.yaml @@ -11,4 +11,3 @@ spec: port: 3000 targetPort: 3000 type: ClusterIP - diff --git a/firefly-iii/catagorize-ai.yaml b/firefly-iii/catagorize-ai.yaml index 8e21023..1bb0939 100644 --- a/firefly-iii/catagorize-ai.yaml +++ b/firefly-iii/catagorize-ai.yaml @@ -11,7 +11,7 @@ spec: template: metadata: labels: - app: firefly-iii + app: firefly-iii spec: containers: - name: catagorize-ai @@ -22,7 +22,7 @@ spec: - name: FIREFLY_URL value: https://money.clortox.com - name: ENABLE_UI - value: "true" + value: "true" - name: FIREFLY_PERSONAL_TOKEN valueFrom: secretKeyRef: @@ -33,6 +33,3 @@ spec: secretKeyRef: name: firefly-iii-ai key: OPENAI - - - diff --git a/firefly-iii/helmrelease-firefly-iii.yaml b/firefly-iii/helmrelease-firefly-iii.yaml index 967829c..90a57a2 100644 --- a/firefly-iii/helmrelease-firefly-iii.yaml +++ b/firefly-iii/helmrelease-firefly-iii.yaml @@ -1,8 +1,8 @@ apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: - name: firefly - namespace: firefly-ns + name: firefly + namespace: firefly-ns spec: chart: spec: @@ -11,7 +11,7 @@ spec: kind: HelmRepository name: firefly-iii namespace: flux-system - interval: 15m0s + interval: 15m0s timeout: 5m releaseName: firefly-iii values: @@ -131,7 +131,7 @@ spec: # runAsUser: 1000 service: - type: LoadBalancer + type: LoadBalancer port: 80 ingress: diff --git a/fission/helmrelease-fission.yaml.off b/fission/helmrelease-fission.yaml.off index efc7ecc..8ad2797 100644 --- a/fission/helmrelease-fission.yaml.off +++ b/fission/helmrelease-fission.yaml.off @@ -24,7 +24,7 @@ spec: ## routerServiceType to consider while creating Fission Router service. ## For minikube, set this to NodePort, elsewhere use LoadBalancer or ClusterIP. ## - routerServiceType: LoadBalancer + routerServiceType: LoadBalancer ## repository represents base repository for images used in the chart. ## Keep it empty for using existing local image @@ -46,7 +46,7 @@ spec: ## pullPolicy: IfNotPresent - ## imageppullsecrets + ## imageppullsecrets imagePullSecrets: [] ## priorityClassName represents the priority class name to use for Fission components. @@ -95,7 +95,7 @@ spec: functionNamespace: "" ## Fission will watch the following namespaces along with the `defaultNamespace` for fission custom resources. - ## additionalFissionNamespaces: + ## additionalFissionNamespaces: ## - namespace1 ## - namespace2 ## - namespace3 @@ -157,7 +157,7 @@ spec: ## This is applicable to Pool Manager executor type only. ## podReadyTimeout: 300s - + ## Pod resources as: ## resources: ## limits: @@ -330,7 +330,7 @@ spec: runAsGroup: 10001 ## The builder manager watches the package & environments CRD changes and manages the builds of function source code. - ## + ## buildermgr: ## Pod resources as: ## resources: @@ -381,10 +381,10 @@ spec: runAsNonRoot: true fsGroup: 10001 runAsUser: 10001 - runAsGroup: 10001 + runAsGroup: 10001 ## webhook is the component that validates API calls. - ## It contains validation and mutation for functions, triggers, environments, Kubernetes event watches, etc. + ## It contains validation and mutation for functions, triggers, environments, Kubernetes event watches, etc. ## webhook: ## Pod resources as: @@ -563,7 +563,7 @@ spec: # key: "value" # The following components expose Prometheus metrics and have podmonitors in this chart (disabled by default) - # + # podMonitor: enabled: false ##namespace in which you want to deploy podmonitor @@ -592,14 +592,14 @@ spec: ## Sample configuration for AWS s3 storage backend ## #s3: - # bucketName: + # bucketName: # subDir: # accessKeyId: - # secretAccessKey: + # secretAccessKey: # region: ## #For Minio and other s3 compatible storage systems set endPoint property # endPoint: - + ## A manually managed Persistent Volume Claim name ## Requires persistence.enabled: true ## If defined, PVC must be created manually before volume will be bound @@ -776,7 +776,7 @@ spec: ## in seconds ## default '120' ## - jwtExpiryTime: + jwtExpiryTime: ## jwtIssuer is the issuer of JWT ## default 'fission' ## @@ -881,7 +881,7 @@ spec: ## Setting it false by default so that integration tests pass ## enabled: false - + ## Checkout PodSpec in https://fission.io/docs/reference/crd-reference/#runtime ## podSpec: @@ -923,5 +923,3 @@ spec: dashboards: ## Disabled by default. switch to true to deploy them enable: false - - diff --git a/freshrss/freshrss-deployment.yaml b/freshrss/freshrss-deployment.yaml index 20ca6ea..f54bc92 100644 --- a/freshrss/freshrss-deployment.yaml +++ b/freshrss/freshrss-deployment.yaml @@ -56,4 +56,3 @@ spec: - name: freshrss-storage persistentVolumeClaim: claimName: freshrss-pvc - diff --git a/freshrss/freshrss-pvc.yaml b/freshrss/freshrss-pvc.yaml index bac3486..d3445ef 100644 --- a/freshrss/freshrss-pvc.yaml +++ b/freshrss/freshrss-pvc.yaml @@ -10,4 +10,3 @@ spec: resources: requests: storage: 1Gi - diff --git a/freshrss/freshrss-service.yaml b/freshrss/freshrss-service.yaml index 6c46c74..d87a6d4 100644 --- a/freshrss/freshrss-service.yaml +++ b/freshrss/freshrss-service.yaml @@ -11,4 +11,3 @@ spec: port: 80 targetPort: 80 type: LoadBalancer - diff --git a/games/factorio/factorio-deployment.yaml b/games/factorio/factorio-deployment.yaml index b45dd93..3915934 100644 --- a/games/factorio/factorio-deployment.yaml +++ b/games/factorio/factorio-deployment.yaml @@ -1,20 +1,20 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: factorio + name: factorio namespace: games-ns spec: replicas: 1 selector: matchLabels: - app: games + app: games template: metadata: labels: - app: games + app: games spec: containers: - - name: factorio + - name: factorio image: factoriotools/factorio:stable ports: - containerPort: 34179 @@ -26,4 +26,3 @@ spec: - name: factorio-save persistentVolumeClaim: claimName: factorio-pvc - diff --git a/games/factorio/factorio-pvc.yaml b/games/factorio/factorio-pvc.yaml index 049b3dc..3777647 100644 --- a/games/factorio/factorio-pvc.yaml +++ b/games/factorio/factorio-pvc.yaml @@ -10,4 +10,3 @@ spec: resources: requests: storage: 8Gi - diff --git a/games/games-service.yaml b/games/games-service.yaml index 9066cc9..4a7b686 100644 --- a/games/games-service.yaml +++ b/games/games-service.yaml @@ -5,7 +5,7 @@ metadata: namespace: games-ns spec: selector: - app: games + app: games ports: - name: factorio protocol: UDP @@ -16,4 +16,3 @@ spec: port: 27015 targetPort: 27015 type: LoadBalancer - diff --git a/grafana/grafana-deployment.yaml b/grafana/grafana-deployment.yaml index ffa44ae..7ee5af6 100644 --- a/grafana/grafana-deployment.yaml +++ b/grafana/grafana-deployment.yaml @@ -33,7 +33,7 @@ spec: value: "true" - name: GF_AUTH_GENERIC_OAUTH_CLIENT_ID valueFrom: - secretKeyRef: + secretKeyRef: name: grafana-oauth key: OAUTH_CLIENT_ID - name: GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET diff --git a/invidious/invidious-deployment.yaml b/invidious/invidious-deployment.yaml index 5fbd8a9..d94bdb3 100644 --- a/invidious/invidious-deployment.yaml +++ b/invidious/invidious-deployment.yaml @@ -32,7 +32,7 @@ spec: valueFrom: secretKeyRef: name: invidious-secret - key: hmac + key: hmac - name: INVIDIOUS_CONFIG value: | db: diff --git a/invidious/invidious-service.yaml b/invidious/invidious-service.yaml index 2c863fb..0f6065d 100644 --- a/invidious/invidious-service.yaml +++ b/invidious/invidious-service.yaml @@ -11,4 +11,3 @@ spec: targetPort: 3000 selector: app: invidious - diff --git a/metallb/helmrelease-metallb.yaml b/metallb/helmrelease-metallb.yaml index 70a16a5..53a667d 100644 --- a/metallb/helmrelease-metallb.yaml +++ b/metallb/helmrelease-metallb.yaml @@ -18,4 +18,4 @@ spec: valuesFrom: - kind: ConfigMap name: metallb-helm-chart-value-overrides - valuesKey: values.yaml + valuesKey: values.yaml diff --git a/minio/helmrelease-minio.yaml b/minio/helmrelease-minio.yaml index 5753ddd..a92942e 100644 --- a/minio/helmrelease-minio.yaml +++ b/minio/helmrelease-minio.yaml @@ -9,9 +9,9 @@ spec: chart: minio sourceRef: kind: HelmRepository - name: minio + name: minio namespace: flux-system - interval: 15m0s + interval: 15m0s timeout: 5m releaseName: minio values: diff --git a/node-red/node-red-configmap.yaml b/node-red/node-red-configmap.yaml index 94ec374..08bfd4c 100644 --- a/node-red/node-red-configmap.yaml +++ b/node-red/node-red-configmap.yaml @@ -565,4 +565,3 @@ data: // */ //}, } - diff --git a/node-red/node-red-deployment.yaml b/node-red/node-red-deployment.yaml index ffb68ae..7a7da4e 100644 --- a/node-red/node-red-deployment.yaml +++ b/node-red/node-red-deployment.yaml @@ -1,17 +1,17 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: node-red + name: node-red namespace: node-red-ns spec: replicas: 1 selector: matchLabels: - app: node-red + app: node-red template: metadata: labels: - app: node-red + app: node-red spec: securityContext: fsGroup: 1000 @@ -27,10 +27,9 @@ spec: mountPath: /data/settings.js subPath: settings.js volumes: - - name: node-red-data + - name: node-red-data persistentVolumeClaim: claimName: node-red-pvc - name: settings-file configMap: name: nodered-settings - diff --git a/node-red/node-red-pvc.yaml b/node-red/node-red-pvc.yaml index b70e130..567105e 100644 --- a/node-red/node-red-pvc.yaml +++ b/node-red/node-red-pvc.yaml @@ -10,4 +10,3 @@ spec: resources: requests: storage: 1Gi - diff --git a/node-red/node-red-service.yaml b/node-red/node-red-service.yaml index e5c14f6..a3538bf 100644 --- a/node-red/node-red-service.yaml +++ b/node-red/node-red-service.yaml @@ -5,10 +5,9 @@ metadata: namespace: node-red-ns spec: selector: - app: node-red + app: node-red ports: - protocol: TCP port: 80 targetPort: 1880 type: LoadBalancer - diff --git a/paperless-ngx/paperless-ngx-consume-pvc.yaml b/paperless-ngx/paperless-ngx-consume-pvc.yaml index 7e63eb4..6e1de66 100644 --- a/paperless-ngx/paperless-ngx-consume-pvc.yaml +++ b/paperless-ngx/paperless-ngx-consume-pvc.yaml @@ -10,4 +10,3 @@ spec: resources: requests: storage: 2Gi - diff --git a/paperless-ngx/paperless-ngx-data-pvc.yaml b/paperless-ngx/paperless-ngx-data-pvc.yaml index df94c65..85884a0 100644 --- a/paperless-ngx/paperless-ngx-data-pvc.yaml +++ b/paperless-ngx/paperless-ngx-data-pvc.yaml @@ -10,4 +10,3 @@ spec: resources: requests: storage: 10Gi - diff --git a/paperless-ngx/paperless-ngx-deployment.yaml b/paperless-ngx/paperless-ngx-deployment.yaml index 11457fc..02e79b9 100644 --- a/paperless-ngx/paperless-ngx-deployment.yaml +++ b/paperless-ngx/paperless-ngx-deployment.yaml @@ -60,7 +60,7 @@ spec: - name: PAPERLESS_DBHOST value: postgresql.postgresql-system.svc.cluster.local - name: PAPERLESS_DBPORT - value: "5432" + value: "5432" - name: PAPERLESS_DBUSER value: "paperless" - name: PAPERLESS_DBPASS diff --git a/paperless-ngx/paperless-ngx-media-pvc.yaml b/paperless-ngx/paperless-ngx-media-pvc.yaml index f407d73..3e7381c 100644 --- a/paperless-ngx/paperless-ngx-media-pvc.yaml +++ b/paperless-ngx/paperless-ngx-media-pvc.yaml @@ -10,4 +10,3 @@ spec: resources: requests: storage: 30Gi - diff --git a/pgadmin/helmrelease-pgadmin.yaml b/pgadmin/helmrelease-pgadmin.yaml index 4bf34b9..f14e621 100644 --- a/pgadmin/helmrelease-pgadmin.yaml +++ b/pgadmin/helmrelease-pgadmin.yaml @@ -6,12 +6,12 @@ metadata: spec: chart: spec: - chart: pgadmin4 + chart: pgadmin4 sourceRef: kind: HelmRepository - name: runix + name: runix namespace: flux-system - interval: 15m0s + interval: 15m0s timeout: 5m releaseName: pgadmin values: @@ -214,7 +214,7 @@ spec: ## If true, pgAdmin4 will create/use a Persistent Volume Claim ## If false, use emptyDir ## - enabled: true + enabled: true ## pgAdmin4 Persistent Volume Claim annotations ## @@ -375,4 +375,3 @@ spec: runAsUser: 5051 runAsGroup: 5051 fsGroup: 5051 - diff --git a/plex/helmrelease-plex.yaml b/plex/helmrelease-plex.yaml index d33e7e2..9b0168c 100644 --- a/plex/helmrelease-plex.yaml +++ b/plex/helmrelease-plex.yaml @@ -14,7 +14,7 @@ spec: kind: HelmRepository name: k8s-homelab namespace: flux-system - interval: 15m0s + interval: 15m0s timeout: 5m releaseName: plex values: @@ -98,7 +98,7 @@ spec: # @default -- See values.yaml persistence: config: - enabled: true + enabled: true existingClaim: "plex-pvc-config" storageClass: "local-storage" size: 120Gi @@ -144,4 +144,3 @@ spec: # # using intel-gpu-plugin (https://github.com/intel/intel-device-plugins-for-kubernetes) # gpu.intel.com/i915: 1 # memory: 4096Mi - diff --git a/postgresql/helmrelease-postgresql.yaml b/postgresql/helmrelease-postgresql.yaml index 943c0b4..74f6005 100644 --- a/postgresql/helmrelease-postgresql.yaml +++ b/postgresql/helmrelease-postgresql.yaml @@ -11,7 +11,7 @@ spec: kind: HelmRepository name: bitnami namespace: flux-system - interval: 15m0s + interval: 15m0s timeout: 5m releaseName: postgresql values: @@ -612,7 +612,7 @@ spec: service: ## @param primary.service.type Kubernetes Service type ## - type: ClusterIP + type: ClusterIP ## @param primary.service.ports.postgresql PostgreSQL service port ## ports: diff --git a/prometheus/prometheus-deployment.yaml b/prometheus/prometheus-deployment.yaml index 7f9cbdc..3d6ab3e 100644 --- a/prometheus/prometheus-deployment.yaml +++ b/prometheus/prometheus-deployment.yaml @@ -34,4 +34,3 @@ spec: - name: prometheus-storage persistentVolumeClaim: claimName: prometheus-pvc - diff --git a/prometheus/prometheus-pvc.yaml b/prometheus/prometheus-pvc.yaml index 29bf798..4313273 100644 --- a/prometheus/prometheus-pvc.yaml +++ b/prometheus/prometheus-pvc.yaml @@ -12,4 +12,3 @@ spec: resources: requests: storage: 10Gi - diff --git a/prometheus/prometheus-service.yaml b/prometheus/prometheus-service.yaml index 43593a6..930f59f 100644 --- a/prometheus/prometheus-service.yaml +++ b/prometheus/prometheus-service.yaml @@ -14,4 +14,3 @@ spec: name: http selector: app: prometheus - diff --git a/redis/helmrelease-redis.yaml b/redis/helmrelease-redis.yaml index b74893d..11744ee 100644 --- a/redis/helmrelease-redis.yaml +++ b/redis/helmrelease-redis.yaml @@ -1,19 +1,19 @@ apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: - name: redis + name: redis namespace: redis-system spec: chart: spec: - chart: redis + chart: redis sourceRef: kind: HelmRepository name: bitnami namespace: flux-system - interval: 15m0s + interval: 15m0s timeout: 5m - releaseName: redis + releaseName: redis values: # Copyright VMware, Inc. # SPDX-License-Identifier: APACHE-2.0 @@ -133,7 +133,7 @@ spec: ## @param architecture Redis® architecture. Allowed values: `standalone` or `replication` ## - architecture: standalone + architecture: standalone ## Redis® Authentication parameters ## ref: https://github.com/bitnami/containers/tree/main/bitnami/redis#setting-the-server-password-on-first-run ## @@ -520,7 +520,7 @@ spec: service: ## @param master.service.type Redis® master service type ## - type: ClusterIP + type: ClusterIP ## @param master.service.ports.redis Redis® master service port ## ports: diff --git a/sealed-secrets/config-map-overrides.yaml b/sealed-secrets/config-map-overrides.yaml index 2552256..e9316a0 100644 --- a/sealed-secrets/config-map-overrides.yaml +++ b/sealed-secrets/config-map-overrides.yaml @@ -88,10 +88,10 @@ data: ## additionalNamespaces: [] ## @param privateKeyAnnotations Map of annotations to be set on the sealing keypairs - ## + ## privateKeyAnnotations: {} ## @param privateKeyLabels Map of labels to be set on the sealing keypairs - ## + ## privateKeyLabels: {} ## @param logInfoStdout Specifies whether the Sealed Secrets controller will log info to stdout ## diff --git a/sealed-secrets/helmrelease-sealed-secrets.yaml b/sealed-secrets/helmrelease-sealed-secrets.yaml index b6a0d5b..6db550f 100644 --- a/sealed-secrets/helmrelease-sealed-secrets.yaml +++ b/sealed-secrets/helmrelease-sealed-secrets.yaml @@ -19,4 +19,3 @@ spec: - kind: ConfigMap name: sealed-secrets-helm-chart-value-overrides valuesKey: values.yaml # This is the default, but best to be explicit for clarity - diff --git a/tautulli/tautulli-deployment.yaml b/tautulli/tautulli-deployment.yaml index 1cd93d4..2311d90 100644 --- a/tautulli/tautulli-deployment.yaml +++ b/tautulli/tautulli-deployment.yaml @@ -1,23 +1,23 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: tautulli + name: tautulli namespace: tautulli-ns spec: replicas: 1 selector: matchLabels: - app: tautulli + app: tautulli template: metadata: labels: - app: tautulli + app: tautulli spec: securityContext: fsGroup: 1000 initContainers: - name: init-chown - image: alpine + image: alpine command: [ "sh", "-c", "chown -R 1000:1000 /mnt/data" ] volumeMounts: - name: tautulli-data @@ -27,7 +27,7 @@ spec: image: ghcr.io/tautulli/tautulli env: - name: PUID - value: "1000" + value: "1000" - name: PGID value: "1000" - name: TZ @@ -38,7 +38,6 @@ spec: - name: tautulli-data mountPath: "/config" volumes: - - name: tautulli-data + - name: tautulli-data persistentVolumeClaim: claimName: tautulli-pvc - diff --git a/tautulli/tautulli-pvc.yaml b/tautulli/tautulli-pvc.yaml index bc6c227..2e49121 100644 --- a/tautulli/tautulli-pvc.yaml +++ b/tautulli/tautulli-pvc.yaml @@ -10,4 +10,3 @@ spec: resources: requests: storage: 1Gi - diff --git a/tautulli/tautulli-service.yaml b/tautulli/tautulli-service.yaml index 76a9b18..8efd194 100644 --- a/tautulli/tautulli-service.yaml +++ b/tautulli/tautulli-service.yaml @@ -11,4 +11,3 @@ spec: port: 80 targetPort: 8181 type: LoadBalancer - diff --git a/torrenter/blackhole-pv.yaml b/torrenter/blackhole-pv.yaml index c722503..f7cd678 100644 --- a/torrenter/blackhole-pv.yaml +++ b/torrenter/blackhole-pv.yaml @@ -19,4 +19,3 @@ spec: operator: In values: - gluttony - diff --git a/torrenter/blackhole-pvc.yaml b/torrenter/blackhole-pvc.yaml index 6182759..08ee350 100644 --- a/torrenter/blackhole-pvc.yaml +++ b/torrenter/blackhole-pvc.yaml @@ -11,4 +11,3 @@ spec: resources: requests: storage: 1000Gi - diff --git a/torrenter/deluge/deluge-config-pvc.yaml b/torrenter/deluge/deluge-config-pvc.yaml index 627666b..f7cd18c 100644 --- a/torrenter/deluge/deluge-config-pvc.yaml +++ b/torrenter/deluge/deluge-config-pvc.yaml @@ -10,4 +10,3 @@ spec: resources: requests: storage: 1Gi - diff --git a/torrenter/deluge/deluge-deployment.yaml b/torrenter/deluge/deluge-deployment.yaml index 8fb0040..2239dc2 100644 --- a/torrenter/deluge/deluge-deployment.yaml +++ b/torrenter/deluge/deluge-deployment.yaml @@ -49,4 +49,3 @@ spec: - name: downloads-volume persistentVolumeClaim: claimName: blackhole-pvc - diff --git a/torrenter/media-pvc.yaml b/torrenter/media-pvc.yaml index e0b37c3..953ef7b 100644 --- a/torrenter/media-pvc.yaml +++ b/torrenter/media-pvc.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: media-pvc - namespace: torrent-ns + namespace: torrent-ns spec: volumeName: media-pv storageClassName: local-storage diff --git a/torrenter/prowlarr/prowlarr-deployment.yaml b/torrenter/prowlarr/prowlarr-deployment.yaml index 2a590b4..9066d6b 100644 --- a/torrenter/prowlarr/prowlarr-deployment.yaml +++ b/torrenter/prowlarr/prowlarr-deployment.yaml @@ -9,7 +9,7 @@ spec: replicas: 1 selector: matchLabels: - app: torrenter-apps + app: torrenter-apps template: metadata: labels: @@ -34,4 +34,3 @@ spec: - name: prowlarr-data persistentVolumeClaim: claimName: prowlarr-pvc - diff --git a/torrenter/prowlarr/prowlarr-pvc.yaml b/torrenter/prowlarr/prowlarr-pvc.yaml index b2daf01..bc2adbb 100644 --- a/torrenter/prowlarr/prowlarr-pvc.yaml +++ b/torrenter/prowlarr/prowlarr-pvc.yaml @@ -10,4 +10,3 @@ spec: resources: requests: storage: 1Gi - diff --git a/torrenter/radarr/radarr-config-pvc.yaml b/torrenter/radarr/radarr-config-pvc.yaml index 0c7c09e..7aee78f 100644 --- a/torrenter/radarr/radarr-config-pvc.yaml +++ b/torrenter/radarr/radarr-config-pvc.yaml @@ -10,4 +10,3 @@ spec: resources: requests: storage: 10Gi - diff --git a/torrenter/radarr/radarr-deployment.yaml b/torrenter/radarr/radarr-deployment.yaml index d104be0..d8db383 100644 --- a/torrenter/radarr/radarr-deployment.yaml +++ b/torrenter/radarr/radarr-deployment.yaml @@ -1,15 +1,15 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: radarr + name: radarr namespace: torrent-ns labels: - app: radarr + app: radarr spec: replicas: 1 selector: matchLabels: - app: torrenter-apps + app: torrenter-apps template: metadata: labels: @@ -25,7 +25,7 @@ spec: values: - gluttony containers: - - name: radarr + - name: radarr image: lscr.io/linuxserver/radarr:latest env: - name: PUID @@ -37,7 +37,7 @@ spec: ports: - containerPort: 7878 volumeMounts: - - name: radarr-config + - name: radarr-config mountPath: /config - name: downloads-volume mountPath: /downloads @@ -45,7 +45,7 @@ spec: mountPath: /movies subPath: movies/movies_normal volumes: - - name: radarr-config + - name: radarr-config persistentVolumeClaim: claimName: radarr-config-pvc - name: downloads-volume @@ -54,4 +54,3 @@ spec: - name: movies-storage persistentVolumeClaim: claimName: media-pvc - diff --git a/torrenter/torrenter-service.yaml b/torrenter/torrenter-service.yaml index a7160c3..634ad9c 100644 --- a/torrenter/torrenter-service.yaml +++ b/torrenter/torrenter-service.yaml @@ -10,16 +10,15 @@ spec: port: 9696 targetPort: 9696 - - name: deluge-ui + - name: deluge-ui port: 8112 targetPort: 8112 - - name: deluge-p2p - port: 6881 + - name: deluge-p2p + port: 6881 targetPort: 6881 - name: radarr port: 7878 targetPort: 7878 selector: - app: torrenter-apps - + app: torrenter-apps