Skip to content

Commit c2ec908

Browse files
author
James Keogh
committed
Merge branch 'master' of github.com:arangodb/kube-arangodb
2 parents 558886b + c680c03 commit c2ec908

File tree

9 files changed

+110
-19
lines changed

9 files changed

+110
-19
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Change Log
22

3+
## [0.3.1](https://github.com/arangodb/kube-arangodb/tree/0.3.1) (2018-09-25)
4+
[Full Changelog](https://github.com/arangodb/kube-arangodb/compare/0.3.0...0.3.1)
5+
6+
**Closed issues:**
7+
8+
- Helm chart not deploying custom resource definitions [\#254](https://github.com/arangodb/kube-arangodb/issues/254)
9+
- `go get` failing due to nonexistent arangodb/arangosync repo [\#249](https://github.com/arangodb/kube-arangodb/issues/249)
10+
- Helm chart download links broken \(404\) [\#248](https://github.com/arangodb/kube-arangodb/issues/248)
11+
- Make it easy to deploy in another namespace [\#230](https://github.com/arangodb/kube-arangodb/issues/230)
12+
- Deployment Failed to Start in different Namespace other than Default [\#223](https://github.com/arangodb/kube-arangodb/issues/223)
13+
14+
**Merged pull requests:**
15+
16+
- Bugfix/sed on linux [\#259](https://github.com/arangodb/kube-arangodb/pull/259)
17+
- README updates, removing `kubectl apply -f crd.yaml` [\#256](https://github.com/arangodb/kube-arangodb/pull/256)
18+
- Include CRD in helm chart [\#255](https://github.com/arangodb/kube-arangodb/pull/255)
19+
320
## [0.3.0](https://github.com/arangodb/kube-arangodb/tree/0.3.0) (2018-09-07)
421
[Full Changelog](https://github.com/arangodb/kube-arangodb/compare/0.2.2...0.3.0)
522

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,19 @@ it is intended to be.
4141
```bash
4242
# The following will install the operator for `ArangoDeployment` &
4343
# `ArangoDeplomentReplication` resources.
44-
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.0/kube-arangodb.tgz
44+
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.1/kube-arangodb.tgz
4545
# To use `ArangoLocalStorage`, also run
46-
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.0/kube-arangodb-storage.tgz
46+
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.1/kube-arangodb-storage.tgz
4747
```
4848

4949
## Installation of latest release using Kubectl
5050

5151
```bash
52-
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.0/manifests/crd.yaml
53-
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.0/manifests/arango-deployment.yaml
52+
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.1/manifests/arango-deployment.yaml
5453
# To use `ArangoLocalStorage`, also run
55-
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.0/manifests/arango-storage.yaml
54+
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.1/manifests/arango-storage.yaml
5655
# To use `ArangoDeploymentReplication`, also run
57-
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.0/manifests/arango-deployment-replication.yaml
56+
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.1/manifests/arango-deployment-replication.yaml
5857
```
5958

6059
## Building

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.0+git
1+
0.3.1+git

docs/Manual/Deployment/Kubernetes/ServicesAndLoadBalancer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ additions:
7272
## Load balancer
7373

7474
If you want full control of the `Services` needed to access the ArangoDB deployment
75-
from outside your Kubernetes cluster, set `spec.externalAccess.Type` of the `ArangoDeployment` to `None`
75+
from outside your Kubernetes cluster, set `spec.externalAccess.type` of the `ArangoDeployment` to `None`
7676
and create a `Service` as specified below.
7777

7878
Create a `Service` of type `LoadBalancer` or `NodePort`, depending on your

docs/design/acceptance_test.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Before the test, record the following parameters for the platform the test is ex
1010

1111
- Name of the platform
1212
- Version of the platform
13-
- Upstream Kubernetes version used by the platform
14-
- Number of nodes used by the Kubernetes cluster
13+
- Upstream Kubernetes version used by the platform (run `kubctrl version`)
14+
- Number of nodes used by the Kubernetes cluster (run `kubectrl get node`)
1515
- `StorageClasses` provided by the platform (run `kubectl get storageclass`)
16-
- Does the platform use RBAC?
16+
- Does the platform use RBAC? (run `kubectl describe clusterrolebinding`)
1717
- Does the platform support services of type `LoadBalancer`?
1818

1919
If one of the above questions can have multiple answers (e.g. different Kubernetes versions)

manifests/arango-deployment-replication.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## deployment-replication/crd.yaml
2+
apiVersion: apiextensions.k8s.io/v1beta1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
name: arangodeploymentreplications.replication.database.arangodb.com
6+
spec:
7+
group: replication.database.arangodb.com
8+
names:
9+
kind: ArangoDeploymentReplication
10+
listKind: ArangoDeploymentReplicationList
11+
plural: arangodeploymentreplications
12+
shortNames:
13+
- arangorepl
14+
singular: arangodeploymentreplication
15+
scope: Namespaced
16+
version: v1alpha
17+
18+
19+
---
20+
121
## deployment-replication/rbac.yaml
222

323

@@ -103,7 +123,7 @@ spec:
103123
containers:
104124
- name: operator
105125
imagePullPolicy: IfNotPresent
106-
image: arangodb/kube-arangodb@sha256:46053f371917445a52cbde69a9acc72bb065fa4a80f3fafa3fb98ab84911c570
126+
image: arangodb/kube-arangodb@sha256:f1c0806031ca85e489a1abcd3cb6b80a7972e47ccf59826b0f8a86c38e443fbc
107127
args:
108128
- --operator.deployment-replication
109129
env:

manifests/arango-deployment.yaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
## deployment/crd.yaml
2+
apiVersion: apiextensions.k8s.io/v1beta1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
name: arangodeployments.database.arangodb.com
6+
spec:
7+
group: database.arangodb.com
8+
names:
9+
kind: ArangoDeployment
10+
listKind: ArangoDeploymentList
11+
plural: arangodeployments
12+
shortNames:
13+
- arangodb
14+
- arango
15+
singular: arangodeployment
16+
scope: Namespaced
17+
version: v1alpha
18+
19+
20+
---
21+
122
## deployment/rbac.yaml
223

324

@@ -103,7 +124,7 @@ spec:
103124
containers:
104125
- name: operator
105126
imagePullPolicy: IfNotPresent
106-
image: arangodb/kube-arangodb@sha256:46053f371917445a52cbde69a9acc72bb065fa4a80f3fafa3fb98ab84911c570
127+
image: arangodb/kube-arangodb@sha256:f1c0806031ca85e489a1abcd3cb6b80a7972e47ccf59826b0f8a86c38e443fbc
107128
args:
108129
- --operator.deployment
109130
- --chaos.allowed=false

manifests/arango-storage.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## storage/crd.yaml
2+
apiVersion: apiextensions.k8s.io/v1beta1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
name: arangolocalstorages.storage.arangodb.com
6+
spec:
7+
group: storage.arangodb.com
8+
names:
9+
kind: ArangoLocalStorage
10+
listKind: ArangoLocalStorageList
11+
plural: arangolocalstorages
12+
shortNames:
13+
- arangostorage
14+
singular: arangolocalstorage
15+
scope: Cluster
16+
version: v1alpha
17+
18+
19+
---
20+
121
## storage/rbac.yaml
222

323

@@ -121,7 +141,7 @@ spec:
121141
containers:
122142
- name: operator
123143
imagePullPolicy: IfNotPresent
124-
image: arangodb/kube-arangodb@sha256:46053f371917445a52cbde69a9acc72bb065fa4a80f3fafa3fb98ab84911c570
144+
image: arangodb/kube-arangodb@sha256:f1c0806031ca85e489a1abcd3cb6b80a7972e47ccf59826b0f8a86c38e443fbc
125145
args:
126146
- --operator.storage
127147
env:

scripts/patch_readme.sh

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,24 @@ if [ -z $VERSION ]; then
1010
exit 1
1111
fi
1212

13+
function replaceInFile {
14+
local EXPR=$1
15+
local FILE=$2
16+
case $(uname) in
17+
Darwin)
18+
sed -e "${EXPR}" -i "" ${FILE}
19+
;;
20+
*)
21+
sed -i --expression "${EXPR}" ${FILE}
22+
;;
23+
esac
24+
}
25+
26+
1327
f=README.md
14-
sed -e "s@^kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/.*/manifests/arango-deployment.yaml\$@kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/${VERSION}/manifests/arango-deployment.yaml@g" -i "" $f
15-
sed -e "s@^kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/.*/manifests/arango-deployment-replication.yaml\$@kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/${VERSION}/manifests/arango-deployment-replication.yaml@g" -i "" $f
16-
sed -e "s@^kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/.*/manifests/arango-storage.yaml\$@kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/${VERSION}/manifests/arango-storage.yaml@g" -i "" $f
28+
replaceInFile "s@^kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/.*/manifests/arango-deployment.yaml\$@kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/${VERSION}/manifests/arango-deployment.yaml@g" ${f}
29+
replaceInFile "s@^kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/.*/manifests/arango-deployment-replication.yaml\$@kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/${VERSION}/manifests/arango-deployment-replication.yaml@g" ${f}
30+
replaceInFile "s@^kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/.*/manifests/arango-storage.yaml\$@kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/${VERSION}/manifests/arango-storage.yaml@g" ${f}
1731

18-
sed -e "s@^helm install https://github.com/arangodb/kube-arangodb/releases/download/.*/kube-arangodb.tgz\$@helm install https://github.com/arangodb/kube-arangodb/releases/download/${VERSION}/kube-arangodb.tgz@g" -i "" $f
19-
sed -e "s@^helm install https://github.com/arangodb/kube-arangodb/releases/download/.*/kube-arangodb-storage.tgz\$@helm install https://github.com/arangodb/kube-arangodb/releases/download/${VERSION}/kube-arangodb-storage.tgz@g" -i "" $f
32+
replaceInFile "s@^helm install https://github.com/arangodb/kube-arangodb/releases/download/.*/kube-arangodb.tgz\$@helm install https://github.com/arangodb/kube-arangodb/releases/download/${VERSION}/kube-arangodb.tgz@g" ${f}
33+
replaceInFile "s@^helm install https://github.com/arangodb/kube-arangodb/releases/download/.*/kube-arangodb-storage.tgz\$@helm install https://github.com/arangodb/kube-arangodb/releases/download/${VERSION}/kube-arangodb-storage.tgz@g" ${f}

0 commit comments

Comments
 (0)