Skip to content

Commit 52a868d

Browse files
committed
Fix the app version in the published Helm charts
1 parent ecbae8a commit 52a868d

7 files changed

+14
-8
lines changed

Changelog.md renamed to CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1010
### Removed
1111
### Fixed
1212

13+
## [0.6.1] - 2021-12-22
14+
### Changed
15+
* Bump https://github.com/bitpoke/build to 0.7.1
16+
### Fixed
17+
* Fix the app version in the published Helm charts
18+
1319
## [0.6.0] - 2021-12-21
1420
### Added
1521
* 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`

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ include build/makelib/helm.mk
6060
@set -e; \
6161
for crd in $(wildcard $(CRD_DIR)/*.yaml) ; do \
6262
cp $${crd} $(HELM_CHARTS_DIR)/mysql-operator/crds/ ; \
63-
$(YQ) e '.metadata.labels["app"]="mysql-operator"' -i $(HELM_CHARTS_DIR)/mysql-operator/crds/$$(basename $${crd}) ; \
64-
$(YQ) e 'del(.metadata.creationTimestamp)' -i $(HELM_CHARTS_DIR)/mysql-operator/crds/$$(basename $${crd}) ; \
65-
$(YQ) e 'del(.status)' -i $(HELM_CHARTS_DIR)/mysql-operator/crds/$$(basename $${crd}) ; \
63+
$(YQ) e '.metadata.labels["app.kubernetes.io/name"]="mysql-operator"' -i $(HELM_CHARTS_DIR)/mysql-operator/crds/$$(basename $${crd}) ; \
64+
$(YQ) e 'del(.metadata.creationTimestamp)' -i $(HELM_CHARTS_DIR)/mysql-operator/crds/$$(basename $${crd}) ; \
65+
$(YQ) e 'del(.status)' -i $(HELM_CHARTS_DIR)/mysql-operator/crds/$$(basename $${crd}) ; \
6666
done
6767
@echo '{{- if .Values.rbac.create }}' > $(HELM_CHARTS_DIR)/mysql-operator/templates/clusterrole.yaml
6868
@echo 'apiVersion: rbac.authorization.k8s.io/v1' >> $(HELM_CHARTS_DIR)/mysql-operator/templates/clusterrole.yaml

deploy/charts/mysql-operator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# mysql-operator
1+
# Bitpoke MySQL Operator
22

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

deploy/charts/mysql-operator/crds/mysql.presslabs.org_mysqlbackups.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
controller-gen.kubebuilder.io/version: v0.7.0
66
name: mysqlbackups.mysql.presslabs.org
77
labels:
8-
app: mysql-operator
8+
app.kubernetes.io/name: mysql-operator
99
spec:
1010
group: mysql.presslabs.org
1111
names:

deploy/charts/mysql-operator/crds/mysql.presslabs.org_mysqlclusters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
controller-gen.kubebuilder.io/version: v0.7.0
66
name: mysqlclusters.mysql.presslabs.org
77
labels:
8-
app: mysql-operator
8+
app.kubernetes.io/name: mysql-operator
99
spec:
1010
group: mysql.presslabs.org
1111
names:

deploy/charts/mysql-operator/crds/mysql.presslabs.org_mysqldatabases.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
controller-gen.kubebuilder.io/version: v0.7.0
66
name: mysqldatabases.mysql.presslabs.org
77
labels:
8-
app: mysql-operator
8+
app.kubernetes.io/name: mysql-operator
99
spec:
1010
group: mysql.presslabs.org
1111
names:

deploy/charts/mysql-operator/crds/mysql.presslabs.org_mysqlusers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
controller-gen.kubebuilder.io/version: v0.7.0
66
name: mysqlusers.mysql.presslabs.org
77
labels:
8-
app: mysql-operator
8+
app.kubernetes.io/name: mysql-operator
99
spec:
1010
group: mysql.presslabs.org
1111
names:

0 commit comments

Comments
 (0)