Skip to content

Commit

Permalink
bump helm charts 0.9.0 (#290)
Browse files Browse the repository at this point in the history
* copycrds

* bump version to 0.9.0

* fix license

* fix ci
  • Loading branch information
freeznet authored Feb 27, 2025
1 parent 88fdc02 commit dcc8bf1
Show file tree
Hide file tree
Showing 20 changed files with 1,288 additions and 100 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/chart-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ jobs:
diff config/crd/bases/resource.streamnative.io_pulsarnsisolationpolicies.yaml charts/pulsar-resources-operator/crds/resource.streamnative.io_pulsarnsisolationpolicies.yaml && \
diff config/crd/bases/resource.streamnative.io_streamnativecloudconnections.yaml charts/pulsar-resources-operator/crds/resource.streamnative.io_streamnativecloudconnections.yaml && \
diff config/crd/bases/resource.streamnative.io_computeworkspaces.yaml charts/pulsar-resources-operator/crds/resource.streamnative.io_computeworkspaces.yaml && \
diff config/crd/bases/resource.streamnative.io_computeflinkdeployments.yaml charts/pulsar-resources-operator/crds/resource.streamnative.io_computeflinkdeployments.yaml
diff config/crd/bases/resource.streamnative.io_computeflinkdeployments.yaml charts/pulsar-resources-operator/crds/resource.streamnative.io_computeflinkdeployments.yaml && \
diff config/crd/bases/resource.streamnative.io_secrets.yaml charts/pulsar-resources-operator/crds/resource.streamnative.io_secrets.yaml
- name: Set up Helm
uses: azure/setup-helm@v3
Expand Down Expand Up @@ -144,6 +145,10 @@ jobs:
node_image: kindest/node:v1.26.6
if: ${{ needs.lint-test.outputs.changed == 'true' }}

- name: Create k8s namespace chart-testing
run: kubectl create namespace chart-testing
if: ${{ needs.lint-test.outputs.changed == 'true' }}

- name: Run chart-testing (install)
run: ct install --debug --config ct.yaml --print-config --charts ${{ needs.lint-test.outputs.chart_name }}
if: ${{ needs.lint-test.outputs.changed == 'true' }}
Expand Down Expand Up @@ -219,6 +224,10 @@ jobs:
node_image: kindest/node:v1.27.13
if: ${{ needs.lint-test.outputs.changed == 'true' }}

- name: Create k8s namespace chart-testing
run: kubectl create namespace chart-testing
if: ${{ needs.lint-test.outputs.changed == 'true' }}

- name: Run chart-testing (install)
run: ct install --debug --config ct.yaml --print-config --charts ${{ needs.lint-test.outputs.chart_name }}
if: ${{ needs.lint-test.outputs.changed == 'true' }}
Expand Down Expand Up @@ -294,6 +303,10 @@ jobs:
node_image: kindest/node:v1.28.9
if: ${{ needs.lint-test.outputs.changed == 'true' }}

- name: Create k8s namespace chart-testing
run: kubectl create namespace chart-testing
if: ${{ needs.lint-test.outputs.changed == 'true' }}

- name: Run chart-testing (install)
run: ct install --debug --config ct.yaml --print-config --charts ${{ needs.lint-test.outputs.chart_name }}
if: ${{ needs.lint-test.outputs.changed == 'true' }}
Expand Down Expand Up @@ -369,6 +382,10 @@ jobs:
node_image: kindest/node:v1.29.4
if: ${{ needs.lint-test.outputs.changed == 'true' }}

- name: Create k8s namespace chart-testing
run: kubectl create namespace chart-testing
if: ${{ needs.lint-test.outputs.changed == 'true' }}

- name: Run chart-testing (install)
run: ct install --debug --config ct.yaml --print-config --charts ${{ needs.lint-test.outputs.chart_name }}
if: ${{ needs.lint-test.outputs.changed == 'true' }}
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,7 @@ license-fix: license-eye
.PHONY: copy-crds
copy-crds:
cp -r config/crd/bases/* charts/pulsar-resources-operator/crds
# Sync rules from config/rbac/role.yaml to charts/pulsar-resources-operator/templates/role.yaml
@echo "Syncing rules section from config/rbac/role.yaml to charts/pulsar-resources-operator/templates/role.yaml"
@./scripts/sync_rules.py config/rbac/role.yaml charts/pulsar-resources-operator/templates/role.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.8.1
version: v0.9.0

# 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.8.1"
appVersion: "v0.9.0"

# 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
2 changes: 1 addition & 1 deletion charts/pulsar-resources-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Pulsar Resources Operator

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

## Installing the Chart

Expand Down
Loading

0 comments on commit dcc8bf1

Please sign in to comment.