From 24b57de1262d6c00e39182bd440016fc46e7a252 Mon Sep 17 00:00:00 2001 From: rasmus Date: Tue, 22 Jul 2025 01:38:40 +0300 Subject: [PATCH] trim spaces in codebase --- elastic-system/application.yml | 2 +- frigate/rabbitmq.yml | 4 ++-- frigate/transcode.yml | 8 ++++---- hackerspace/goredirect.yaml | 2 +- harbor/values.yaml | 1 - kubernetes-dashboard/application.yml | 2 +- nvidia/nvidia-device-plugin.yml | 2 +- passmower/application.yaml | 2 +- proxmox-csi/readme.md | 2 +- shared/backup-service.yml | 4 ++-- tigera-operator/custom-resources.yaml | 2 +- wildduck/haraka.yaml | 2 +- wildduck/wildduck.yaml | 2 +- wildduck/zonemta.yaml | 2 +- 14 files changed, 18 insertions(+), 19 deletions(-) diff --git a/elastic-system/application.yml b/elastic-system/application.yml index bb12814..f08b6b0 100644 --- a/elastic-system/application.yml +++ b/elastic-system/application.yml @@ -258,7 +258,7 @@ spec: co.elastic.logs/enabled: 'false' spec: containers: - - name: kibana + - name: kibana readinessProbe: httpGet: path: /app/home diff --git a/frigate/rabbitmq.yml b/frigate/rabbitmq.yml index 075cdfb..0d093c7 100644 --- a/frigate/rabbitmq.yml +++ b/frigate/rabbitmq.yml @@ -2,11 +2,11 @@ apiVersion: rabbitmq.com/v1beta1 kind: RabbitmqCluster metadata: name: frigate-mqtt -spec: +spec: replicas: 3 persistence: storageClassName: rabbitmq - storage: 10Gi + storage: 10Gi rabbitmq: additionalPlugins: - rabbitmq_mqtt diff --git a/frigate/transcode.yml b/frigate/transcode.yml index 9ad0652..cc27448 100644 --- a/frigate/transcode.yml +++ b/frigate/transcode.yml @@ -28,14 +28,14 @@ spec: operator: In values: - go2rtc - topologyKey: "kubernetes.io/hostname" + topologyKey: "kubernetes.io/hostname" nodeSelector: dedicated: nvr - tolerations: + tolerations: - key: dedicated operator: Equal value: nvr - effect: NoSchedule + effect: NoSchedule containers: - name: go2rtc image: alexxit/go2rtc @@ -78,4 +78,4 @@ spec: targetPort: rtsp selector: app.kubernetes.io/name: go2rtc - app.kubernetes.io/instance: go2rtc \ No newline at end of file + app.kubernetes.io/instance: go2rtc diff --git a/hackerspace/goredirect.yaml b/hackerspace/goredirect.yaml index 4e5be94..dae389b 100644 --- a/hackerspace/goredirect.yaml +++ b/hackerspace/goredirect.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - image: harbor.k-space.ee/k-space/goredirect:latest - imagePullPolicy: Always + imagePullPolicy: Always env: - name: GOREDIRECT_NOT_FOUND value: https://inventory.k-space.ee/m/inventory/add-by-slug/%s diff --git a/harbor/values.yaml b/harbor/values.yaml index 0d67979..941c70b 100644 --- a/harbor/values.yaml +++ b/harbor/values.yaml @@ -68,7 +68,6 @@ persistence: #multipartcopychunksize: "33554432" #multipartcopymaxconcurrency: 100 #multipartcopythresholdsize: "33554432" - # The initial password of Harbor admin. Change it from portal after launching Harbor # or give an existing secret for it diff --git a/kubernetes-dashboard/application.yml b/kubernetes-dashboard/application.yml index 50bff88..7e8720f 100644 --- a/kubernetes-dashboard/application.yml +++ b/kubernetes-dashboard/application.yml @@ -123,7 +123,7 @@ rules: - apiGroups: [""] resources: ["nodes", "namespaces", "pods", "serviceaccounts", "services", "configmaps", "endpoints", "persistentvolumeclaims", "replicationcontrollers", "replicationcontrollers/scale", "persistentvolumeclaims", "persistentvolumes", "bindings", "events", "limitranges", "namespaces/status", "pods/log", "pods/status", "replicationcontrollers/status", "resourcequotas", "resourcequotas/status"] verbs: ["get", "list", "watch"] - + - apiGroups: ["apps"] resources: ["daemonsets", "deployments", "deployments/scale", "replicasets", "replicasets/scale", "statefulsets"] verbs: ["get", "list", "watch"] diff --git a/nvidia/nvidia-device-plugin.yml b/nvidia/nvidia-device-plugin.yml index e1eba8e..69a83a0 100644 --- a/nvidia/nvidia-device-plugin.yml +++ b/nvidia/nvidia-device-plugin.yml @@ -36,7 +36,7 @@ spec: effect: NoSchedule - key: dedicated operator: Exists - effect: NoSchedule + effect: NoSchedule # Mark this pod as a critical add-on; when enabled, the critical add-on # scheduler reserves resources for critical add-on pods so that they can # be rescheduled after a failure. diff --git a/passmower/application.yaml b/passmower/application.yaml index 13dfc97..170483c 100644 --- a/passmower/application.yaml +++ b/passmower/application.yaml @@ -653,7 +653,7 @@ spec: tls: - hosts: - "*.k-space.ee" - secretName: + secretName: rules: - host: "auth.k-space.ee" http: diff --git a/proxmox-csi/readme.md b/proxmox-csi/readme.md index fc40e63..7455190 100644 --- a/proxmox-csi/readme.md +++ b/proxmox-csi/readme.md @@ -21,4 +21,4 @@ kubectl --kubeconfig ~/.kube/k-space label nodes master2.kube.k-space.ee topology.kubernetes.io/region=pve-cluster topology.kubernetes.io/zone=pve2 --overwrite kubectl --kubeconfig ~/.kube/k-space label nodes master3.kube.k-space.ee topology.kubernetes.io/region=pve-cluster topology.kubernetes.io/zone=pve8 --overwrite - ``` \ No newline at end of file + ``` diff --git a/shared/backup-service.yml b/shared/backup-service.yml index 8cd4868..9de3262 100644 --- a/shared/backup-service.yml +++ b/shared/backup-service.yml @@ -62,7 +62,7 @@ rules: - list - watch --- -kind: ClusterRoleBinding +kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: backup-service @@ -72,6 +72,6 @@ subjects: name: backup-service namespace: shared roleRef: - kind: ClusterRole + kind: ClusterRole name: backup-service apiGroup: rbac.authorization.k8s.io diff --git a/tigera-operator/custom-resources.yaml b/tigera-operator/custom-resources.yaml index 2548c7a..87cfe78 100644 --- a/tigera-operator/custom-resources.yaml +++ b/tigera-operator/custom-resources.yaml @@ -19,7 +19,7 @@ spec: encapsulation: IPIP name: default-ipv4-ippool natOutgoing: Disabled - nodeSelector: all() + nodeSelector: all() --- apiVersion: projectcalico.org/v3 kind: IPPool diff --git a/wildduck/haraka.yaml b/wildduck/haraka.yaml index b842aac..b8caecf 100644 --- a/wildduck/haraka.yaml +++ b/wildduck/haraka.yaml @@ -188,7 +188,7 @@ spec: tcpSocket: port: 2525 initialDelaySeconds: 30 - periodSeconds: 10 + periodSeconds: 10 volumes: - name: cert secret: diff --git a/wildduck/wildduck.yaml b/wildduck/wildduck.yaml index d04537d..a6ad191 100644 --- a/wildduck/wildduck.yaml +++ b/wildduck/wildduck.yaml @@ -105,7 +105,7 @@ spec: - | wget --header="Authorization: Bearer $APPCONF_api_accessToken" --quiet --spider http://127.0.0.1:8080/health || exit 1 initialDelaySeconds: 30 - periodSeconds: 10 + periodSeconds: 10 volumes: - name: cert secret: diff --git a/wildduck/zonemta.yaml b/wildduck/zonemta.yaml index 656e3a1..ca20caf 100644 --- a/wildduck/zonemta.yaml +++ b/wildduck/zonemta.yaml @@ -117,7 +117,7 @@ spec: tcpSocket: port: 9465 initialDelaySeconds: 30 - periodSeconds: 10 + periodSeconds: 10 env: - name: APPCONF_plugins_wildduck_srs_secret valueFrom: