From 6c3009dfb39ade9d2cc765f0897687e98571a19e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Feb 2023 14:41:35 +0100 Subject: [PATCH 01/11] deps: update module google.golang.org/grpc to v1.52.3 (#711) Signed-off-by: Renovate Bot Signed-off-by: odubajDT Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: odubajDT --- operator/go.mod | 2 +- operator/go.sum | 4 ++-- scheduler/go.mod | 2 +- scheduler/go.sum | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/operator/go.mod b/operator/go.mod index 81502af3da..341723fdc5 100644 --- a/operator/go.mod +++ b/operator/go.mod @@ -27,7 +27,7 @@ require ( go.opentelemetry.io/otel/sdk/metric v0.34.0 go.opentelemetry.io/otel/trace v1.11.2 golang.org/x/exp v0.0.0-20230126173853-a67bb567ff2e - google.golang.org/grpc v1.52.0 + google.golang.org/grpc v1.52.3 k8s.io/api v0.26.1 k8s.io/apiextensions-apiserver v0.26.1 k8s.io/apimachinery v0.26.1 diff --git a/operator/go.sum b/operator/go.sum index 07e47494fe..4c97cad6b3 100644 --- a/operator/go.sum +++ b/operator/go.sum @@ -749,8 +749,8 @@ google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQ google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= google.golang.org/grpc v1.41.0/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k= google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.52.0 h1:kd48UiU7EHsV4rnLyOJRuP/Il/UHE7gdDAQ+SZI7nZk= -google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= +google.golang.org/grpc v1.52.3 h1:pf7sOysg4LdgBqduXveGKrcEwbStiK2rtfghdzlUYDQ= +google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= diff --git a/scheduler/go.mod b/scheduler/go.mod index 4933ac036c..a182e4c989 100644 --- a/scheduler/go.mod +++ b/scheduler/go.mod @@ -13,7 +13,7 @@ require ( go.opentelemetry.io/otel/exporters/stdout v0.20.0 go.opentelemetry.io/otel/sdk v0.20.0 go.opentelemetry.io/otel/trace v0.20.0 - google.golang.org/grpc v1.52.0 + google.golang.org/grpc v1.52.3 k8s.io/api v0.25.6 k8s.io/apimachinery v0.25.6 k8s.io/apiserver v0.25.6 diff --git a/scheduler/go.sum b/scheduler/go.sum index 4e0b4a2d88..6ab0bc768f 100644 --- a/scheduler/go.sum +++ b/scheduler/go.sum @@ -673,8 +673,8 @@ google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTp google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.52.0 h1:kd48UiU7EHsV4rnLyOJRuP/Il/UHE7gdDAQ+SZI7nZk= -google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= +google.golang.org/grpc v1.52.3 h1:pf7sOysg4LdgBqduXveGKrcEwbStiK2rtfghdzlUYDQ= +google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= From 9135eaf169eb2c710f1484390374ca8c6b3157f3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Feb 2023 14:54:12 +0100 Subject: [PATCH 02/11] deps: update golang.org/x/exp digest to f062dba (#710) Signed-off-by: Renovate Bot Signed-off-by: odubajDT <93584209+odubajDT@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: odubajDT <93584209+odubajDT@users.noreply.github.com> --- operator/go.mod | 2 +- operator/go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/operator/go.mod b/operator/go.mod index 341723fdc5..3995fd5f27 100644 --- a/operator/go.mod +++ b/operator/go.mod @@ -26,7 +26,7 @@ require ( go.opentelemetry.io/otel/sdk v1.11.2 go.opentelemetry.io/otel/sdk/metric v0.34.0 go.opentelemetry.io/otel/trace v1.11.2 - golang.org/x/exp v0.0.0-20230126173853-a67bb567ff2e + golang.org/x/exp v0.0.0-20230131160201-f062dba9d201 google.golang.org/grpc v1.52.3 k8s.io/api v0.26.1 k8s.io/apiextensions-apiserver v0.26.1 diff --git a/operator/go.sum b/operator/go.sum index 4c97cad6b3..a977c66350 100644 --- a/operator/go.sum +++ b/operator/go.sum @@ -445,8 +445,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20230126173853-a67bb567ff2e h1:nEzRHNOazEST44vMvEwxGxnYGrzXEmxJmnti5mKSWTk= -golang.org/x/exp v0.0.0-20230126173853-a67bb567ff2e/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= +golang.org/x/exp v0.0.0-20230131160201-f062dba9d201 h1:BEABXpNXLEz0WxtA+6CQIz2xkg80e+1zrhWyMcq8VzE= +golang.org/x/exp v0.0.0-20230131160201-f062dba9d201/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= From 026b25d70b83180b8cb7ce80ec40e659ac4b2f24 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Feb 2023 14:54:37 +0100 Subject: [PATCH 03/11] deps: update module github.com/open-feature/flagd to v0.3.4 (#716) Signed-off-by: Renovate Bot Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- operator/go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operator/go.mod b/operator/go.mod index 3995fd5f27..8258f39cd9 100644 --- a/operator/go.mod +++ b/operator/go.mod @@ -124,4 +124,4 @@ require ( sigs.k8s.io/yaml v1.3.0 // indirect ) -replace github.com/open-feature/go-sdk-contrib/providers/flagd => github.com/open-feature/flagd v0.3.1 +replace github.com/open-feature/go-sdk-contrib/providers/flagd => github.com/open-feature/flagd v0.3.4 From 3e79f3d7bccc491d1285f2acbfb5e8c9b21d3468 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Feb 2023 14:54:57 +0100 Subject: [PATCH 04/11] deps: update dependency argoproj/argo-cd to v2.5.9 (#714) Signed-off-by: Renovate Bot Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- examples/support/argo/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/support/argo/Makefile b/examples/support/argo/Makefile index b037709ba7..50a3c96b21 100644 --- a/examples/support/argo/Makefile +++ b/examples/support/argo/Makefile @@ -2,7 +2,7 @@ LFC_NAMESPACE ?= keptn-lifecycle-toolkit-system PODTATO_NAMESPACE ?= podtato-kubectl ARGO_NAMESPACE ?= argocd # renovate: datasource=github-tags depName=argoproj/argo-cd -ARGO_VERSION ?= v2.5.7 +ARGO_VERSION ?= v2.5.9 ARGO_SECRET = $(shell kubectl -n ${ARGO_NAMESPACE} get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo) .PHONY: install From 491874c9ed7490ff54b88d0b511da67b14f25b1f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Feb 2023 14:55:21 +0100 Subject: [PATCH 05/11] deps: update dependency helm/helm to v3.10.3 (#722) Signed-off-by: Renovate Bot Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 064a1105a5..15893280dd 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ CERT_MANAGER_VERSION ?= v1.11.0 # renovate: datasource=github-tags depName=kubernetes-sigs/kustomize KUSTOMIZE_VERSION?=v4.5.7 # renovate: datasource=github-tags depName=helm/helm -HELM_VERSION ?= v3.10.2 +HELM_VERSION ?= v3.10.3 CHART_VERSION = v0.5.0 # x-release-please-version From 31fac62d81e67354235f55b40ecdfc921a75b265 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Feb 2023 14:55:42 +0100 Subject: [PATCH 06/11] deps: update module sigs.k8s.io/controller-runtime to v0.14.2 (#723) Signed-off-by: Renovate Bot Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- klt-cert-manager/go.mod | 2 +- klt-cert-manager/go.sum | 4 ++-- operator/go.mod | 2 +- operator/go.sum | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/klt-cert-manager/go.mod b/klt-cert-manager/go.mod index ff230c7605..f04566cca9 100644 --- a/klt-cert-manager/go.mod +++ b/klt-cert-manager/go.mod @@ -11,7 +11,7 @@ require ( k8s.io/apiextensions-apiserver v0.26.1 k8s.io/apimachinery v0.26.1 k8s.io/client-go v0.26.1 - sigs.k8s.io/controller-runtime v0.14.1 + sigs.k8s.io/controller-runtime v0.14.2 ) require ( diff --git a/klt-cert-manager/go.sum b/klt-cert-manager/go.sum index 4359b6ae8a..3497ff1238 100644 --- a/klt-cert-manager/go.sum +++ b/klt-cert-manager/go.sum @@ -612,8 +612,8 @@ k8s.io/utils v0.0.0-20221128185143-99ec85e7a448/go.mod h1:OLgZIPagt7ERELqWJFomSt rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sigs.k8s.io/controller-runtime v0.14.1 h1:vThDes9pzg0Y+UbCPY3Wj34CGIYPgdmspPm2GIpxpzM= -sigs.k8s.io/controller-runtime v0.14.1/go.mod h1:GaRkrY8a7UZF0kqFFbUKG7n9ICiTY5T55P1RiE3UZlU= +sigs.k8s.io/controller-runtime v0.14.2 h1:P6IwDhbsRWsBClt/8/h8Zy36bCuGuW5Op7MHpFrN/60= +sigs.k8s.io/controller-runtime v0.14.2/go.mod h1:WqIdsAY6JBsjfc/CqO0CORmNtoCtE4S6qbPc9s68h+0= sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 h1:iXTIw73aPyC+oRdyqqvVJuloN1p0AC/kzH07hu3NE+k= sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= diff --git a/operator/go.mod b/operator/go.mod index 8258f39cd9..1c79c982d4 100644 --- a/operator/go.mod +++ b/operator/go.mod @@ -36,7 +36,7 @@ require ( k8s.io/component-base v0.26.1 k8s.io/klog/v2 v2.90.0 k8s.io/metrics v0.26.1 - sigs.k8s.io/controller-runtime v0.14.1 + sigs.k8s.io/controller-runtime v0.14.2 sigs.k8s.io/custom-metrics-apiserver v1.25.1-0.20230116101851-63817c8ac8f2 ) diff --git a/operator/go.sum b/operator/go.sum index a977c66350..d1f220cf95 100644 --- a/operator/go.sum +++ b/operator/go.sum @@ -825,8 +825,8 @@ rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.35 h1:+xBL5uTc+BkPBwmMi3vYfUJjq+N3K+H6PXeETwf5cPI= sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.35/go.mod h1:WxjusMwXlKzfAs4p9km6XJRndVt2FROgMVCE4cdohFo= -sigs.k8s.io/controller-runtime v0.14.1 h1:vThDes9pzg0Y+UbCPY3Wj34CGIYPgdmspPm2GIpxpzM= -sigs.k8s.io/controller-runtime v0.14.1/go.mod h1:GaRkrY8a7UZF0kqFFbUKG7n9ICiTY5T55P1RiE3UZlU= +sigs.k8s.io/controller-runtime v0.14.2 h1:P6IwDhbsRWsBClt/8/h8Zy36bCuGuW5Op7MHpFrN/60= +sigs.k8s.io/controller-runtime v0.14.2/go.mod h1:WqIdsAY6JBsjfc/CqO0CORmNtoCtE4S6qbPc9s68h+0= sigs.k8s.io/custom-metrics-apiserver v1.25.1-0.20230116101851-63817c8ac8f2 h1:D49r2VoxIdm3s1yVoCMbHrLH0qxDj5TiaWB0XYdqgcI= sigs.k8s.io/custom-metrics-apiserver v1.25.1-0.20230116101851-63817c8ac8f2/go.mod h1:D1ZXB9iOdI97WAE3G1kjlwUhwEnGfpq4af3drpEYVlI= sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 h1:iXTIw73aPyC+oRdyqqvVJuloN1p0AC/kzH07hu3NE+k= From 59c853ce54ed01076cd8b0a36513173efaf62f02 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Feb 2023 14:56:32 +0100 Subject: [PATCH 07/11] deps: update module github.com/onsi/ginkgo/v2 to v2.7.1 (#729) Signed-off-by: Renovate Bot Signed-off-by: odubajDT Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: odubajDT --- operator/go.mod | 2 +- operator/go.sum | 4 ++-- scheduler/go.mod | 2 +- scheduler/go.sum | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/operator/go.mod b/operator/go.mod index 1c79c982d4..97359ccdb1 100644 --- a/operator/go.mod +++ b/operator/go.mod @@ -10,7 +10,7 @@ require ( github.com/imdario/mergo v0.3.13 github.com/kelseyhightower/envconfig v1.4.0 github.com/magiconair/properties v1.8.7 - github.com/onsi/ginkgo/v2 v2.7.0 + github.com/onsi/ginkgo/v2 v2.7.1 github.com/onsi/gomega v1.26.0 github.com/open-feature/go-sdk v1.1.0 github.com/pkg/errors v0.9.1 diff --git a/operator/go.sum b/operator/go.sum index d1f220cf95..91d2d3cfd7 100644 --- a/operator/go.sum +++ b/operator/go.sum @@ -293,8 +293,8 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8m github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/onsi/ginkgo/v2 v2.7.0 h1:/XxtEV3I3Eif/HobnVx9YmJgk8ENdRsuUmM+fLCFNow= -github.com/onsi/ginkgo/v2 v2.7.0/go.mod h1:yjiuMwPokqY1XauOgju45q3sJt6VzQ/Fict1LFVcsAo= +github.com/onsi/ginkgo/v2 v2.7.1 h1:YgLPk+gpqDtAPeRCWEmfO8oxE6ru3xcVSXAM7wn8w9I= +github.com/onsi/ginkgo/v2 v2.7.1/go.mod h1:6JsQiECmxCa3V5st74AL/AmsV482EDdVrGaVW6z3oYU= github.com/onsi/gomega v1.26.0 h1:03cDLK28U6hWvCAns6NeydX3zIm4SF3ci69ulidS32Q= github.com/onsi/gomega v1.26.0/go.mod h1:r+zV744Re+DiYCIPRlYOTxn0YkOLcAnW8k1xXdMPGhM= github.com/open-feature/go-sdk v1.1.0 h1:JOOa0AleJFUvnWoF9KWdLqYosi5fDIRBDzPYZPr5qgM= diff --git a/scheduler/go.mod b/scheduler/go.mod index a182e4c989..0bcc9875b6 100644 --- a/scheduler/go.mod +++ b/scheduler/go.mod @@ -4,7 +4,7 @@ go 1.19 require ( github.com/kelseyhightower/envconfig v1.4.0 - github.com/onsi/ginkgo/v2 v2.7.0 + github.com/onsi/ginkgo/v2 v2.7.1 github.com/onsi/gomega v1.26.0 github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.8.1 diff --git a/scheduler/go.sum b/scheduler/go.sum index 6ab0bc768f..167ee5109d 100644 --- a/scheduler/go.sum +++ b/scheduler/go.sum @@ -263,8 +263,8 @@ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWb github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= -github.com/onsi/ginkgo/v2 v2.7.0 h1:/XxtEV3I3Eif/HobnVx9YmJgk8ENdRsuUmM+fLCFNow= -github.com/onsi/ginkgo/v2 v2.7.0/go.mod h1:yjiuMwPokqY1XauOgju45q3sJt6VzQ/Fict1LFVcsAo= +github.com/onsi/ginkgo/v2 v2.7.1 h1:YgLPk+gpqDtAPeRCWEmfO8oxE6ru3xcVSXAM7wn8w9I= +github.com/onsi/ginkgo/v2 v2.7.1/go.mod h1:6JsQiECmxCa3V5st74AL/AmsV482EDdVrGaVW6z3oYU= github.com/onsi/gomega v1.26.0 h1:03cDLK28U6hWvCAns6NeydX3zIm4SF3ci69ulidS32Q= github.com/onsi/gomega v1.26.0/go.mod h1:r+zV744Re+DiYCIPRlYOTxn0YkOLcAnW8k1xXdMPGhM= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= From 1e8c8ddf3117ef16c341a141b9586b99536dfe6f Mon Sep 17 00:00:00 2001 From: RealAnna <89971034+RealAnna@users.noreply.github.com> Date: Thu, 2 Feb 2023 15:23:32 +0100 Subject: [PATCH 08/11] ci: add helm to install action (#738) Signed-off-by: realanna --- .../actions/deploy-klt-on-cluster/action.yml | 18 ++- .github/workflows/helm-checks.yaml | 148 ++++++++++++++++++ .github/workflows/integration-test.yml | 5 + operator/config/manager/manager.yaml | 8 +- 4 files changed, 170 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/helm-checks.yaml diff --git a/.github/actions/deploy-klt-on-cluster/action.yml b/.github/actions/deploy-klt-on-cluster/action.yml index 3114fd88d3..5cf00280fb 100644 --- a/.github/actions/deploy-klt-on-cluster/action.yml +++ b/.github/actions/deploy-klt-on-cluster/action.yml @@ -18,7 +18,12 @@ inputs: required: false description: "Name of the kind cluster" default: "test-cluster" - + helm-install: + required: false + type: boolean + description: "Install KLT via helm instead of manifest if true" + # renovate: datasource=github-releases depName=kubernetes-sigs/kind + default: false runs: using: "composite" steps: @@ -52,9 +57,11 @@ runs: kind load image-archive $image/$image -n ${{ inputs.cluster-name }} done - - name: Install lifecycle-toolkit + - name: Install lifecycle-toolkit with manifests + if: ${{ inputs.helm-install == 'false' }} shell: bash run: | + echo "Installing KLT using manifests" sed -i 's/imagePullPolicy: Always/imagePullPolicy: Never/g' ~/download/artifacts/keptn-lifecycle-operator-manifest-test/release.yaml sed -i 's/ghcr.keptn.sh\/keptn\/functions-runtime:.*/localhost:5000\/keptn\/functions-runtime:${{ inputs.functions_runtime_tag }}/g' ~/download/artifacts/keptn-lifecycle-operator-manifest-test/release.yaml kubectl create namespace keptn-lifecycle-toolkit-system @@ -64,3 +71,10 @@ runs: kubectl apply -f ~/download/artifacts/scheduler-manifest-test kubectl rollout status deployment keptn-scheduler -n keptn-lifecycle-toolkit-system -w kubectl rollout status deployment klc-controller-manager -n keptn-lifecycle-toolkit-system -w + + - name: Install lifecycle-toolkit with helm + if: ${{ inputs.helm-install == 'true' }} + shell: bash + run: | + echo "Installing KLT using helm" + helm upgrade --install -n keptn-lifecycle-toolkit-system --create-namespace toolkit ~/download/artifacts/keptn-lifecycle-toolkit.tgz --debug --wait --timeout 1m diff --git a/.github/workflows/helm-checks.yaml b/.github/workflows/helm-checks.yaml new file mode 100644 index 0000000000..1db6dd2585 --- /dev/null +++ b/.github/workflows/helm-checks.yaml @@ -0,0 +1,148 @@ +name: Helm-test +on: + schedule: + - cron: '0 3 * * 1' # run tests at 1 AM (UTC), every monday (1) + workflow_dispatch: + +env: + GO_VERSION: "~1.19" + # renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools + CONTROLLER_TOOLS_VERSION: "v0.9.2" + ENVTEST_K8S_VERSION: "1.24.2" + SCHEDULER_COMPATIBLE_K8S_VERSION: "v0.24.3" +defaults: + run: + shell: bash + +jobs: + prepare_ci_run: + name: Prepare CI Run + runs-on: ubuntu-22.04 + outputs: + GIT_SHA: ${{ steps.extract_branch.outputs.GIT_SHA }} + BRANCH: ${{ steps.extract_branch.outputs.BRANCH }} + BRANCH_SLUG: ${{ steps.extract_branch.outputs.BRANCH_SLUG }} + DATETIME: ${{ steps.get_datetime.outputs.DATETIME }} + BUILD_TIME: ${{ steps.get_datetime.outputs.BUILD_TIME }} + NON_FORKED_AND_NON_ROBOT_RUN: ${{ steps.get_run_type.outputs.NON_FORKED_AND_NON_ROBOT_RUN }} + + steps: + - name: Check out code + uses: actions/checkout@v3 + + - name: Extract branch name + id: extract_branch + uses: keptn/gh-action-extract-branch-name@main + + - name: Get current date and time + id: get_datetime + run: | + DATETIME=$(date +'%Y%m%d%H%M') + BUILD_TIME=$(date -u "+%F_%T") + echo "DATETIME=$DATETIME" >> "$GITHUB_OUTPUT" + echo "BUILD_TIME=$BUILD_TIME" >> "$GITHUB_OUTPUT" + + - name: Get workflow run type + id: get_run_type + run: | + NON_FORKED_AND_NON_ROBOT_RUN=${{ ( github.actor != 'renovate[bot]' && github.actor != 'dependabot[bot]' ) && ( github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository ) }} + echo "github.actor != 'renovate[bot]' = ${{ github.actor != 'renovate[bot]' }}" + echo "github.actor != 'dependabot[bot]' = ${{ github.actor != 'dependabot[bot]' }}" + echo "github.event_name == 'push' = ${{ github.event_name == 'push' }}" + echo "github.event.pull_request.head.repo.full_name == github.repository = ${{ github.event.pull_request.head.repo.full_name == github.repository }}" + echo "NON_FORKED_AND_NON_ROBOT_RUN = $NON_FORKED_AND_NON_ROBOT_RUN" + echo "NON_FORKED_AND_NON_ROBOT_RUN=$NON_FORKED_AND_NON_ROBOT_RUN" >> "$GITHUB_OUTPUT" + + build_image: + name: Build Docker Image + needs: prepare_ci_run + runs-on: ubuntu-22.04 + env: + BRANCH: ${{ needs.prepare_ci_run.outputs.BRANCH }} + DATETIME: ${{ needs.prepare_ci_run.outputs.DATETIME }} + BUILD_TIME: ${{ needs.prepare_ci_run.outputs.BUILD_TIME }} + GIT_SHA: ${{ needs.prepare_ci_run.outputs.GIT_SHA }} + RELEASE_REGISTRY: "localhost:5000/keptn" + strategy: + matrix: + config: + - name: "keptn-lifecycle-operator" + folder: "operator/" + - name: "scheduler" + folder: "scheduler/" + - name: "functions-runtime" + folder: "functions-runtime/" + - name: "klt-cert-manager" + folder: "klt-cert-manager/" + steps: + - name: Check out code + uses: actions/checkout@v3 + + - name: Cache build tools + id: cache-build-tools + uses: actions/cache@v3 + with: + path: ./${{ matrix.config.folder }}bin + key: build-tools-${{ github.ref_name }} + + - name: Set up Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v2 + + - name: Build Docker Image + uses: docker/build-push-action@v3 + with: + context: ${{ matrix.config.folder }} + platforms: linux/amd64 + target: production + tags: | + ${{ env.RELEASE_REGISTRY }}/${{ matrix.config.name }}:dev-${{ env.DATETIME }} + build-args: | + GIT_HASH=${{ env.GIT_SHA }} + RELEASE_VERSION=dev-${{ env.DATETIME }} + BUILD_TIME=${{ env.BUILD_TIME }} + CONTROLLER_TOOLS_VERSION=${{ env.CONTROLLER_TOOLS_VERSION }} + SCHEDULER_COMPATIBLE_K8S_VERSION=${{ env.SCHEDULER_COMPATIBLE_K8S_VERSION }} + builder: ${{ steps.buildx.outputs.name }} + push: false + cache-from: type=gha,scope=${{ github.ref_name }}-${{ matrix.config.name }} + cache-to: type=gha,scope=${{ github.ref_name }}-${{ matrix.config.name }} + outputs: type=docker,dest=/tmp/${{ matrix.config.name }}-image.tar + + - name: Upload image as artifact + uses: actions/upload-artifact@v3 + with: + name: ${{ matrix.config.name }}-image.tar + path: /tmp/${{ matrix.config.name }}-image.tar + + + build_helm_chart: + name: Build Helm Chart + needs: [ prepare_ci_run, build_image ] + runs-on: ubuntu-22.04 + env: + RELEASE_REGISTRY: "localhost:5000/keptn" + steps: + - name: Check out code + uses: actions/checkout@v3 + + - name: Generate helm charts + run: | + make helm-package RELEASE_REGISTRY=${{ env.RELEASE_REGISTRY }} TAG=dev-${{ needs.prepare_ci_run.outputs.DATETIME }} + sed -i 's/imagePullPolicy: Always/imagePullPolicy: Never/g' ./helm/chart/templates/rendered.yaml + sed -i 's/ghcr.keptn.sh\/keptn\/functions-runtime:.*/localhost:5000\/keptn\/functions-runtime dev-${{ needs.prepare_ci_run.outputs.DATETIME }}/g' ./helm/chart/templates/rendered.yaml + rm -r ./helm/chart/charts + + - name: Upload KLT helm charts archive + uses: actions/upload-artifact@v3 + with: + name: keptn-lifecycle-toolkit.tgz + path: ./helm/chart/* + + integration_tests: + name: Integration Tests + needs: [ build_helm_chart ] + with: + functions_runtime_tag: dev-${{ needs.prepare_ci_run.outputs.DATETIME }} + helm-install: true + uses: ./.github/workflows/integration-test.yml diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index bfbbbc7d1a..709ea0c5d9 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -6,6 +6,10 @@ on: description: "Tag for the functions runner image" type: "string" required: true + helm-install: + description: "Decides wheter to install via helm" + type: "boolean" + default: false env: GO_VERSION: "~1.19" # renovate: datasource=github-tags depName=kudobuilder/kuttl @@ -26,6 +30,7 @@ jobs: uses: ./.github/actions/deploy-klt-on-cluster with: functions_runtime_tag: ${{ inputs.functions_runtime_tag }} + helm-install: ${{ inputs.helm-install }} - name: Download KUTTL run: | diff --git a/operator/config/manager/manager.yaml b/operator/config/manager/manager.yaml index eaac7df43c..9593687dc4 100644 --- a/operator/config/manager/manager.yaml +++ b/operator/config/manager/manager.yaml @@ -1,10 +1,4 @@ -apiVersion: v1 -kind: Namespace -metadata: - labels: - control-plane: controller-manager - name: system ---- + apiVersion: apps/v1 kind: Deployment metadata: From bab6a6fdf049541c5b89ae967cd42bc26b9402fb Mon Sep 17 00:00:00 2001 From: RealAnna <89971034+RealAnna@users.noreply.github.com> Date: Thu, 2 Feb 2023 15:29:02 +0100 Subject: [PATCH 09/11] doc: fix reference to snippets (#752) Signed-off-by: realanna --- docs/content/en/docs/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/en/docs/getting-started.md b/docs/content/en/docs/getting-started.md index 527c60a744..381af21447 100644 --- a/docs/content/en/docs/getting-started.md +++ b/docs/content/en/docs/getting-started.md @@ -36,10 +36,10 @@ kubectl version --short The output should look like this. In this example, both client and server are at v1.24.0 so the Keptn Lifecycle Toolkit will work. -{{% readfile file="snippets/tasks/k8s_version_output.md" markdown="true" %}} +{{% readfile file="./snippets/tasks/k8s_version_output.md" markdown="true" %}} ## Install the Keptn Lifecycle Toolkit -{{% readfile file="snippets/tasks/install.md" markdown="true" %}} +{{% readfile file="./snippets/tasks/install.md" markdown="true" %}} ## Check out the Getting Started Repository For the further progress of this guide, we need a sample application as well as some helpers which makes it easier for your to set up your environment. These things can be found in our Getting Started repository which can be checked out as follows: From c9873ae18e5f353e5a0539eda680bac0444817a8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Feb 2023 16:20:03 +0100 Subject: [PATCH 10/11] deps: update golang docker tag to v1.20.0 (#742) Signed-off-by: Renovate Bot Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- klt-cert-manager/Dockerfile | 2 +- operator/Dockerfile | 2 +- scheduler/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/klt-cert-manager/Dockerfile b/klt-cert-manager/Dockerfile index 67e05bcf27..40c07d8eec 100644 --- a/klt-cert-manager/Dockerfile +++ b/klt-cert-manager/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM --platform=$BUILDPLATFORM golang:1.19.5-alpine3.16 AS builder +FROM --platform=$BUILDPLATFORM golang:1.20.0-alpine3.16 AS builder ENV CGO_ENABLED=0 diff --git a/operator/Dockerfile b/operator/Dockerfile index 5d0f00a512..8c46f03f47 100644 --- a/operator/Dockerfile +++ b/operator/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.19.5-alpine3.16 AS builder +FROM --platform=$BUILDPLATFORM golang:1.20.0-alpine3.16 AS builder ENV CGO_ENABLED=0 diff --git a/scheduler/Dockerfile b/scheduler/Dockerfile index 8fd5d79370..f420c9d120 100644 --- a/scheduler/Dockerfile +++ b/scheduler/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.19.5-alpine3.16 AS builder +FROM --platform=$BUILDPLATFORM golang:1.20.0-alpine3.16 AS builder ENV CGO_ENABLED=0 From cad355a2a8ee15296015db62cb86e1038c97fba3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Feb 2023 16:21:22 +0100 Subject: [PATCH 11/11] deps: update docker/build-push-action action to v4 (#736) Signed-off-by: Renovate Bot Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/CI.yaml | 4 ++-- .github/workflows/helm-checks.yaml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 15f78cb6a0..8e43c7a8b9 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -127,7 +127,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Build Docker Image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: context: ${{ matrix.config.folder }} platforms: linux/amd64 @@ -242,7 +242,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Build Docker Image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: context: ${{ matrix.config.folder }} platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/helm-checks.yaml b/.github/workflows/helm-checks.yaml index 1db6dd2585..96b00ce3f8 100644 --- a/.github/workflows/helm-checks.yaml +++ b/.github/workflows/helm-checks.yaml @@ -90,7 +90,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Build Docker Image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: context: ${{ matrix.config.folder }} platforms: linux/amd64 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79a1fee85e..8ac32a627d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,7 +79,7 @@ jobs: uses: sigstore/cosign-installer@v2.8.1 - name: Build Docker Image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: context: ${{ matrix.config.folder }} platforms: linux/amd64,linux/arm64