Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate and release helm chart 0.5.2 #220

Merged
merged 4 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,3 @@ node_modules/
.chart-index/
.chart-packages/

# Generated files while build the operator
config/crd/bases/
config/rbac/role.yaml
config/webhook/manifests.yaml
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.10
version: v0.5.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.12"
appVersion: "v0.5.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
Expand Down
16 changes: 11 additions & 5 deletions charts/pulsar-resources-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Pulsar Resources Operator Helm chart for Pulsar Resources Management on Kubernetes

![Version: v0.0.1](https://img.shields.io/badge/Version-v0.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.0.1](https://img.shields.io/badge/AppVersion-v0.0.1-informational?style=flat-square)
![Version: v0.5.2](https://img.shields.io/badge/Version-v0.5.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.5.2](https://img.shields.io/badge/AppVersion-v0.5.2-informational?style=flat-square)

## Installing the Chart

Expand All @@ -15,7 +15,7 @@ $ helm -n <namespace> install my-release streamnative/pulsar-resources-operator

## Requirements

Kubernetes: `>= 1.16.0-0 < 1.24.0-0`
Kubernetes: `>= 1.16.0-0`

Pulsar: `>= 2.9.0.x`

Expand All @@ -24,16 +24,22 @@ Pulsar: `>= 2.9.0.x`
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | Add affinity for pod |
| features.alwaysUpdatePulsarResource | bool | `false` | |
| fullnameOverride | string | `""` | It will override the name of deployment |
| image.kubeRbacProxy.registry | string | `"gcr.io"` | Specififies the registry of images, especially when user want to use a different image hub |
| image.kubeRbacProxy.repository | string | `"kubebuilder/kube-rbac-proxy"` | The full repo name for image. |
| image.kubeRbacProxy.tag | string | `"v0.14.4"` | Image tag, it can override the image tag whose default is the chart appVersion. |
| image.manager.registry | string | `"docker.io"` | Specififies the registry of images, especially when user want to use a different image hub |
| image.manager.repository | string | `"streamnative/pulsar-resources-operator"` | The full repo name for image. |
| image.manager.tag | string | `""` | Image tag, it can override the image tag whose default is the chart appVersion. |
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy for the container. |
| 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` |
| labels | object | `{}` | Add labels for the deployment |
| nameOverride | string | `""` | It will override the value of label `app.kubernetes.io/name` on pod |
| namespace | string | `""` | Specifies namespace for the release, it will override the `-n` parameter when it's not empty |
| nodeSelector | object | `{}` | Add NodeSelector for pod schedule |
| podAnnotations | object | `{}` | Add annotations for the deployment pod |
| podLabels | object | `{}` | Add labels for the deployment pod |
| podSecurityContext | object | `{}` | Add security context for pod |
| replicaCount | int | `1` | The replicas of pod |
| resources | object | `{}` | Add resource limits and requests |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,6 @@ spec:
type: array
producerCryptoFailureAction:
type: string
required:
- consumerCryptoFailureAction
- cryptoKeyReaderClassName
- cryptoKeyReaderConfig
- encryptionKeys
- producerCryptoFailureAction
type: object
poolMessages:
type: boolean
Expand Down Expand Up @@ -272,26 +266,13 @@ spec:
type: array
producerCryptoFailureAction:
type: string
required:
- consumerCryptoFailureAction
- cryptoKeyReaderClassName
- cryptoKeyReaderConfig
- encryptionKeys
- producerCryptoFailureAction
type: object
maxPendingMessages:
type: integer
maxPendingMessagesAcrossPartitions:
type: integer
useThreadLocalProducers:
type: boolean
required:
- batchBuilder
- compressionType
- cryptoConfig
- maxPendingMessages
- maxPendingMessagesAcrossPartitions
- useThreadLocalProducers
type: object
py:
description: Py is the py of the function
Expand All @@ -310,10 +291,6 @@ spec:
ram:
format: int64
type: integer
required:
- cpu
- disk
- ram
type: object
retainKeyOrdering:
description: RetainKeyOrdering is the flag to indicate whether the
Expand Down Expand Up @@ -392,17 +369,6 @@ spec:
windowLengthDurationMs:
format: int64
type: integer
required:
- actualWindowFunctionClassName
- lateDataTopic
- maxLagMs
- processingGuarantees
- slidingIntervalCount
- slidingIntervalDurationMs
- timestampExtractorClassName
- watermarkEmitIntervalMs
- windowLengthCount
- windowLengthDurationMs
type: object
required:
- connectionRef
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,6 @@ spec:
type: array
producerCryptoFailureAction:
type: string
required:
- consumerCryptoFailureAction
- cryptoKeyReaderClassName
- cryptoKeyReaderConfig
- encryptionKeys
- producerCryptoFailureAction
type: object
poolMessages:
type: boolean
Expand Down Expand Up @@ -206,10 +200,6 @@ spec:
ram:
format: int64
type: integer
required:
- cpu
- disk
- ram
type: object
retainKeyOrdering:
description: RetainKeyOrdering is the flag to enable or disable the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ spec:
type: string
discoveryTriggererConfig:
x-kubernetes-preserve-unknown-fields: true
required:
- discoveryTriggererClassName
- discoveryTriggererConfig
type: object
className:
description: ClassName is the class name of the
Expand Down Expand Up @@ -160,26 +157,13 @@ spec:
type: array
producerCryptoFailureAction:
type: string
required:
- consumerCryptoFailureAction
- cryptoKeyReaderClassName
- cryptoKeyReaderConfig
- encryptionKeys
- producerCryptoFailureAction
type: object
maxPendingMessages:
type: integer
maxPendingMessagesAcrossPartitions:
type: integer
useThreadLocalProducers:
type: boolean
required:
- batchBuilder
- compressionType
- cryptoConfig
- maxPendingMessages
- maxPendingMessagesAcrossPartitions
- useThreadLocalProducers
type: object
resources:
description: Resources is the resources of the PulsarSource
Expand All @@ -192,10 +176,6 @@ spec:
ram:
format: int64
type: integer
required:
- cpu
- disk
- ram
type: object
runtimeFlags:
description: RuntimeFlags is the runtime flags of the PulsarSource
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.4
- equal:
path: spec.template.spec.containers[1].image
value: docker.io/streamnative/pulsar-resources-operator:v0.4.12
value: docker.io/streamnative/pulsar-resources-operator:v0.5.2
- 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.12
image.manager.tag: v0.5.2
asserts:
- equal:
path: spec.template.spec.containers[1].image
value: docker.io/streamnative/pulsar-resources-operator:v0.4.12
value: docker.io/streamnative/pulsar-resources-operator:v0.5.2

- it: should update the replicas successfully
set:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2024 StreamNative
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down
14 changes: 14 additions & 0 deletions config/crd/bases/resource.streamnative.io_pulsarfunctions.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2024 StreamNative
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2024 StreamNative
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down
14 changes: 14 additions & 0 deletions config/crd/bases/resource.streamnative.io_pulsarnamespaces.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2024 StreamNative
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down
14 changes: 14 additions & 0 deletions config/crd/bases/resource.streamnative.io_pulsarpackages.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2024 StreamNative
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2024 StreamNative
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down
14 changes: 14 additions & 0 deletions config/crd/bases/resource.streamnative.io_pulsarsinks.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2024 StreamNative
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down
14 changes: 14 additions & 0 deletions config/crd/bases/resource.streamnative.io_pulsarsources.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2024 StreamNative
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down
14 changes: 14 additions & 0 deletions config/crd/bases/resource.streamnative.io_pulsartenants.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2024 StreamNative
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down
Loading
Loading