8000 [Bugfix] Versioning Alignment (#1722) · arangodb/kube-arangodb@750d632 · GitHub
[go: up one dir, main page]

Skip to content

Commit 750d632

Browse files
authored
[Bugfix] Versioning Alignment (#1722)
1 parent 9e7ed8d commit 750d632

File tree

8 files changed

+17
-12
lines changed

8 files changed

+17
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
- (Feature) (Gateway) Dynamic Configuration
3030
- (Feature) DebugPackage ArangoRoutes
3131
- (Feature) (Scheduler) Add Status Conditions
32+
- (Bugfix) Versioning Alignment
3233

3334
## [1.2.42](https://github.com/arangodb/kube-arangodb/tree/1.2.42) (2024-07-23)
3435
- (Maintenance) Go 1.22.4 & Kubernetes 1.29.6 libraries

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,10 @@ patch-release: patch-readme patch-examples patch-chart
747747

748748
.PHONY: patch-chart
749749
patch-chart:
750-
$(ROOTDIR)/scripts/patch_chart.sh "$(VERSION_MAJOR_MINOR_PATCH)" "$(OPERATORIMAGE)"
750+
$(ROOTDIR)/scripts/patch_chart.sh $(VERSION_MAJOR_MINOR_PATCH)
751+
752+
.PHONY: patch
753+
patch: patch-chart patch-release patch-examples patch-readme
751754

752755
.PHONY: tidy
753756
tidy:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,9 @@ helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/
325325
##### Enterprise Edition
326326
```bash
327327
# The following will install the operator and basic CRDs resources.
328-
helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.41/kube-arangodb-enterprise-1.2.41.tgz
328+
helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.42/kube-arangodb-enterprise-1.2.42.tgz
329329
# To use `ArangoLocalStorage`, set field `operator.features.storage` to true
330-
helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.41/kube-arangodb-enterprise-1.2.41.tgz --set "operator.features.storage=true"
330+
helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.42/kube-arangodb-enterprise-1.2.42.tgz --set "operator.features.storage=true"
331331
```
332332

333333
### Upgrading the operator using Helm
@@ -364,9 +364,9 @@ helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/
364364
##### Enterprise Edition
365365
```bash
366366
# The following will install the operator and basic CRDs resources.
367-
helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.41/kube-arangodb-enterprise-1.2.41.tgz
367+
helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.42/kube-arangodb-enterprise-1.2.42.tgz
368368
# To use `ArangoLocalStorage`, set field `operator.features.storage` to true
369-
helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.41/kube-arangodb-enterprise-1.2.41.tgz --set "operator.features.storage=true"
369+
helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.42/kube-arangodb-enterprise-1.2.42.tgz --set "operator.features.storage=true"
370370
```
371371

372372
## Building

chart/kube-arangodb-enterprise-arm64/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
operator:
2-
image: arangodb/kube-arangodb:1.2.42
2+
image: arangodb/kube-arangodb-enterprise:1.2.42
33
imagePullPolicy: IfNotPresent
44
imagePullSecrets: []
55
scope: legacy
66
architectures:
7-
- amd64
7+
- arm64
88
debug: false
99
args: []
1010
service:

chart/kube-arangodb-enterprise/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
operator:
2-
image: arangodb/kube-arangodb:1.2.42
2+
image: arangodb/kube-arangodb-enterprise:1.2.42
33
imagePullPolicy: IfNotPresent
44
imagePullSecrets: []
55
scope: legacy
66
architectures:
7-
- arm64
7+
- amd64
88
debug: false
99
args: []
1010
service:

scripts/patch_chart.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# version.
55

66
VERSION=$1
7-
IMAGE=$2
87

98
if [ -z $VERSION ]; then
109
echo "Specify a version argument"
@@ -20,6 +19,7 @@ function replaceInFile {
2019
for f in kube-arangodb kube-arangodb-enterprise kube-arangodb-arm64 kube-arangodb-enterprise-arm64 kube-arangodb-crd; do
2120
replaceInFile "s@^version: .*\$@version: ${VERSION}@g" "chart/${f}/Chart.yaml"
2221
if [[ -f "chart/${f}/values.yaml" ]]; then
23-
replaceInFile "s@^ image: .*\$@ image: ${IMAGE}@g" "chart/${f}/values.yaml"
22+
replaceInFile "s@^ image: arangodb/kube-arangodb:[[:digit:]].*\$@ image: arangodb/kube-arangodb:${VERSION}@g" "chart/${f}/values.yaml"
23+
replaceInFile "s@^ image: arangodb/kube-arangodb-enterprise:[[:digit:]].*\$@ image: arangodb/kube-arangodb-enterprise:${VERSION}@g" "chart/${f}/values.yaml"
2424
fi
2525
done

scripts/patch_examples.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [ -z $VERSION ]; then
99
exit 1
1010
fi
1111

12-
ARANGODB_VERSION=3.10.8
12+
ARANGODB_VERSION=3.12.2
1313

1414
function replaceInFile {
1515
local EXPR=$1

scripts/patch_readme.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ replaceInFile "s@^kubectl apply -f https://raw.githubusercontent.com/arangodb/ku
3535
replaceInFile "s@https://github\.com/arangodb/kube-arangodb/releases/download/.*/kube-arangodb-crd-[[:digit:]].*\.tgz@https://github.com/arangodb/kube-arangodb/releases/download/${VERSION}/kube-arangodb-crd-${VERSION}.tgz@g" ${f}
3636
replaceInFile "s@https://github\.com/arangodb/kube-arangodb/releases/download/.*/kube-arangodb-enterprise-[[:digit:]].*\.tgz@https://github.com/arangodb/kube-arangodb/releases/download/${VERSION}/kube-arangodb-enterprise-${VERSION}.tgz@g" ${f}
3737
replaceInFile "s@https://github\.com/arangodb/kube-arangodb/releases/download/.*/kube-arangodb-[[:digit:]].*\.tgz@https://github.com/arangodb/kube-arangodb/releases/download/${VERSION}/kube-arangodb-${VERSION}.tgz@g" ${f}
38+
replaceInFile "s@https://github\.com/arangodb/kube-arangodb/releases/download/.*/kube-arangodb-enterprise-[[:digit:]].*\.tgz@https://github.com/arangodb/kube-arangodb/releases/download/${VERSION}/kube-arangodb-enterprise-${VERSION}.tgz@g" ${f}

0 commit comments

Comments
 (0)
0