add precommit hooks

This commit is contained in:
2024-12-30 17:20:01 -06:00
parent 936e4a4831
commit c151d425a0
28 changed files with 41 additions and 31 deletions

View File

@@ -1,2 +1,2 @@
# This file is processed by Renovate bot so that it creates a PR on new major Renovate versions # This file is processed by Renovate bot so that it creates a PR on new major Renovate versions
FROM renovate/renovate:39 FROM renovate/renovate:39

11
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,11 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files
- id: check-yaml
exclude: '^.*\/templates\/.*$'
args:
- --multi

View File

@@ -24,7 +24,7 @@ spec:
yearly: 4 yearly: 4
moverSecurityContext: moverSecurityContext:
runAsUser: 1000 runAsUser: 1000
runAsGroup: 100 runAsGroup: 100
copyMethod: Snapshot copyMethod: Snapshot
storageClassName: ceph-block-delete storageClassName: ceph-block-delete
volumeSnapshotClassName: ceph-blockpool-snapshot volumeSnapshotClassName: ceph-blockpool-snapshot

View File

@@ -9,7 +9,7 @@ code-server:
main: main:
image: image:
repository: ghcr.io/linuxserver/code-server repository: ghcr.io/linuxserver/code-server
tag: 4.96.2@sha256:c181b7a2ae59940f276c89fd86cd4f220cdb87886d771b5becf3d4156b3c0bc1 tag: 4.96.2@sha256:c181b7a2ae59940f276c89fd86cd4f220cdb87886d771b5becf3d4156b3c0bc1
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
env: env:
- name: TZ - name: TZ

View File

@@ -31,7 +31,7 @@ spec:
- 44 - 44
- 100 - 100
- 109 - 109
- 65539 - 65539
copyMethod: Snapshot copyMethod: Snapshot
storageClassName: ceph-block-delete storageClassName: ceph-block-delete
volumeSnapshotClassName: ceph-blockpool-snapshot volumeSnapshotClassName: ceph-blockpool-snapshot

View File

@@ -52,4 +52,4 @@ spec:
decodingStrategy: None decodingStrategy: None
key: /digital-ocean/home-infra/postgres-backups key: /digital-ocean/home-infra/postgres-backups
metadataPolicy: None metadataPolicy: None
property: secret property: secret

View File

@@ -17,7 +17,7 @@ sources:
- https://github.com/jellyfin/jellyfin-vue/pkgs/container/jellyfin-vue - https://github.com/jellyfin/jellyfin-vue/pkgs/container/jellyfin-vue
- https://github.com/bjw-s/helm-charts/tree/main/charts/other/app-template - https://github.com/bjw-s/helm-charts/tree/main/charts/other/app-template
maintainers: maintainers:
- name: alexlebens - name: alexlebens
dependencies: dependencies:
- name: app-template - name: app-template
alias: jellyfin alias: jellyfin

View File

@@ -26,7 +26,7 @@ jellyfin:
requests: requests:
gpu.intel.com/i915: 1 gpu.intel.com/i915: 1
cpu: 100m cpu: 100m
memory: 1Gi memory: 1Gi
vue: vue:
type: deployment type: deployment
replicas: 1 replicas: 1

View File

@@ -18,7 +18,7 @@ spec:
- ReadWriteMany - ReadWriteMany
nfs: nfs:
path: /volume2/Storage/Audiobooks/ path: /volume2/Storage/Audiobooks/
server: synologybond.alexlebens.net server: synologybond.alexlebens.net
mountOptions: mountOptions:
- vers=4 - vers=4
- minorversion=1 - minorversion=1

View File

@@ -27,6 +27,6 @@ dependencies:
- name: postgres-cluster - name: postgres-cluster
alias: postgres-17-cluster alias: postgres-17-cluster
version: 4.0.0 version: 4.0.0
repository: http://alexlebens.github.io/helm-charts repository: http://alexlebens.github.io/helm-charts
icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/sonarr.png icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/sonarr.png
appVersion: 4.0.11 appVersion: 4.0.11

View File

@@ -58,13 +58,13 @@ applicationSet:
jsonPointers: jsonPointers:
- /spec/claimRef/resourceVersion - /spec/claimRef/resourceVersion
- /spec/claimRef/uid - /spec/claimRef/uid
- /status/lastPhaseTransitionTime - /status/lastPhaseTransitionTime
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true
syncOptions: syncOptions:
serverSideApply: true serverSideApply: true
RespectIgnoreDifferences: true RespectIgnoreDifferences: true
- name: services - name: services
ignoreDifferences: ignoreDifferences:
- group: "" - group: ""
@@ -94,10 +94,10 @@ applicationSet:
jsonPointers: jsonPointers:
- /spec/claimRef/resourceVersion - /spec/claimRef/resourceVersion
- /spec/claimRef/uid - /spec/claimRef/uid
- /status/lastPhaseTransitionTime - /status/lastPhaseTransitionTime
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true
syncOptions: syncOptions:
serverSideApply: true serverSideApply: true
RespectIgnoreDifferences: true RespectIgnoreDifferences: true

View File

@@ -57,4 +57,4 @@ data:
/* Change link color to white */ /* Change link color to white */
.a { .a {
color: white; color: white;
} }

