Skip to content

Commit 7c2d097

Browse files
committed
refactor: cleanup hollowtrees config
Signed-off-by: Mark Sagi-Kazar <[email protected]>
1 parent b8e0905 commit 7c2d097

File tree

4 files changed

+0
-20
lines changed

4 files changed

+0
-20
lines changed

config/config.dev.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,3 @@ dex:
6969

7070
cloudinfo:
7171
endpoint: "https://try.pipeline.banzai.cloud/cloudinfo/api/v1"
72-
73-
hollowtrees:
74-
endpoint: "https://try.pipeline.banzai.cloud/hollowtrees-alerts/api/v1"
75-
tokenSigningKey: "Th1s!sMyR4Nd0MStri4gPleaseChangeIt"

config/config.yaml.dist

-5
Original file line numberDiff line numberDiff line change
@@ -407,11 +407,6 @@ cloudinfo:
407407
# Format: {baseUrl}/api/v1
408408
endpoint: ""
409409

410-
hollowtrees:
411-
# Format: {baseUrl}/api/v1
412-
endpoint: ""
413-
tokenSigningKey: ""
414-
415410
#secret:
416411
# tls:
417412
# defaultValidity: 8760h # 1 year

internal/cmd/config.go

-7
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@ type Config struct {
8686

8787
Helm helm.Config
8888

89-
Hollowtrees struct {
90-
Endpoint string
91-
TokenSigningKey string
92-
}
93-
9489
Kubernetes struct {
9590
Client struct {
9691
ForceGlobal bool
@@ -808,8 +803,6 @@ traefik:
808803
v.SetDefault("distribution::pke::amazon::defaultNetworkProvider", "cilium")
809804

810805
v.SetDefault("cloudinfo::endpoint", "")
811-
v.SetDefault("hollowtrees::endpoint", "")
812-
v.SetDefault("hollowtrees::tokenSigningKey", "")
813806

814807
v.SetDefault("secret::tls::defaultValidity", "8760h") // 1 year
815808

internal/global/config.go

-4
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,6 @@ var Config struct {
152152
}
153153
}
154154
}
155-
Hollowtrees struct {
156-
Endpoint string
157-
TokenSigningKey string
158-
}
159155
Kubernetes struct {
160156
Client struct {
161157
ForceGlobal bool

0 commit comments

Comments
 (0)