Skip to content

Commit

Permalink
Fix the app version in the published Helm charts
Browse files Browse the repository at this point in the history
  • Loading branch information
calind committed Dec 22, 2021
1 parent ecbae8a commit 52a868d
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
6 changes: 6 additions & 0 deletions Changelog.md → CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### Removed
### Fixed

## [0.6.1] - 2021-12-22
### Changed
* Bump https://github.com/bitpoke/build to 0.7.1
### Fixed
* Fix the app version in the published Helm charts

## [0.6.0] - 2021-12-21
### Added
* If you want to save mysql backup to AWS S3, `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` were the only options, but now you can use `AWS_SESSION_TOKEN` or `AWS_ROLE_ARN` and `AWS_WEB_IDENTITY_TOKEN_FILE`
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ include build/makelib/helm.mk
@set -e; \
for crd in $(wildcard $(CRD_DIR)/*.yaml) ; do \
cp $${crd} $(HELM_CHARTS_DIR)/mysql-operator/crds/ ; \
$(YQ) e '.metadata.labels["app"]="mysql-operator"' -i $(HELM_CHARTS_DIR)/mysql-operator/crds/$$(basename $${crd}) ; \
$(YQ) e 'del(.metadata.creationTimestamp)' -i $(HELM_CHARTS_DIR)/mysql-operator/crds/$$(basename $${crd}) ; \
$(YQ) e 'del(.status)' -i $(HELM_CHARTS_DIR)/mysql-operator/crds/$$(basename $${crd}) ; \
$(YQ) e '.metadata.labels["app.kubernetes.io/name"]="mysql-operator"' -i $(HELM_CHARTS_DIR)/mysql-operator/crds/$$(basename $${crd}) ; \
$(YQ) e 'del(.metadata.creationTimestamp)' -i $(HELM_CHARTS_DIR)/mysql-operator/crds/$$(basename $${crd}) ; \
$(YQ) e 'del(.status)' -i $(HELM_CHARTS_DIR)/mysql-operator/crds/$$(basename $${crd}) ; \
done
@echo '{{- if .Values.rbac.create }}' > $(HELM_CHARTS_DIR)/mysql-operator/templates/clusterrole.yaml
@echo 'apiVersion: rbac.authorization.k8s.io/v1' >> $(HELM_CHARTS_DIR)/mysql-operator/templates/clusterrole.yaml
Expand Down
2 changes: 1 addition & 1 deletion deploy/charts/mysql-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mysql-operator
# Bitpoke MySQL Operator

This is the helm chart for [mysql-operator](https://github.com/bitpoke/mysql-operator).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
controller-gen.kubebuilder.io/version: v0.7.0
name: mysqlbackups.mysql.presslabs.org
labels:
app: mysql-operator
app.kubernetes.io/name: mysql-operator
spec:
group: mysql.presslabs.org
names:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
controller-gen.kubebuilder.io/version: v0.7.0
name: mysqlclusters.mysql.presslabs.org
labels:
app: mysql-operator
app.kubernetes.io/name: mysql-operator
spec:
group: mysql.presslabs.org
names:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
controller-gen.kubebuilder.io/version: v0.7.0
name: mysqldatabases.mysql.presslabs.org
labels:
app: mysql-operator
app.kubernetes.io/name: mysql-operator
spec:
group: mysql.presslabs.org
names:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
controller-gen.kubebuilder.io/version: v0.7.0
name: mysqlusers.mysql.presslabs.org
labels:
app: mysql-operator
app.kubernetes.io/name: mysql-operator
spec:
group: mysql.presslabs.org
names:
Expand Down

0 comments on commit 52a868d

Please sign in to comment.