From e83dca46e10b7e01f914a9d31fbde31284928456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20K=C4=85dalski?= Date: Thu, 19 Oct 2023 13:50:49 +0200 Subject: [PATCH 1/3] add lab certs --- util/util.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/util/util.go b/util/util.go index 8f0ca73..4605e9e 100644 --- a/util/util.go +++ b/util/util.go @@ -98,6 +98,10 @@ func RandomString(length int) string { // ClusterIssuer provides relevant issuer details given a context func ClusterIssuer(context string) Issuer { clusterIssuers := map[string]Issuer{ + "tr.k8s.lab.blue.bisnode.net": { + Name: "https://dev-login.bisnode.com", + AuthorizeEndpoint: "https://dev-login.bisnode.com/as/authorization.oauth2", + }, "tr.k8s.dev.blue.bisnode.net": { Name: "https://dev-login.bisnode.com", AuthorizeEndpoint: "https://dev-login.bisnode.com/as/authorization.oauth2", @@ -188,6 +192,20 @@ func ReadToken(context string) string { func ClusterCaCert(context string) string { //goland:noinspection SpellCheckingInspection clusterCaCerts := map[string]string{ + "tr.k8s.lab.blue.bisnode.net": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMwekNDQWJ1Z0F3SUJBZ0lNRjR6RmdFcFdQV" + + "WlwVlhjck1BMEdDU3FHU0liM0RRRUJDd1VBTUJVeEV6QVIKQmdOVkJBTVRDbXQxWW1WeWJtVjBaWE13SGhjTk1qTXhNREE0TVRRek1UV" + + "TBXaGNOTXpNeE1EQTNNVFF6TVRVMApXakFWTVJNd0VRWURWUVFERXdwcmRXSmxjbTVsZEdWek1JSUJJakFOQmdrcWhraUc5dzBCQVFFR" + + "kFBT0NBUThBCk1JSUJDZ0tDQVFFQXJ0MkhJTURySFo1elBzSUd4L0ZvcEtVQjh4ZEhTQ2RiTkNwNWZOVWJoRFdld3ZuZGJ5TXgKMko3K" + + "0ovaWJXcU5zQUllK29ETk85OFNGdlJzejVOTEdKbkVjTkp4d2hPSTBOaTV1a2JLY29sZ2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F3SUJBZ0lNRjFWN1BFL092R" + "EpHNERrTE1BMEdDU3FHU0liM0RRRUJDd1VBTUJVeEV6QVIKQmdOVkJBTVRDbXQxWW1WeWJtVjBaWE13SGhjTk1qTXdOREV4TVRFek1qR" + "TBXaGNOTXpNd05ERXdNVEV6TWpFMApXakFWTVJNd0VRWURWUVFERXdwcmRXSmxjbTVsZEdWek1JSUJJakFOQmdrcWhraUc5dzBCQVFFR" + From bd6353800656bda1b67376c24a5cc9068bcb9528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20K=C4=85dalski?= Date: Thu, 19 Oct 2023 13:54:46 +0200 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51ec6f3..e774fcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [1.x.x] - Unreleased +## [1.2.4] - 2023-10-18 ### Changed +- Added lab cluster certificate ## [1.2.1] - 2020-11-18 ### Changed From 5e0a0d68911c2b0e2b872c4296ec5303bb5a4783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20K=C4=85dalski?= Date: Thu, 19 Oct 2023 13:57:20 +0200 Subject: [PATCH 3/3] fix new line (to squash) --- util/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/util.go b/util/util.go index 4605e9e..3b72c68 100644 --- a/util/util.go +++ b/util/util.go @@ -205,7 +205,7 @@ func ClusterCaCert(context string) string { "U9JT0ZCcXpSWUVvcnIzVndSQm9CcnNzZVFPWk1kZVNuWEMrVjlFTFRRQTBGN1NCCndyN0ZnTzR0MllWbGI3N05aMTQvc0REeWkxTEh2S" + "m9YNGc1dG9uMkJkNVRNTTdVdWtiTDY2ZS9KamRveUdjV3MKeDJNRjZDTzBuRG1PMWc5YUpXaDh6L1EwRzR2TyswZGI4UUd1KzlxT05BY" + "2FhU3NWZEtaUTVEd0ZJV3MrbGtlNgpzbkVlTzd0T1ROOGRNSmtkV0w2WTE2ZkVGVWV1dTJHSk52NmNXajd6UkV5ZXduT1JpOHFpNWo5T" + - "UlzcW1xTTlMClVtS2cxckdxTHc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + "UlzcW1xTTlMClVtS2cxckdxTHc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", "tr.k8s.dev.blue.bisnode.net": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMwekNDQWJ1Z0F3SUJBZ0lNRjFWN1BFL092R" + "EpHNERrTE1BMEdDU3FHU0liM0RRRUJDd1VBTUJVeEV6QVIKQmdOVkJBTVRDbXQxWW1WeWJtVjBaWE13SGhjTk1qTXdOREV4TVRFek1qR" + "TBXaGNOTXpNd05ERXdNVEV6TWpFMApXakFWTVJNd0VRWURWUVFERXdwcmRXSmxjbTVsZEdWek1JSUJJakFOQmdrcWhraUc5dzBCQVFFR" +