trim spaces in codebase

This commit is contained in:
2025-07-22 01:38:40 +03:00
parent 6317daefa1
commit 24b57de126
14 changed files with 18 additions and 19 deletions

View File

@@ -258,7 +258,7 @@ spec:
co.elastic.logs/enabled: 'false' co.elastic.logs/enabled: 'false'
spec: spec:
containers: containers:
- name: kibana - name: kibana
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /app/home path: /app/home

View File

@@ -2,11 +2,11 @@ apiVersion: rabbitmq.com/v1beta1
kind: RabbitmqCluster kind: RabbitmqCluster
metadata: metadata:
name: frigate-mqtt name: frigate-mqtt
spec: spec:
replicas: 3 replicas: 3
persistence: persistence:
storageClassName: rabbitmq storageClassName: rabbitmq
storage: 10Gi storage: 10Gi
rabbitmq: rabbitmq:
additionalPlugins: additionalPlugins:
- rabbitmq_mqtt - rabbitmq_mqtt

View File

@@ -28,14 +28,14 @@ spec:
operator: In operator: In
values: values:
- go2rtc - go2rtc
topologyKey: "kubernetes.io/hostname" topologyKey: "kubernetes.io/hostname"
nodeSelector: nodeSelector:
dedicated: nvr dedicated: nvr
tolerations: tolerations:
- key: dedicated - key: dedicated
operator: Equal operator: Equal
value: nvr value: nvr
effect: NoSchedule effect: NoSchedule
containers: containers:
- name: go2rtc - name: go2rtc
image: alexxit/go2rtc image: alexxit/go2rtc
@@ -78,4 +78,4 @@ spec:
targetPort: rtsp targetPort: rtsp
selector: selector:
app.kubernetes.io/name: go2rtc app.kubernetes.io/name: go2rtc
app.kubernetes.io/instance: go2rtc app.kubernetes.io/instance: go2rtc

View File

@@ -15,7 +15,7 @@ spec:
spec: spec:
containers: containers:
- image: harbor.k-space.ee/k-space/goredirect:latest - image: harbor.k-space.ee/k-space/goredirect:latest
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: GOREDIRECT_NOT_FOUND - name: GOREDIRECT_NOT_FOUND
value: https://inventory.k-space.ee/m/inventory/add-by-slug/%s value: https://inventory.k-space.ee/m/inventory/add-by-slug/%s

View File

@@ -68,7 +68,6 @@ persistence:
#multipartcopychunksize: "33554432" #multipartcopychunksize: "33554432"
#multipartcopymaxconcurrency: 100 #multipartcopymaxconcurrency: 100
#multipartcopythresholdsize: "33554432" #multipartcopythresholdsize: "33554432"
# The initial password of Harbor admin. Change it from portal after launching Harbor # The initial password of Harbor admin. Change it from portal after launching Harbor
# or give an existing secret for it # or give an existing secret for it

View File

@@ -123,7 +123,7 @@ rules:
- apiGroups: [""] - 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"] 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"] verbs: ["get", "list", "watch"]
- apiGroups: ["apps"] - apiGroups: ["apps"]
resources: ["daemonsets", "deployments", "deployments/scale", "replicasets", "replicasets/scale", "statefulsets"] resources: ["daemonsets", "deployments", "deployments/scale", "replicasets", "replicasets/scale", "statefulsets"]
verbs: ["get", "list", "watch"] verbs: ["get", "list", "watch"]

View File

@@ -36,7 +36,7 @@ spec:
effect: NoSchedule effect: NoSchedule
- key: dedicated - key: dedicated
operator: Exists operator: Exists
effect: NoSchedule effect: NoSchedule
# Mark this pod as a critical add-on; when enabled, the critical add-on # 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 # scheduler reserves resources for critical add-on pods so that they can
# be rescheduled after a failure. # be rescheduled after a failure.

View File

@@ -653,7 +653,7 @@ spec:
tls: tls:
- hosts: - hosts:
- "*.k-space.ee" - "*.k-space.ee"
secretName: secretName:
rules: rules:
- host: "auth.k-space.ee" - host: "auth.k-space.ee"
http: http:

View File

@@ -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 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 kubectl --kubeconfig ~/.kube/k-space label nodes master3.kube.k-space.ee topology.kubernetes.io/region=pve-cluster topology.kubernetes.io/zone=pve8 --overwrite
``` ```

View File

@@ -62,7 +62,7 @@ rules:
- list - list
- watch - watch
--- ---
kind: ClusterRoleBinding kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: backup-service name: backup-service
@@ -72,6 +72,6 @@ subjects:
name: backup-service name: backup-service
namespace: shared namespace: shared
roleRef: roleRef:
kind: ClusterRole kind: ClusterRole
name: backup-service name: backup-service
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io

View File

@@ -19,7 +19,7 @@ spec:
encapsulation: IPIP encapsulation: IPIP
name: default-ipv4-ippool name: default-ipv4-ippool
natOutgoing: Disabled natOutgoing: Disabled
nodeSelector: all() nodeSelector: all()
--- ---
apiVersion: projectcalico.org/v3 apiVersion: projectcalico.org/v3
kind: IPPool kind: IPPool

View File

@@ -188,7 +188,7 @@ spec:
tcpSocket: tcpSocket:
port: 2525 port: 2525
initialDelaySeconds: 30 initialDelaySeconds: 30
periodSeconds: 10 periodSeconds: 10
volumes: volumes:
- name: cert - name: cert
secret: secret:

View File

@@ -105,7 +105,7 @@ spec:
- | - |
wget --header="Authorization: Bearer $APPCONF_api_accessToken" --quiet --spider http://127.0.0.1:8080/health || exit 1 wget --header="Authorization: Bearer $APPCONF_api_accessToken" --quiet --spider http://127.0.0.1:8080/health || exit 1
initialDelaySeconds: 30 initialDelaySeconds: 30
periodSeconds: 10 periodSeconds: 10
volumes: volumes:
- name: cert - name: cert
secret: secret:

View File

@@ -117,7 +117,7 @@ spec:
tcpSocket: tcpSocket:
port: 9465 port: 9465
initialDelaySeconds: 30 initialDelaySeconds: 30
periodSeconds: 10 periodSeconds: 10
env: env:
- name: APPCONF_plugins_wildduck_srs_secret - name: APPCONF_plugins_wildduck_srs_secret
valueFrom: valueFrom: