From a06016cead5f1b31f75eca7bef18b3cb6670147e Mon Sep 17 00:00:00 2001 From: ericsyh Date: Thu, 7 Sep 2023 11:22:57 +0800 Subject: [PATCH 1/4] chore: bump chart to 0.4.2 Signed-off-by: ericsyh --- charts/pulsar-resources-operator/Chart.yaml | 4 ++-- charts/pulsar-resources-operator/tests/deployment_test.yaml | 2 +- charts/pulsar-resources-operator/values.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/pulsar-resources-operator/Chart.yaml b/charts/pulsar-resources-operator/Chart.yaml index 180a8b58..77dd7e64 100644 --- a/charts/pulsar-resources-operator/Chart.yaml +++ b/charts/pulsar-resources-operator/Chart.yaml @@ -30,13 +30,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: v0.4.1 +version: v0.4.2 # 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. -appVersion: "v0.4.1" +appVersion: "v0.4.2" # This is a semver range of compatible Kubernetes versions. Helm will validate the version # constraints when installing the chart and fail if the cluster runs an unsupported Kubernetes version diff --git a/charts/pulsar-resources-operator/tests/deployment_test.yaml b/charts/pulsar-resources-operator/tests/deployment_test.yaml index c6259236..bf8cb7f7 100644 --- a/charts/pulsar-resources-operator/tests/deployment_test.yaml +++ b/charts/pulsar-resources-operator/tests/deployment_test.yaml @@ -31,7 +31,7 @@ tests: value: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.1 - equal: path: spec.template.spec.containers[1].image - value: docker.cloudsmith.io/streamnative/operators/pulsar-resources-operator:v0.4.1 + value: docker.cloudsmith.io/streamnative/operators/pulsar-resources-operator:v0.4.2 - equal: path: spec.template.spec.containers[1].imagePullPolicy value: IfNotPresent diff --git a/charts/pulsar-resources-operator/values.yaml b/charts/pulsar-resources-operator/values.yaml index fea27439..7bfcb700 100644 --- a/charts/pulsar-resources-operator/values.yaml +++ b/charts/pulsar-resources-operator/values.yaml @@ -42,7 +42,7 @@ image: # -- The full repo name for image. repository: kubebuilder/kube-rbac-proxy # -- Image tag, it can override the image tag whose default is the chart appVersion. - tag: "v0.14.1" + tag: "v0.14.2" # -- Specifies image pull secrets for private registry, the format is `- name: gcr` imagePullSecrets: [] From 7c94969025e3d908f6ccd3a12a82aa16731526b4 Mon Sep 17 00:00:00 2001 From: fswang Date: Thu, 7 Sep 2023 20:12:49 +0800 Subject: [PATCH 2/4] fix: test --- charts/pulsar-resources-operator/tests/deployment_test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/pulsar-resources-operator/tests/deployment_test.yaml b/charts/pulsar-resources-operator/tests/deployment_test.yaml index bf8cb7f7..7ac90816 100644 --- a/charts/pulsar-resources-operator/tests/deployment_test.yaml +++ b/charts/pulsar-resources-operator/tests/deployment_test.yaml @@ -28,10 +28,10 @@ tests: pattern: -pulsar-resources-operator$ - equal: path: spec.template.spec.containers[0].image - value: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.1 + value: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.2 - equal: path: spec.template.spec.containers[1].image - value: docker.cloudsmith.io/streamnative/operators/pulsar-resources-operator:v0.4.2 + value: docker.streamnative.io/streamnative/operators/pulsar-resources-operator:v0.4.2 - equal: path: spec.template.spec.containers[1].imagePullPolicy value: IfNotPresent @@ -61,7 +61,7 @@ tests: asserts: - equal: path: spec.template.spec.containers[1].image - value: docker.cloudsmith.io/streamnative/operators/pulsar-resources-operator:v0.0.1 + value: docker.streamnative.io/streamnative/operators/pulsar-resources-operator:v0.0.1 - it: should update the replicas successfully set: From cd75c47bf3f151b1b4e3ef6fe150b047a3bd2896 Mon Sep 17 00:00:00 2001 From: ericsyh Date: Fri, 8 Sep 2023 14:48:14 +0800 Subject: [PATCH 3/4] fix the image the version Signed-off-by: ericsyh --- charts/pulsar-resources-operator/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/pulsar-resources-operator/values.yaml b/charts/pulsar-resources-operator/values.yaml index 7bfcb700..fea27439 100644 --- a/charts/pulsar-resources-operator/values.yaml +++ b/charts/pulsar-resources-operator/values.yaml @@ -42,7 +42,7 @@ image: # -- The full repo name for image. repository: kubebuilder/kube-rbac-proxy # -- Image tag, it can override the image tag whose default is the chart appVersion. - tag: "v0.14.2" + tag: "v0.14.1" # -- Specifies image pull secrets for private registry, the format is `- name: gcr` imagePullSecrets: [] From 20565ed76d68ac4eeabc57d66cb037ac7fd1c64b Mon Sep 17 00:00:00 2001 From: fswang Date: Fri, 8 Sep 2023 19:58:30 +0800 Subject: [PATCH 4/4] fix: test --- charts/pulsar-resources-operator/tests/deployment_test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/pulsar-resources-operator/tests/deployment_test.yaml b/charts/pulsar-resources-operator/tests/deployment_test.yaml index 7ac90816..98f4faa0 100644 --- a/charts/pulsar-resources-operator/tests/deployment_test.yaml +++ b/charts/pulsar-resources-operator/tests/deployment_test.yaml @@ -28,7 +28,7 @@ tests: pattern: -pulsar-resources-operator$ - equal: path: spec.template.spec.containers[0].image - value: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.2 + value: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.1 - equal: path: spec.template.spec.containers[1].image value: docker.streamnative.io/streamnative/operators/pulsar-resources-operator:v0.4.2