From 22ba13035f9f4779a819eed58068b1ff9d90280f Mon Sep 17 00:00:00 2001 From: Zuhair AlSader Date: Wed, 20 Sep 2023 22:47:51 -0400 Subject: [PATCH] feat: upgrade version service client (#132) --- VERSION | 2 +- bundle/manifests/koor-operator.clusterserviceversion.yaml | 8 ++++---- charts/koor-operator/Chart.yaml | 4 ++-- charts/koor-operator/README.md | 2 +- charts/koor-operator/values.yaml | 2 +- config/manager/kustomization.yaml | 2 +- go.mod | 4 ++-- go.sum | 8 ++++---- utils/version.go | 2 +- utils/version_service.go | 2 +- 10 files changed, 18 insertions(+), 18 deletions(-) diff --git a/VERSION b/VERSION index 0f82685..6678432 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.7 +0.3.8 diff --git a/bundle/manifests/koor-operator.clusterserviceversion.yaml b/bundle/manifests/koor-operator.clusterserviceversion.yaml index 2f538dc..0eaf7d9 100644 --- a/bundle/manifests/koor-operator.clusterserviceversion.yaml +++ b/bundle/manifests/koor-operator.clusterserviceversion.yaml @@ -32,10 +32,10 @@ metadata: } ] capabilities: Basic Install - createdAt: "2023-09-21T00:52:59Z" + createdAt: "2023-09-21T02:46:31Z" operators.operatorframework.io/builder: operator-sdk-v1.31.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 - name: koor-operator.v0.3.7 + name: koor-operator.v0.3.8 namespace: placeholder spec: apiservicedefinitions: {} @@ -160,7 +160,7 @@ spec: - --leader-elect command: - /manager - image: docker.io/koorinc/koor-operator:v0.3.7 + image: docker.io/koorinc/koor-operator:v0.3.8 livenessProbe: httpGet: path: /healthz @@ -286,7 +286,7 @@ spec: provider: name: Koor Technology, Inc. url: koor.tech - version: 0.3.7 + version: 0.3.8 webhookdefinitions: - admissionReviewVersions: - v1 diff --git a/charts/koor-operator/Chart.yaml b/charts/koor-operator/Chart.yaml index 69a5d69..8e33c42 100644 --- a/charts/koor-operator/Chart.yaml +++ b/charts/koor-operator/Chart.yaml @@ -16,14 +16,14 @@ type: application # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) # To change this, change the version inside the file VERSION -version: 0.3.7 +version: 0.3.8 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. # To change this, change the version inside the file VERSION -appVersion: "v0.3.7" +appVersion: "v0.3.8" # The optional kubeVersion field can define semver constraints on supported Kubernetes versions. # Helm will validate the version constraints when installing the chart and fail if the cluster diff --git a/charts/koor-operator/README.md b/charts/koor-operator/README.md index aea2b4a..3e3dd40 100644 --- a/charts/koor-operator/README.md +++ b/charts/koor-operator/README.md @@ -52,7 +52,7 @@ The following table lists the configurable parameters of the rook-operator chart | `controllerManager.manager.args` | Operator args | `["--health-probe-bind-address=:8081","--metrics-bind-address=127.0.0.1:8080","--leader-elect"]` | | `controllerManager.manager.containerSecurityContext` | Operator container security context | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]}}` | | `controllerManager.manager.image.repository` | Operator image repository | `"docker.io/koorinc/koor-operator"` | -| `controllerManager.manager.image.tag` | Operator image tag | `"v0.3.7"` | +| `controllerManager.manager.image.tag` | Operator image tag | `"v0.3.8"` | | `controllerManager.manager.resources` | Operator container resources | `{"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"10m","memory":"128Mi"}}` | | `controllerManager.replicas` | | `1` | | `controllerManager.serviceAccount.annotations` | | `{}` | diff --git a/charts/koor-operator/values.yaml b/charts/koor-operator/values.yaml index 49ce7c8..86e2a15 100644 --- a/charts/koor-operator/values.yaml +++ b/charts/koor-operator/values.yaml @@ -49,7 +49,7 @@ controllerManager: # -- Operator image repository repository: docker.io/koorinc/koor-operator # -- Operator image tag - tag: v0.3.7 + tag: v0.3.8 # -- Operator container resources resources: limits: diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index af77000..180df71 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -5,4 +5,4 @@ kind: Kustomization images: - name: controller newName: docker.io/koorinc/koor-operator - newTag: v0.3.7 + newTag: v0.3.8 diff --git a/go.mod b/go.mod index 3833b51..4f7fe3d 100644 --- a/go.mod +++ b/go.mod @@ -3,10 +3,10 @@ module github.com/koor-tech/koor-operator go 1.21 require ( + connectrpc.com/connect v1.11.1 github.com/Masterminds/sprig/v3 v3.2.3 - github.com/bufbuild/connect-go v1.10.0 github.com/itchyny/gojq v0.12.13 - github.com/koor-tech/version-service v0.1.5 + github.com/koor-tech/version-service v0.1.6 github.com/mittwald/go-helm-client v0.12.3 github.com/onsi/ginkgo/v2 v2.12.1 github.com/onsi/gomega v1.27.10 diff --git a/go.sum b/go.sum index 503a316..5d76227 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,6 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +connectrpc.com/connect v1.11.1 h1:dqRwblixqkVh+OFBOOL1yIf1jS/yP0MSJLijRj29bFg= +connectrpc.com/connect v1.11.1/go.mod h1:3AGaO6RRGMx5IKFfqbe3hvK1NqLosFNP2BxDYTPmNPo= github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 h1:bvDV9vkmnHYOMsOr4WLk+Vo07yKIzd94sVoIqshQ4bU= github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24/go.mod h1:8o94RPi1/7XTJvwPpRSzSUedZrtlirdB3r9Z20bi2f8= github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0= @@ -38,8 +40,6 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/bshuster-repo/logrus-logstash-hook v1.0.0 h1:e+C0SB5R1pu//O4MQ3f9cFuPGoOVeF2fE4Og9otCc70= github.com/bshuster-repo/logrus-logstash-hook v1.0.0/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= -github.com/bufbuild/connect-go v1.10.0 h1:QAJ3G9A1OYQW2Jbk3DeoJbkCxuKArrvZgDt47mjdTbg= -github.com/bufbuild/connect-go v1.10.0/go.mod h1:CAIePUgkDR5pAFaylSMtNK45ANQjp9JvpluG20rhpV8= github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd h1:rFt+Y/IK1aEZkEHchZRSq9OQbsSzIT/OrI8YFFmRIng= github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b h1:otBG+dV+YK+Soembjv71DPz3uX/V/6MMlSyD9JBQ6kQ= @@ -238,8 +238,8 @@ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+o github.com/klauspost/compress v1.17.0 h1:Rnbp4K9EjcDuVuHtd0dgA4qNuv9yKDYKK1ulpJwgrqM= github.com/klauspost/compress v1.17.0/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/koor-tech/version-service v0.1.5 h1:96jz6xkJBNI2quXBEF/WoAJo0bdldpvH/bkO9OhNC8g= -github.com/koor-tech/version-service v0.1.5/go.mod h1:xlgrupqEfF6v5s69zvkdvR+cOqN3vpkQGUI7yavJJUM= +github.com/koor-tech/version-service v0.1.6 h1:35R7u6CZFnMdXjMvxsiXLjP//qskUwJYrffiY62iCpQ= +github.com/koor-tech/version-service v0.1.6/go.mod h1:qvWnh/8lpm0U+3F/ed3ffjewypMl+/x3VJ+hIr/BzR4= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= diff --git a/utils/version.go b/utils/version.go index a6f857f..20ad229 100644 --- a/utils/version.go +++ b/utils/version.go @@ -17,5 +17,5 @@ limitations under the License. package utils const ( - OperatorVersion = "0.3.7" + OperatorVersion = "0.3.8" ) diff --git a/utils/version_service.go b/utils/version_service.go index 4ba0a39..5bcb0ca 100644 --- a/utils/version_service.go +++ b/utils/version_service.go @@ -21,7 +21,7 @@ import ( "fmt" "net/http" - "github.com/bufbuild/connect-go" + "connectrpc.com/connect" koapi "github.com/koor-tech/koor-operator/api/v1alpha1" vsapi "github.com/koor-tech/version-service/api/v1" "github.com/koor-tech/version-service/api/v1/apiv1connect"