Skip to content

Commit c10f510

Browse files
authored
FATURE/fix docs and headers (#528)
1 parent 3254e2f commit c10f510

File tree

528 files changed

+619
-3906
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

528 files changed

+619
-3906
lines changed

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ manifests: helm manifests-crd manifests-operator manifests-test chart-crd chart-
316316

317317
.PHONY: run-unit-tests
318318
run-unit-tests: $(SOURCES)
319-
go test $(TESTVERBOSEOPTIONS) \
319+
go test --count=1 $(TESTVERBOSEOPTIONS) \
320320
$(REPOPATH)/pkg/apis/backup/... \
321321
$(REPOPATH)/pkg/apis/deployment/... \
322322
$(REPOPATH)/pkg/apis/replication/... \
@@ -407,6 +407,13 @@ endif
407407
patch-readme:
408408
$(ROOTDIR)/scripts/patch_readme.sh $(VERSION_MAJOR_MINOR_PATCH)
409409

410+
.PHONY: patch-examples
411+
patch-examples:
412+
$(ROOTDIR)/scripts/patch_examples.sh $(VERSION_MAJOR_MINOR_PATCH)
413+
414+
.PHONY: patch-release
415+
patch-release: patch-readme patch-examples
416+
410417
.PHONY: patch-chart
411418
patch-chart:
412419
$(ROOTDIR)/scripts/patch_chart.sh "$(VERSION_MAJOR_MINOR_PATCH)" "$(OPERATORIMAGE)"

chart/kube-arangodb-crd/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2018 ArangoDB GmbH, Cologne, Germany
1+
Copyright 2020 ArangoDB GmbH, Cologne, Germany
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

chart/kube-arangodb/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2018 ArangoDB GmbH, Cologne, Germany
1+
Copyright 2020 ArangoDB GmbH, Cologne, Germany
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

examples/cluster1-with-sync.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: "cluster1-with-sync"
55
spec:
66
mode: Cluster
7-
image: arangodb/arangodb:3.3.17
7+
image: arangodb/arangodb:3.6.1
88
tls:
99
altNames: ["kube-01", "kube-02", "kube-03"]
1010
sync:

examples/cluster2-with-sync.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: "cluster2-with-sync"
55
spec:
66
mode: Cluster
7-
image: arangodb/arangodb:3.3.17
7+
image: arangodb/arangodb:3.6.1
88
tls:
99
altNames: ["kube-01", "kube-02", "kube-03"]
1010
sync:

examples/production-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ metadata:
44
name: "production-cluster"
55
spec:
66
mode: Cluster
7-
image: arangodb/arangodb:3.3.17
7+
image: arangodb/arangodb:3.6.1
88
environment: Production

examples/reboot-pod.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ spec:
66
restartPolicy: Never
77
serviceAccountName: arango-deployment-operator-reboot
88
containers:
9-
- image: arangodb/kube-arangodb:0.3.16
9+
- image: arangodb/kube-arangodb:0.4.5
1010
name: reboot
1111
command: ["arangodb_operator", "reboot"]
1212
args:
1313
- --deployment-name=my-arangodb-cluster
14-
- --image-name=arangodb/enterprise:3.4.8
14+
- --image-name=arangodb/enterprise:3.6.1
1515
- --license-secret-name=arangodb-license-key
1616
- --coordinators=3
1717
- pvc-9aa241f7-df94-11e9-b74c-42010aac0044

examples/simple-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ metadata:
44
name: "example-simple-cluster"
55
spec:
66
mode: Cluster
7-
image: arangodb/arangodb:3.3.17
7+
image: arangodb/arangodb:3.6.1

examples/single-server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ metadata:
44
name: "example-simple-single"
55
spec:
66
mode: Single
7-
image: arangodb/arangodb:3.3.17
7+
image: arangodb/arangodb:3.6.1

go.mod

Lines changed: 16 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,106 +1,62 @@
11
module github.com/arangodb/kube-arangodb
22

3-
go 1.12
3+
go 1.13
44

55
replace (
66
github.com/ugorji/go => github.com/ugorji/go v0.0.0-20181209151446-772ced7fd4c2
77

8-
k8s.io/api => k8s.io/api v0.0.0-20190409021203-6e4e0e4f393b
9-
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.0.0-20190409022649-727a075fdec8
10-
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d
11-
k8s.io/client-go => k8s.io/client-go v11.0.0+incompatible
8+
k8s.io/api => k8s.io/api v0.15.9
9+
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.15.9
10+
k8s.io/apimachinery => k8s.io/apimachinery v0.15.9
11+
k8s.io/client-go => k8s.io/client-go v0.15.9
1212
k8s.io/code-generator => ./deps/k8s.io/code-generator
1313
)
1414

1515
require (
16-
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
17-
github.com/Azure/go-autorest/autorest v0.1.0 // indirect
18-
github.com/aktau/github-release v0.7.2 // indirect
16+
github.com/PuerkitoBio/purell v1.1.1 // indirect
1917
github.com/arangodb-helper/go-certificates v0.0.0-20180821055445-9fca24fc2680
2018
github.com/arangodb/arangosync-client v0.6.3
2119
github.com/arangodb/go-driver v0.0.0-20191002124627-11b6bfc64f67
2220
github.com/arangodb/go-upgrade-rules v0.0.0-20180809110947-031b4774ff21
23-
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a // indirect
24-
github.com/bugagazavr/go-gitlab-client v0.0.0-20150830002541-e5999f934dc4 // indirect
2521
github.com/cenkalti/backoff v2.1.1+incompatible
26-
github.com/coreos/bbolt v1.3.2 // indirect
27-
github.com/coreos/etcd v3.3.13+incompatible // indirect
2822
github.com/coreos/go-semver v0.3.0
29-
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
3023
github.com/coreos/prometheus-operator v0.31.1
31-
github.com/cpuguy83/go-md2man v1.0.10 // indirect
3224
github.com/dchest/uniuri v0.0.0-20160212164326-8902c56451e9
3325
github.com/dgrijalva/jwt-go v3.2.0+incompatible
34-
github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c // indirect
35-
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815 // indirect
36-
github.com/dustin/go-broadcast v0.0.0-20171205050544-f664265f5a66 // indirect
3726
github.com/evanphx/json-patch v4.2.0+incompatible
38-
github.com/ewoutp/go-gitlab-client v0.0.0-20150214183219-6e4464cd3221 // indirect
3927
github.com/ghodss/yaml v1.0.0
4028
github.com/gin-contrib/sse v0.0.0-20190301062529-5545eab6dad3 // indirect
41-
github.com/gin-gonic/autotls v0.0.0-20190406003154-fb31fc47f521 // indirect
4229
github.com/gin-gonic/gin v1.3.0
43-
github.com/go-openapi/analysis v0.19.0 // indirect
44-
github.com/go-openapi/errors v0.19.0 // indirect
45-
github.com/go-openapi/loads v0.19.0 // indirect
46-
github.com/go-openapi/runtime v0.19.0 // indirect
47-
github.com/go-openapi/strfmt v0.19.0 // indirect
30+
github.com/go-openapi/spec v0.18.0 // indirect
31+
github.com/go-openapi/swag v0.18.0 // indirect
4832
github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef // indirect
49-
github.com/google/btree v1.0.0 // indirect
5033
github.com/google/gofuzz v1.0.0 // indirect
34+
github.com/google/uuid v1.1.1 // indirect
5135
github.com/googleapis/gnostic v0.2.0 // indirect
52-
github.com/gophercloud/gophercloud v0.0.0-20190504011306-6f9faf57fddc // indirect
53-
github.com/gorhill/cronexpr v0.0.0-20180427100037-88b0669f7d75 // indirect
54-
github.com/gorilla/websocket v1.4.0 // indirect
55-
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
56-
github.com/helm/helm v2.14.3+incompatible // indirect
57-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
5836
github.com/jessevdk/go-assets v0.0.0-20160921144138-4f4301a06e15
5937
github.com/jessevdk/go-assets-builder v0.0.0-20130903091706-b8483521738f
6038
github.com/jessevdk/go-flags v1.4.0 // indirect
61-
github.com/jonboulle/clockwork v0.1.0 // indirect
62-
github.com/juju/errgo v0.0.0-20140925100237-08cceb5d0b53 // indirect
6339
github.com/julienschmidt/httprouter v1.2.0
6440
github.com/magiconair/properties v1.8.0
65-
github.com/manucorporat/stats v0.0.0-20180402194714-3ba42d56d227 // indirect
66-
github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a // indirect
67-
github.com/mattn/go-colorable v0.1.1 // indirect
41+
github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe // indirect
6842
github.com/mattn/go-isatty v0.0.7 // indirect
69-
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
70-
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 // indirect
71-
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
7243
github.com/pkg/errors v0.8.1
7344
github.com/prometheus/client_golang v1.0.0
74-
github.com/pulcy/pulsar v0.0.0-20180915062927-71ea24b0ec2f // indirect
7545
github.com/robfig/cron v1.2.0
7646
github.com/rs/zerolog v1.14.3
77-
github.com/russross/blackfriday v2.0.0+incompatible // indirect
78-
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
79-
github.com/sourcegraph/go-vcsurl v0.0.0-20161114165620-2305ecca26ab // indirect
8047
github.com/spf13/cobra v0.0.3
8148
github.com/spf13/pflag v1.0.3
82-
github.com/spf13/viper v1.3.2 // indirect
8349
github.com/stretchr/testify v1.3.0
84-
github.com/thinkerou/favicon v0.1.0 // indirect
85-
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 // indirect
86-
github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 // indirect
87-
github.com/ugorji/go v1.1.4 // indirect
88-
github.com/voxelbrain/goptions v0.0.0-20180630082107-58cddc247ea2 // indirect
89-
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect
90-
go.uber.org/atomic v1.4.0 // indirect
91-
go.uber.org/multierr v1.1.0 // indirect
92-
go.uber.org/zap v1.10.0 // indirect
50+
github.com/ugorji/go/codec v0.0.0-20181209151446-772ced7fd4c2 // indirect
9351
golang.org/x/sys v0.0.0-20190506115046-ca7f33d4116e
9452
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
95-
google.golang.org/api v0.4.0 // indirect
96-
google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873 // indirect
97-
google.golang.org/grpc v1.20.1 // indirect
98-
gopkg.in/sourcegraph/go-vcsurl.v1 v1.0.0-20131114132947-6b12603ea6fd // indirect
99-
k8s.io/api v0.0.0-20190409021203-6e4e0e4f393b
53+
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
54+
gopkg.in/go-playground/validator.v8 v8.18.2 // indirect
55+
k8s.io/api v0.15.9
10056
k8s.io/apiextensions-apiserver v0.0.0-20190409022649-727a075fdec8
101-
k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d
57+
k8s.io/apimachinery v0.15.9
10258
k8s.io/client-go v11.0.0+incompatible
103-
k8s.io/klog v0.3.0
59+
k8s.io/klog v0.3.1
10460
k8s.io/kube-openapi v0.0.0-20190502190224-411b2483e503 // indirect
10561
k8s.io/utils v0.0.0-20190506122338-8fab8cb257d5 // indirect
10662
)

0 commit comments

Comments
 (0)