Skip to content

Commit

Permalink
chore: upgrade chart and change the image registry (#215)
Browse files Browse the repository at this point in the history
* chore: upgrade chart and change the image registry

Signed-off-by: ericsyh <[email protected]>

* update to use the 0.4.12

Signed-off-by: ericsyh <[email protected]>

---------

Signed-off-by: ericsyh <[email protected]>
(cherry picked from commit 05898c5)
  • Loading branch information
ericsyh committed Jun 25, 2024
1 parent 49e548d commit 86abee9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions charts/pulsar-resources-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.9
version: v0.4.10

# 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.10"
appVersion: "v0.4.12"

# 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
Expand Down
4 changes: 2 additions & 2 deletions charts/pulsar-resources-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Pulsar: `>= 2.9.0.x`
| affinity | object | `{}` | Add affinity for pod |
| fullnameOverride | string | `""` | It will override the name of deployment |
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy for the container. |
| image.registry | string | `"docker.cloudsmith.io"` | Specififies the registry of images, especially when user want to use a different image hub |
| image.repository | string | `"streamnative/operators/pulsar-resources-operator"` | The full repo name for image. |
| image.registry | string | `"docker.io"` | Specififies the registry of images, especially when user want to use a different image hub |
| image.repository | string | `"streamnative/pulsar-resources-operator"` | The full repo name for image. |
| image.tag | string | `""` | Image tag, it can override the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | `[]` | Specifies image pull secrets for private registry, the format is `- name: gcr` |
| nameOverride | string | `""` | It will override the value of label `app.kubernetes.io/name` on pod |
Expand Down
6 changes: 3 additions & 3 deletions charts/pulsar-resources-operator/tests/deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.10
value: docker.io/streamnative/pulsar-resources-operator:v0.4.12
- equal:
path: spec.template.spec.containers[1].imagePullPolicy
value: IfNotPresent
Expand All @@ -57,11 +57,11 @@ tests:

- it: should update the image version successfully
set:
image.manager.tag: v0.4.10
image.manager.tag: v0.4.12
asserts:
- equal:
path: spec.template.spec.containers[1].image
value: docker.cloudsmith.io/streamnative/operators/pulsar-resources-operator:v0.4.10
value: docker.io/streamnative/pulsar-resources-operator:v0.4.12

- it: should update the replicas successfully
set:
Expand Down
8 changes: 4 additions & 4 deletions charts/pulsar-resources-operator/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
"description": "An explanation about the purpose of this instance.",
"examples": [
{
"registry": "docker.cloudsmith.io",
"repository": "streamnative/operators/pulsar-resources-operator",
"registry": "dockerio",
"repository": "streamnative/pulsar-resources-operator",
"tag": ""
}
],
Expand All @@ -72,7 +72,7 @@
"title": "The registry schema",
"description": "An explanation about the purpose of this instance.",
"examples": [
"docker.cloudsmith.io"
"docker.io"
]
},
"repository": {
Expand All @@ -81,7 +81,7 @@
"title": "The repository schema",
"description": "An explanation about the purpose of this instance.",
"examples": [
"streamnative/operators/pulsar-resources-operator"
"streamnative/pulsar-resources-operator"
]
},
"tag": {
Expand Down
4 changes: 2 additions & 2 deletions charts/pulsar-resources-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ image:
# resource controller container
manager:
# -- Specififies the registry of images, especially when user want to use a different image hub
registry: docker.cloudsmith.io
registry: docker.io
# -- The full repo name for image.
repository: streamnative/operators/pulsar-resources-operator
repository: streamnative/pulsar-resources-operator
# -- Image tag, it can override the image tag whose default is the chart appVersion.
tag: ""

Expand Down

0 comments on commit 86abee9

Please sign in to comment.