From 54c45cd8747b043c77d4a1b6071f65d949d9e735 Mon Sep 17 00:00:00 2001 From: NikitaSkrynnik Date: Mon, 11 Dec 2023 14:49:53 +0700 Subject: [PATCH 1/2] [qfix] Fix Spire Config Signed-off-by: NikitaSkrynnik --- internal/spireconfig/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/spireconfig/config.go b/internal/spireconfig/config.go index bd9a510..43b5e4f 100644 --- a/internal/spireconfig/config.go +++ b/internal/spireconfig/config.go @@ -53,7 +53,8 @@ plugins { data_dir = "%[1]s/data" log_level = "WARN" ca_key_type = "rsa-2048" - default_svid_ttl = "1h" + default_x509_svid_ttl = "1h" + default_jwt_svid_ttl = "1h" ca_subject = { country = ["US"], organization = ["SPIFFE"], From 77c9d2903df2bb306d73a5fe31acfbfb27e5bf92 Mon Sep 17 00:00:00 2001 From: NikitaSkrynnik Date: Mon, 11 Dec 2023 14:55:59 +0700 Subject: [PATCH 2/2] fix golangci linter Signed-off-by: NikitaSkrynnik --- internal/spireconfig/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/spireconfig/config.go b/internal/spireconfig/config.go index 43b5e4f..1895e22 100644 --- a/internal/spireconfig/config.go +++ b/internal/spireconfig/config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2022 Cisco and/or its affiliates. +// Copyright (c) 2022-2023 Cisco and/or its affiliates. // // SPDX-License-Identifier: Apache-2.0 //