View File

@@ -13,7 +13,7 @@ rules:
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- pods - pods
- pods/exec - pods/exec
verbs: verbs:
- create - create

View File

@@ -447,4 +447,3 @@ spec:
key: /digital-ocean/home-infra/postgres-backups key: /digital-ocean/home-infra/postgres-backups
metadataPolicy: None metadataPolicy: None
property: secret property: secret

View File

@@ -18,4 +18,4 @@ spec:
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: qbittorrent app.kubernetes.io/name: qbittorrent
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}

View File

@@ -59,7 +59,7 @@ cilium:
enabled: true enabled: true
ipv6: ipv6:
enabled: false enabled: false
kubeProxyReplacement: "true" kubeProxyReplacement: "true"
k8sServiceHost: "localhost" k8sServiceHost: "localhost"
k8sServicePort: "7445" k8sServicePort: "7445"
l2announcements: l2announcements:
@@ -76,7 +76,7 @@ cilium:
enabled: true enabled: true
operator: operator:
enabled: true enabled: true
rollOutPods: true rollOutPods: true
prometheus: prometheus:
enabled: true enabled: true
port: 9963 port: 9963

View File

@@ -70,7 +70,7 @@ coredns:
- zones: - zones:
- zone: ts.net - zone: ts.net
use_tcp: true use_tcp: true
port: 53 port: 53
plugins: plugins:
- name: errors - name: errors
- name: cache - name: cache

View File

@@ -1,3 +1,3 @@
API_KEY="" API_KEY=""
ZONE=lebens-home.net ZONE=lebens-home.net
PROXIED=false PROXIED=false

View File

@@ -5,4 +5,4 @@ GITEA__database__HOST=gitea-postgres:5432
GITEA__database__NAME=gitea GITEA__database__NAME=gitea
GITEA__database__USER=gitea GITEA__database__USER=gitea
GITEA__database__PASSWD="" GITEA__database__PASSWD=""
GITEA__webhook__ALLOWED_HOST_LIST="*.lebens-home.net, 192.168.*.*, 172.27.*.*" GITEA__webhook__ALLOWED_HOST_LIST="*.lebens-home.net, 192.168.*.*, 172.27.*.*"

View File

@@ -1,3 +1,3 @@
POSTGRES_USER=gitea POSTGRES_USER=gitea
POSTGRES_PASSWORD="" POSTGRES_PASSWORD=""
POSTGRES_DB=gitea POSTGRES_DB=gitea

View File

@@ -1,3 +1,3 @@
ps10rp-docker: ps10rp-docker:
host: homepage-dockerproxy host: homepage-dockerproxy
port: 2375 port: 2375

View File

@@ -57,4 +57,4 @@
description: Unifi description: Unifi
href: https://unifi.lebens-home.net href: https://unifi.lebens-home.net
siteMonitor: https://unifi.lebens-home.net siteMonitor: https://unifi.lebens-home.net
statusStyle: dot statusStyle: dot

View File

@@ -9,4 +9,4 @@
latitude: 45.398 latitude: 45.398
longitude: -92.9874 longitude: -92.9874
units: imperial units: imperial
cache: 5 cache: 5

View File

@@ -2,4 +2,4 @@ TZ=US/Central
WEBPASSWORD="" WEBPASSWORD=""
RATE_LIMIT=0/0 RATE_LIMIT=0/0
FTLCONF_MAXDBDAYS=14 FTLCONF_MAXDBDAYS=14
WEB_PORT=8080 WEB_PORT=8080

View File

@@ -3,4 +3,4 @@ PIHOLE_API_TOKEN=""
PIHOLE_PROTOCOL=http PIHOLE_PROTOCOL=http
PIHOLE_PORT=8080 PIHOLE_PORT=8080
INTERVAL=90s INTERVAL=90s
PORT=9617 PORT=9617

View File

@@ -2,4 +2,4 @@ TS_AUTHKEY=""
TS_HOSTNAME=ps10rp TS_HOSTNAME=ps10rp
TS_ROUTES=192.168.5.0/24 TS_ROUTES=192.168.5.0/24
TS_STATE_DIR=/var/lib/tailscale TS_STATE_DIR=/var/lib/tailscale
TS_EXTRA_ARGS=--stateful-filtering=false --snat-subnet-routes=false TS_EXTRA_ARGS=--stateful-filtering=false --snat-subnet-routes=false

View File

@@ -1,3 +1,3 @@
CF_API_EMAIL=alexanderlebens@gmail.com CF_API_EMAIL=alexanderlebens@gmail.com
CF_API_KEY="" CF_API_KEY=""
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

View File

@@ -2,4 +2,4 @@ TZ=US/Central
WATCHTOWER_HTTP_API_METRICS=true WATCHTOWER_HTTP_API_METRICS=true
WATCHTOWER_HTTP_API_TOKEN=token WATCHTOWER_HTTP_API_TOKEN=token
WATCHTOWER_CLEANUP=true WATCHTOWER_CLEANUP=true
WATCHTOWER_POLL_INTERVAL=3600 WATCHTOWER_POLL_INTERVAL=3600