Skip to content

Commit 57d1fcd

Browse files
authored
Drop grpc_cert_url param (#134)
## Description Now that tink never serves /cert we don't need to handle it. ## Why is this needed Cleaning up unused code/tech-debt. ## How Has This Been Tested? Ran a workflow run.
2 parents 6d0f57b + 6d2a169 commit 57d1fcd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

hook-bootkit/main.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ type tinkConfig struct {
3131

3232
// Grpc stuff (dunno)
3333
grpcAuthority string
34-
grpcCertURL string
3534

3635
// Worker ID(s) .. why are there two?
3736
workerID string
@@ -89,7 +88,6 @@ func main() {
8988
fmt.Sprintf("REGISTRY_USERNAME=%s", cfg.username),
9089
fmt.Sprintf("REGISTRY_PASSWORD=%s", cfg.password),
9190
fmt.Sprintf("TINKERBELL_GRPC_AUTHORITY=%s", cfg.grpcAuthority),
92-
fmt.Sprintf("TINKERBELL_CERT_URL=%s", cfg.grpcCertURL),
9391
fmt.Sprintf("TINKERBELL_TLS=%s", cfg.tinkServerTLS),
9492
fmt.Sprintf("WORKER_ID=%s", cfg.workerID),
9593
fmt.Sprintf("ID=%s", cfg.workerID),
@@ -192,8 +190,6 @@ func parseCmdLine(cmdLines []string) (cfg tinkConfig) {
192190
// Find GRPC configuration
193191
case "grpc_authority":
194192
cfg.grpcAuthority = cmdLine[1]
195-
case "grpc_cert_url":
196-
cfg.grpcCertURL = cmdLine[1]
197193
// Find the worker configuration
198194
case "worker_id":
199195
cfg.workerID = cmdLine[1]

0 commit comments

Comments
 (0)