From 00c242a836410d3bd540dbf67f160a57f611db9f Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 19:03:55 +0000 Subject: [PATCH] style: format code with Gofumpt and Prettier This commit fixes the style issues introduced in 5635eec according to the output from Gofumpt and Prettier. Details: https://github.com/vdaas/vald/pull/2664 --- k8s/agent/clusterrole.yaml | 2 -- k8s/agent/clusterrolebinding.yaml | 2 -- k8s/agent/daemonset.yaml | 2 -- k8s/agent/deployment.yaml | 2 -- k8s/agent/faiss/configmap.yaml | 2 -- k8s/agent/hpa.yaml | 2 -- k8s/agent/networkpolicy.yaml | 2 -- k8s/agent/serviceaccount.yaml | 2 -- k8s/agent/sidecar/configmap.yaml | 2 -- k8s/agent/sidecar/svc.yaml | 2 -- k8s/discoverer/daemonset.yaml | 2 -- k8s/discoverer/hpa.yaml | 2 -- k8s/discoverer/networkpolicy.yaml | 2 -- k8s/gateway/gateway/filter/configmap.yaml | 2 -- k8s/gateway/gateway/filter/daemonset.yaml | 2 -- k8s/gateway/gateway/filter/deployment.yaml | 2 -- k8s/gateway/gateway/filter/hpa.yaml | 2 -- k8s/gateway/gateway/filter/networkpolicy.yaml | 2 -- k8s/gateway/gateway/filter/pdb.yaml | 2 -- k8s/gateway/gateway/filter/priorityclass.yaml | 2 -- k8s/gateway/gateway/filter/svc.yaml | 2 -- k8s/gateway/gateway/lb/daemonset.yaml | 2 -- k8s/gateway/gateway/lb/networkpolicy.yaml | 2 -- k8s/gateway/gateway/mirror/daemonset.yaml | 2 -- k8s/gateway/gateway/mirror/networkpolicy.yaml | 2 -- k8s/index/job/correction/networkpolicy.yaml | 2 -- k8s/index/job/creation/networkpolicy.yaml | 2 -- k8s/index/job/readreplica/rotate/clusterrole.yaml | 2 -- k8s/index/job/readreplica/rotate/clusterrolebinding.yaml | 2 -- k8s/index/job/readreplica/rotate/configmap.yaml | 2 -- k8s/index/job/readreplica/rotate/networkpolicy.yaml | 2 -- k8s/index/job/readreplica/rotate/serviceaccount.yaml | 2 -- k8s/index/job/save/networkpolicy.yaml | 2 -- k8s/manager/index/daemonset.yaml | 2 -- k8s/manager/index/networkpolicy.yaml | 2 -- 35 files changed, 70 deletions(-) diff --git a/k8s/agent/clusterrole.yaml b/k8s/agent/clusterrole.yaml index 3595584a9f3..c184feeab60 100644 --- a/k8s/agent/clusterrole.yaml +++ b/k8s/agent/clusterrole.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/agent/clusterrole.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/agent/clusterrolebinding.yaml b/k8s/agent/clusterrolebinding.yaml index fd4cd351df9..6e3cfa82c53 100644 --- a/k8s/agent/clusterrolebinding.yaml +++ b/k8s/agent/clusterrolebinding.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/agent/clusterrolebinding.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/agent/daemonset.yaml b/k8s/agent/daemonset.yaml index e5790e6cb1e..6b74557f8ef 100644 --- a/k8s/agent/daemonset.yaml +++ b/k8s/agent/daemonset.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/agent/daemonset.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/agent/deployment.yaml b/k8s/agent/deployment.yaml index 938333dc03a..79eb409126b 100644 --- a/k8s/agent/deployment.yaml +++ b/k8s/agent/deployment.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/agent/deployment.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/agent/faiss/configmap.yaml b/k8s/agent/faiss/configmap.yaml index b6047654a43..553046863ef 100644 --- a/k8s/agent/faiss/configmap.yaml +++ b/k8s/agent/faiss/configmap.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/agent/faiss/configmap.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/agent/hpa.yaml b/k8s/agent/hpa.yaml index 16a5ffbcc6e..dd04f0ffd9f 100644 --- a/k8s/agent/hpa.yaml +++ b/k8s/agent/hpa.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/agent/hpa.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/agent/networkpolicy.yaml b/k8s/agent/networkpolicy.yaml index 6e531679faa..c67e977311b 100644 --- a/k8s/agent/networkpolicy.yaml +++ b/k8s/agent/networkpolicy.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/agent/networkpolicy.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/agent/serviceaccount.yaml b/k8s/agent/serviceaccount.yaml index ca6ef2c12a4..1674d54b43a 100644 --- a/k8s/agent/serviceaccount.yaml +++ b/k8s/agent/serviceaccount.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/agent/serviceaccount.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/agent/sidecar/configmap.yaml b/k8s/agent/sidecar/configmap.yaml index 747069b8f79..33a4cbf914f 100644 --- a/k8s/agent/sidecar/configmap.yaml +++ b/k8s/agent/sidecar/configmap.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/agent/sidecar/configmap.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/agent/sidecar/svc.yaml b/k8s/agent/sidecar/svc.yaml index 8eea6fad2f3..cdf4d7b79c5 100644 --- a/k8s/agent/sidecar/svc.yaml +++ b/k8s/agent/sidecar/svc.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/agent/sidecar/svc.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/discoverer/daemonset.yaml b/k8s/discoverer/daemonset.yaml index 9b63bcaf8a1..07b598d7b0b 100644 --- a/k8s/discoverer/daemonset.yaml +++ b/k8s/discoverer/daemonset.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/discoverer/daemonset.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/discoverer/hpa.yaml b/k8s/discoverer/hpa.yaml index c9de3ea4c25..5759f918d92 100644 --- a/k8s/discoverer/hpa.yaml +++ b/k8s/discoverer/hpa.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/discoverer/hpa.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/discoverer/networkpolicy.yaml b/k8s/discoverer/networkpolicy.yaml index 6eaa725e7da..ef2fbd3d766 100644 --- a/k8s/discoverer/networkpolicy.yaml +++ b/k8s/discoverer/networkpolicy.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/discoverer/networkpolicy.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/gateway/gateway/filter/configmap.yaml b/k8s/gateway/gateway/filter/configmap.yaml index 3026dcd56ea..aae001828ff 100644 --- a/k8s/gateway/gateway/filter/configmap.yaml +++ b/k8s/gateway/gateway/filter/configmap.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/gateway/filter/configmap.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/gateway/gateway/filter/daemonset.yaml b/k8s/gateway/gateway/filter/daemonset.yaml index 33587e58242..77f77b25016 100644 --- a/k8s/gateway/gateway/filter/daemonset.yaml +++ b/k8s/gateway/gateway/filter/daemonset.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/gateway/filter/daemonset.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/gateway/gateway/filter/deployment.yaml b/k8s/gateway/gateway/filter/deployment.yaml index 96a6fd39469..f5757857a85 100644 --- a/k8s/gateway/gateway/filter/deployment.yaml +++ b/k8s/gateway/gateway/filter/deployment.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/gateway/filter/deployment.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/gateway/gateway/filter/hpa.yaml b/k8s/gateway/gateway/filter/hpa.yaml index bf7d9301f51..9eafcbebf96 100644 --- a/k8s/gateway/gateway/filter/hpa.yaml +++ b/k8s/gateway/gateway/filter/hpa.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/gateway/filter/hpa.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/gateway/gateway/filter/networkpolicy.yaml b/k8s/gateway/gateway/filter/networkpolicy.yaml index 845089ba97a..5a7d6ff024e 100644 --- a/k8s/gateway/gateway/filter/networkpolicy.yaml +++ b/k8s/gateway/gateway/filter/networkpolicy.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/gateway/filter/networkpolicy.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/gateway/gateway/filter/pdb.yaml b/k8s/gateway/gateway/filter/pdb.yaml index 332c3b25784..8889d853ee7 100644 --- a/k8s/gateway/gateway/filter/pdb.yaml +++ b/k8s/gateway/gateway/filter/pdb.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/gateway/filter/pdb.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/gateway/gateway/filter/priorityclass.yaml b/k8s/gateway/gateway/filter/priorityclass.yaml index efe92b7bc74..9fa3b11d336 100644 --- a/k8s/gateway/gateway/filter/priorityclass.yaml +++ b/k8s/gateway/gateway/filter/priorityclass.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/gateway/filter/priorityclass.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/gateway/gateway/filter/svc.yaml b/k8s/gateway/gateway/filter/svc.yaml index 73e1e6435f6..27059040fa9 100644 --- a/k8s/gateway/gateway/filter/svc.yaml +++ b/k8s/gateway/gateway/filter/svc.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/gateway/filter/svc.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/gateway/gateway/lb/daemonset.yaml b/k8s/gateway/gateway/lb/daemonset.yaml index 27696acde60..d11c8e66296 100644 --- a/k8s/gateway/gateway/lb/daemonset.yaml +++ b/k8s/gateway/gateway/lb/daemonset.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/gateway/lb/daemonset.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/gateway/gateway/lb/networkpolicy.yaml b/k8s/gateway/gateway/lb/networkpolicy.yaml index e25a63d9021..27bb5c31557 100644 --- a/k8s/gateway/gateway/lb/networkpolicy.yaml +++ b/k8s/gateway/gateway/lb/networkpolicy.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/gateway/lb/networkpolicy.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/gateway/gateway/mirror/daemonset.yaml b/k8s/gateway/gateway/mirror/daemonset.yaml index 5d55bce83e6..eb0eb3d0c89 100644 --- a/k8s/gateway/gateway/mirror/daemonset.yaml +++ b/k8s/gateway/gateway/mirror/daemonset.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/gateway/mirror/daemonset.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/gateway/gateway/mirror/networkpolicy.yaml b/k8s/gateway/gateway/mirror/networkpolicy.yaml index 968efc5532a..7d0dfb58329 100644 --- a/k8s/gateway/gateway/mirror/networkpolicy.yaml +++ b/k8s/gateway/gateway/mirror/networkpolicy.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/gateway/mirror/networkpolicy.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/index/job/correction/networkpolicy.yaml b/k8s/index/job/correction/networkpolicy.yaml index 0924cba299b..9ec4cdc1778 100644 --- a/k8s/index/job/correction/networkpolicy.yaml +++ b/k8s/index/job/correction/networkpolicy.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/index/job/correction/networkpolicy.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/index/job/creation/networkpolicy.yaml b/k8s/index/job/creation/networkpolicy.yaml index 48383196190..e6f155da1f1 100644 --- a/k8s/index/job/creation/networkpolicy.yaml +++ b/k8s/index/job/creation/networkpolicy.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/index/job/creation/networkpolicy.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/index/job/readreplica/rotate/clusterrole.yaml b/k8s/index/job/readreplica/rotate/clusterrole.yaml index 86d917e71c5..1c6497d7df4 100644 --- a/k8s/index/job/readreplica/rotate/clusterrole.yaml +++ b/k8s/index/job/readreplica/rotate/clusterrole.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/index/job/readreplica/rotate/clusterrole.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/index/job/readreplica/rotate/clusterrolebinding.yaml b/k8s/index/job/readreplica/rotate/clusterrolebinding.yaml index e48234c8e65..34a926270d5 100644 --- a/k8s/index/job/readreplica/rotate/clusterrolebinding.yaml +++ b/k8s/index/job/readreplica/rotate/clusterrolebinding.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/index/job/readreplica/rotate/clusterrolebinding.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/index/job/readreplica/rotate/configmap.yaml b/k8s/index/job/readreplica/rotate/configmap.yaml index 5fc4cddf3a6..a3f74ea8642 100644 --- a/k8s/index/job/readreplica/rotate/configmap.yaml +++ b/k8s/index/job/readreplica/rotate/configmap.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/index/job/readreplica/rotate/configmap.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/index/job/readreplica/rotate/networkpolicy.yaml b/k8s/index/job/readreplica/rotate/networkpolicy.yaml index 69b3130e001..8963628cc2f 100644 --- a/k8s/index/job/readreplica/rotate/networkpolicy.yaml +++ b/k8s/index/job/readreplica/rotate/networkpolicy.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/index/job/readreplica/rotate/networkpolicy.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/index/job/readreplica/rotate/serviceaccount.yaml b/k8s/index/job/readreplica/rotate/serviceaccount.yaml index 0fe7707b19e..09bf7e03fee 100644 --- a/k8s/index/job/readreplica/rotate/serviceaccount.yaml +++ b/k8s/index/job/readreplica/rotate/serviceaccount.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/index/job/readreplica/rotate/serviceaccount.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/index/job/save/networkpolicy.yaml b/k8s/index/job/save/networkpolicy.yaml index c3aaf48969a..0b6e39ada80 100644 --- a/k8s/index/job/save/networkpolicy.yaml +++ b/k8s/index/job/save/networkpolicy.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/index/job/save/networkpolicy.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/manager/index/daemonset.yaml b/k8s/manager/index/daemonset.yaml index b47527b3ff8..a429f6794df 100644 --- a/k8s/manager/index/daemonset.yaml +++ b/k8s/manager/index/daemonset.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/manager/index/daemonset.yaml # # Copyright (C) 2019-2024 vdaas.org vald team diff --git a/k8s/manager/index/networkpolicy.yaml b/k8s/manager/index/networkpolicy.yaml index 8ec5e15111a..5f5aa6d51c9 100644 --- a/k8s/manager/index/networkpolicy.yaml +++ b/k8s/manager/index/networkpolicy.yaml @@ -1,5 +1,3 @@ - - # Source: vald/templates/manager/index/networkpolicy.yaml # # Copyright (C) 2019-2024 vdaas.org vald team