Skip to content

Commit a55c386

Browse files
authored
Preparations for 0.3.16. (#454)
* Preparations for 0.3.16. * Document permissions needed. * Add note to README.md.
1 parent ea53024 commit a55c386

File tree

5 files changed

+47
-5
lines changed

5 files changed

+47
-5
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Change Log
22

3-
## [0.3.13]() (2019-08-02)
3+
## [0.3.16](https://github.com/arangodb/kube-arangodb/tree/0.3.16) (2019-09-25)
4+
- Revised helm charts.
5+
- Use separate service account for operator.
6+
- Support for ResignLeadership job.
7+
- Allow to set ImagePullSecrets in pods.
8+
- Bug fixes.
9+
10+
## [0.3.15]() (never released, only previews existed)
11+
12+
## [0.3.14](https://github.com/arangodb/kube-arangodb/tree/0.3.14) (2019-08-07)
13+
- Bug fixes for custom sidecars.
14+
- More tests
15+
16+
## [0.3.13](https://github.com/arangodb/kube-arangodb/tree/0.3.13) (2019-08-02)
417
- Added side car changed to pod rotation criterium
518
- Added ArangoDB version and image id to member status
619
- Fix bug with MemberOfCluster condition

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ dashboard/assets.go: $(DASHBOARDSOURCES) $(DASHBOARDDIR)/Dockerfile.build
201201
$(DASHBOARDBUILDIMAGE)
202202
go run github.com/jessevdk/go-assets-builder -s /dashboard/build/ -o dashboard/assets.go -p dashboard dashboard/build
203203

204-
$(BIN): $(SOURCES) dashboard/assets.go
204+
$(BIN): $(SOURCES) dashboard/assets.go VERSION
205205
@mkdir -p $(BINDIR)
206206
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -installsuffix netgo -ldflags "-X main.projectVersion=$(VERSION) -X main.projectBuild=$(COMMIT)" -o $(BIN) $(REPOPATH)
207207

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,19 @@ Feature-wise production readiness table:
6666
| Prometheus Metrics export | 0.3.11 | new - alpha | needs Prometheus |
6767
| User sidecar containers | 0.3.11 | new - alpha | |
6868

69+
## Release notes for 0.3.16
70+
71+
In this release we have reworked the Helm charts. One notable change is
72+
that we now create a new service account specifically for the operator.
73+
The actual deployment still runs by default under the `default` service
74+
account unless one changes that. Note that the service account under
75+
which the ArangoDB runs needs a small set of extra permissions. For
76+
the `default` service account we grant them when the operator is
77+
deployed. If you use another service account you have to grant these
78+
permissions yourself. See
79+
[here](docs/Manual/Deployment/Kubernetes/DeploymentResource.md#specgroupserviceaccountname-string)
80+
for details.
81+
6982
## Installation of latest release using Kubectl
7083

7184
```bash

VERSION

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

docs/Manual/Deployment/Kubernetes/DeploymentResource.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,26 @@ and `iops` is not forwarded to the pods resource requirements.
480480
### `spec.<group>.serviceAccountName: string`
481481

482482
This setting specifies the `serviceAccountName` for the `Pods` created
483-
for each server of this group.
483+
for each server of this group. If empty, it defaults to using the
484+
`default` service account.
484485

485486
Using an alternative `ServiceAccount` is typically used to separate access rights.
486-
The ArangoDB deployments do not require any special rights.
487+
The ArangoDB deployments need some very minimal access rights. With the
488+
deployment of the operator, we grant the following rights for the `default`
489+
service account:
490+
491+
```
492+
rules:
493+
- apiGroups:
494+
- ""
495+
resources:
496+
- pods
497+
verbs:
498+
- get
499+
```
500+
501+
If you are using a different service account, please grant these rights
502+
to that service account.
487503

488504
### `spec.<group>.priorityClassName: string`
489505

0 commit comments

Comments
 (0)