Skip to content

Commit

Permalink
Add readreplica chart release
Browse files Browse the repository at this point in the history
  • Loading branch information
ykadowak committed Feb 19, 2024
1 parent d45b71e commit 884addc
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/_release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,14 @@ jobs:
sed -i -r "s/^(\s*)tag\s*:\s*v[0-9]+\.[0-9]+\.[0-9]+\s*$/\1tag: ${RELEASE_TAG}/" charts/vald/values.yaml
sed -i -e "s/^version: .*$/version: ${RELEASE_TAG}/" charts/vald-helm-operator/Chart.yaml
sed -i -r "s/^(\s*)tag\s*:\s*v[0-9]+\.[0-9]+\.[0-9]+\s*$/\1tag: ${RELEASE_TAG}/" charts/vald-helm-operator/values.yaml
sed -i -e "s/^version: .*$/version: ${RELEASE_TAG}/" charts/vald-readreplica/Chart.yaml
make helm/schema/all
make helm/schema/crd/all
make k8s/manifest/update
make k8s/manifest/helm-operator/update
make k8s/manifest/benchmark-operator/update
make k8s/manifest/readreplica/update
make helm/docs/vald
make helm/docs/vald-helm-operator
make helm/docs/vald-readreplica
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
run: |
make helm/package/vald
make helm/package/vald-helm-operator
make helm/package/vald-readreplica
- name: Push to gh-pages
run: |
git checkout .
Expand Down
4 changes: 4 additions & 0 deletions Makefile.d/helm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ helm/package/vald-helm-operator: \
helm/schema/crd/vald-helm-operator
helm package charts/vald-helm-operator

.PHONY: helm/package/vald-readreplica
helm/package/vald-readreplica:
helm package charts/vald-readreplica

.PHONY: helm/repo/add
## add Helm chart repository
helm/repo/add:
Expand Down
16 changes: 16 additions & 0 deletions Makefile.d/k8s.mk
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,22 @@ k8s/manifest/benchmark-operator/update: \
rm -rf $(TEMP_DIR)
cp -r charts/vald-benchmark-operator/crds k8s/tools/benchmark/operator/crds

.PHONY: k8s/manifest/readreplica/clean
## clean k8s manifests for readreplica
k8s/manifest/readreplica/clean:
rm -rf \
k8s/readreplica

.PHONY: k8s/manifest/readreplica/update
## update k8s manifests for readreplica using helm templates
k8s/manifest/readreplica/update: \
k8s/manifest/readreplica/clean
helm template \
--output-dir $(TEMP_DIR) \
charts/vald-readreplica
mv $(TEMP_DIR)/vald-readreplica/templates k8s/readreplica
rm -rf $(TEMP_DIR)

.PHONY: k8s/vald/deploy
## deploy vald sample cluster to k8s
k8s/vald/deploy:
Expand Down
2 changes: 1 addition & 1 deletion charts/vald-readreplica/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

apiVersion: v2
name: vald-readreplica
version: v1.7.10
version: v1.7.11
description: A helm chart for readreplica add-on
type: application
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/vald-readreplica/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

This is a Helm chart to install Vald readreplica components.

Current chart version is `v1.7.10`
Current chart version is `v1.7.11`

## Install

Expand Down
10 changes: 10 additions & 0 deletions charts/vald/README.md

Large diffs are not rendered by default.

0 comments on commit 884addc

Please sign in to comment.