Skip to content

Commit

Permalink
Updated manifest to 0.3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
neunhoef committed Jun 7, 2019
1 parent 9c441d8 commit 8c980a4
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 74 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ upgrade.
## Installation of latest release using Kubectl

```bash
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.10/manifests/arango-crd.yaml
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.10/manifests/arango-deployment.yaml
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.11/manifests/arango-crd.yaml
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.11/manifests/arango-deployment.yaml
# To use `ArangoLocalStorage`, also run
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.10/manifests/arango-storage.yaml
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.11/manifests/arango-storage.yaml
# To use `ArangoDeploymentReplication`, also run
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.10/manifests/arango-deployment-replication.yaml
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.3.11/manifests/arango-deployment-replication.yaml
```

This procedure can also be used for upgrades and will not harm any
Expand All @@ -71,12 +71,12 @@ upgrades.

```bash
# The following will install the custom resources required by the operators.
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.10/kube-arangodb-crd.tgz
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.11/kube-arangodb-crd.tgz
# The following will install the operator for `ArangoDeployment` &
# `ArangoDeploymentReplication` resources.
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.10/kube-arangodb.tgz
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.11/kube-arangodb.tgz
# To use `ArangoLocalStorage`, also run
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.10/kube-arangodb-storage.tgz
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.11/kube-arangodb-storage.tgz
```

## Upgrading the operator using Helm
Expand Down Expand Up @@ -113,9 +113,9 @@ with `helm install` as normal:
```bash
# The following will install the operator for `ArangoDeployment` &
# `ArangoDeploymentReplication` resources.
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.10/kube-arangodb.tgz
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.11/kube-arangodb.tgz
# To use `ArangoLocalStorage`, also run
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.10/kube-arangodb-storage.tgz
helm install https://github.com/arangodb/kube-arangodb/releases/download/0.3.11/kube-arangodb-storage.tgz
```

## Building
Expand Down
122 changes: 61 additions & 61 deletions dashboard/assets.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion manifests/arango-deployment-replication.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ spec:
containers:
- name: operator
imagePullPolicy: IfNotPresent
image: arangodb/kube-arangodb@sha256:bc17d77ca6c8f134a065db4f5dcbc07b84feb74ae10dd6666e822334f9ff9680
image: arangodb/kube-arangodb@sha256:3e695cc42f62a680f5460a320aee2518fe7a3bfb0eb6f3fc248badaa5ed58665
args:
- --operator.deployment-replication
env:
Expand Down
8 changes: 6 additions & 2 deletions manifests/arango-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ rules:
verbs: ["*"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["pods", "services", "endpoints", "persistentvolumeclaims", "events", "secrets"]
verbs: ["*"]
Expand All @@ -41,6 +41,10 @@ rules:
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses"]
verbs: ["get", "list"]
- apiGroups: ["monitoring.coreos.com"]
resources: ["servicemonitors"]
verbs: ["get", "create", "delete"]


---

Expand Down Expand Up @@ -106,7 +110,7 @@ spec:
containers:
- name: operator
imagePullPolicy: IfNotPresent
image: arangodb/kube-arangodb@sha256:bc17d77ca6c8f134a065db4f5dcbc07b84feb74ae10dd6666e822334f9ff9680
image: arangodb/kube-arangodb@sha256:3e695cc42f62a680f5460a320aee2518fe7a3bfb0eb6f3fc248badaa5ed58665
args:
- --operator.deployment
- --chaos.allowed=false
Expand Down
2 changes: 1 addition & 1 deletion manifests/arango-storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ spec:
containers:
- name: operator
imagePullPolicy: IfNotPresent
image: arangodb/kube-arangodb@sha256:bc17d77ca6c8f134a065db4f5dcbc07b84feb74ae10dd6666e822334f9ff9680
image: arangodb/kube-arangodb@sha256:3e695cc42f62a680f5460a320aee2518fe7a3bfb0eb6f3fc248badaa5ed58665
args:
- --operator.storage
env:
Expand Down

0 comments on commit 8c980a4

Please sign in to comment.