mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
[Bugfix] Versioning Alignment (#1722)
This commit is contained in:
parent
9e7ed8dbad
commit
750d63213f
8 changed files with 17 additions and 12 deletions
|
@ -29,6 +29,7 @@
|
||||||
- (Feature) (Gateway) Dynamic Configuration
|
- (Feature) (Gateway) Dynamic Configuration
|
||||||
- (Feature) DebugPackage ArangoRoutes
|
- (Feature) DebugPackage ArangoRoutes
|
||||||
- (Feature) (Scheduler) Add Status Conditions
|
- (Feature) (Scheduler) Add Status Conditions
|
||||||
|
- (Bugfix) Versioning Alignment
|
||||||
|
|
||||||
## [1.2.42](https://github.com/arangodb/kube-arangodb/tree/1.2.42) (2024-07-23)
|
## [1.2.42](https://github.com/arangodb/kube-arangodb/tree/1.2.42) (2024-07-23)
|
||||||
- (Maintenance) Go 1.22.4 & Kubernetes 1.29.6 libraries
|
- (Maintenance) Go 1.22.4 & Kubernetes 1.29.6 libraries
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -747,7 +747,10 @@ patch-release: patch-readme patch-examples patch-chart
|
||||||
|
|
||||||
.PHONY: patch-chart
|
.PHONY: patch-chart
|
||||||
patch-chart:
|
patch-chart:
|
||||||
$(ROOTDIR)/scripts/patch_chart.sh "$(VERSION_MAJOR_MINOR_PATCH)" "$(OPERATORIMAGE)"
|
$(ROOTDIR)/scripts/patch_chart.sh $(VERSION_MAJOR_MINOR_PATCH)
|
||||||
|
|
||||||
|
.PHONY: patch
|
||||||
|
patch: patch-chart patch-release patch-examples patch-readme
|
||||||
|
|
||||||
.PHONY: tidy
|
.PHONY: tidy
|
||||||
tidy:
|
tidy:
|
||||||
|
|
|
@ -325,9 +325,9 @@ helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/
|
||||||
##### Enterprise Edition
|
##### Enterprise Edition
|
||||||
```bash
|
```bash
|
||||||
# The following will install the operator and basic CRDs resources.
|
# The following will install the operator and basic CRDs resources.
|
||||||
helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.41/kube-arangodb-enterprise-1.2.41.tgz
|
helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.42/kube-arangodb-enterprise-1.2.42.tgz
|
||||||
# To use `ArangoLocalStorage`, set field `operator.features.storage` to true
|
# To use `ArangoLocalStorage`, set field `operator.features.storage` to true
|
||||||
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"
|
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"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Upgrading the operator using Helm
|
### Upgrading the operator using Helm
|
||||||
|
@ -364,9 +364,9 @@ helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/
|
||||||
##### Enterprise Edition
|
##### Enterprise Edition
|
||||||
```bash
|
```bash
|
||||||
# The following will install the operator and basic CRDs resources.
|
# The following will install the operator and basic CRDs resources.
|
||||||
helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.41/kube-arangodb-enterprise-1.2.41.tgz
|
helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.42/kube-arangodb-enterprise-1.2.42.tgz
|
||||||
# To use `ArangoLocalStorage`, set field `operator.features.storage` to true
|
# To use `ArangoLocalStorage`, set field `operator.features.storage` to true
|
||||||
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"
|
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"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
operator:
|
operator:
|
||||||
image: arangodb/kube-arangodb:1.2.42
|
image: arangodb/kube-arangodb-enterprise:1.2.42
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
scope: legacy
|
scope: legacy
|
||||||
architectures:
|
architectures:
|
||||||
- amd64
|
- arm64
|
||||||
debug: false
|
debug: false
|
||||||
args: []
|
args: []
|
||||||
service:
|
service:
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
operator:
|
operator:
|
||||||
image: arangodb/kube-arangodb:1.2.42
|
image: arangodb/kube-arangodb-enterprise:1.2.42
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
scope: legacy
|
scope: legacy
|
||||||
architectures:
|
architectures:
|
||||||
- arm64
|
- amd64
|
||||||
debug: false
|
debug: false
|
||||||
args: []
|
args: []
|
||||||
service:
|
service:
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
# version.
|
# version.
|
||||||
|
|
||||||
VERSION=$1
|
VERSION=$1
|
||||||
IMAGE=$2
|
|
||||||
|
|
||||||
if [ -z $VERSION ]; then
|
if [ -z $VERSION ]; then
|
||||||
echo "Specify a version argument"
|
echo "Specify a version argument"
|
||||||
|
@ -20,6 +19,7 @@ function replaceInFile {
|
||||||
for f in kube-arangodb kube-arangodb-enterprise kube-arangodb-arm64 kube-arangodb-enterprise-arm64 kube-arangodb-crd; do
|
for f in kube-arangodb kube-arangodb-enterprise kube-arangodb-arm64 kube-arangodb-enterprise-arm64 kube-arangodb-crd; do
|
||||||
replaceInFile "s@^version: .*\$@version: ${VERSION}@g" "chart/${f}/Chart.yaml"
|
replaceInFile "s@^version: .*\$@version: ${VERSION}@g" "chart/${f}/Chart.yaml"
|
||||||
if [[ -f "chart/${f}/values.yaml" ]]; then
|
if [[ -f "chart/${f}/values.yaml" ]]; then
|
||||||
replaceInFile "s@^ image: .*\$@ image: ${IMAGE}@g" "chart/${f}/values.yaml"
|
replaceInFile "s@^ image: arangodb/kube-arangodb:[[:digit:]].*\$@ image: arangodb/kube-arangodb:${VERSION}@g" "chart/${f}/values.yaml"
|
||||||
|
replaceInFile "s@^ image: arangodb/kube-arangodb-enterprise:[[:digit:]].*\$@ image: arangodb/kube-arangodb-enterprise:${VERSION}@g" "chart/${f}/values.yaml"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
|
@ -9,7 +9,7 @@ if [ -z $VERSION ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ARANGODB_VERSION=3.10.8
|
ARANGODB_VERSION=3.12.2
|
||||||
|
|
||||||
function replaceInFile {
|
function replaceInFile {
|
||||||
local EXPR=$1
|
local EXPR=$1
|
||||||
|
|
|
@ -35,3 +35,4 @@ replaceInFile "s@^kubectl apply -f https://raw.githubusercontent.com/arangodb/ku
|
||||||
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}
|
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}
|
||||||
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}
|
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}
|
||||||
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}
|
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}
|
||||||
|
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}
|
||||||
|
|
Loading…
Reference in a new issue