From 5167be990f494b35cc31a559a942a2e3bf0dd7b7 Mon Sep 17 00:00:00 2001 From: johndietz Date: Tue, 26 Jul 2022 10:29:51 -0400 Subject: [PATCH 1/2] telemetry adjustments --- internal/telemetry/telemetry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/telemetry/telemetry.go b/internal/telemetry/telemetry.go index a6fa6f4f2..e3b37bde6 100644 --- a/internal/telemetry/telemetry.go +++ b/internal/telemetry/telemetry.go @@ -23,7 +23,7 @@ func SendTelemetry(useTelemetry bool, domain string, metricName string) { log.Println("SendTelemetry (working...)") - url := "https://metaphor-go-production.mgmt.kubefirst.com/telemetry" + url := "https://telemetry.kubefirst.com/telemetry" method := "POST" payload := strings.NewReader(fmt.Sprintf(`{"domain": "%s","name": "%s"}`, domain, metricName)) From f74824d1bff7888bef9c865db45e9d821bd6d528 Mon Sep 17 00:00:00 2001 From: johndietz Date: Tue, 9 Aug 2022 17:42:49 -0400 Subject: [PATCH 2/2] save the viper starter value for oidc --- internal/vault/vault.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/vault/vault.go b/internal/vault/vault.go index 5698d16f4..1a0ab570b 100644 --- a/internal/vault/vault.go +++ b/internal/vault/vault.go @@ -60,6 +60,7 @@ func ConfigureVault(dryRun bool, bootstrapOnly bool) { if bootstrapOnly { viper.Set("vault.oidc_redirect_uris", "will-be-patched-later") + viper.WriteConfig() } vaultToken := viper.GetString("vault.token")