Oleksii Kliukin
c597377617
Use cluster UID as a suffix to the WAL bucket. ( #211 )
...
Avoid reusing WAL S3 buckets of the older cluster with the same name as the existing one.
For the new cluster, the S3 bucket name will include a suffix that is equal to the UID of the PostgreSQL object describing the cluster. That way, the bucket name will stay the same for all members iff they correspond to the same PostgreSQL cluster object.
When "clone: uid:" key is present in the cluster manifest and the cluster is cloned from an S3 bucket (currently that happens if the endTimestamp is present in the clone description) the S3 bucket to clone from is suffixed with the -uid value.
2018-02-20 15:36:43 +01:00
Dmitry Dolgov
0e3f941d2f
Merge pull request #239 from zalando-incubator/feature/travis-timeout
...
WIP: Use travis_wait to prevent timeout
2018-02-16 16:40:15 +01:00
Dmitrii Dolgov
00a405b94e
Limit number of commits builded by travic
2018-02-16 16:25:50 +01:00
Dmitrii Dolgov
48ddbc67b5
Limit number of packages and add verbose mode
2018-02-16 16:21:41 +01:00
Dmitrii Dolgov
fb5986a2c0
Use travis_wait to prevent timeout
2018-02-16 16:06:33 +01:00
zerg-junior
c09968774b
Merge pull request #238 from zalando-incubator/correctly-select-deployed-ns
...
Make operator watch its own namespace instead of controller's one
2018-02-16 14:31:54 +01:00
Sergey Dudoladov
ec7de38f9b
Make operator watch its own namespace instead of controller's one
2018-02-16 14:22:38 +01:00
zerg-junior
7b74da8713
Merge pull request #236 from zalando-incubator/fix-config-map-namespace
...
Remove the second namespace prefix from the operator configmap name
2018-02-16 12:37:41 +01:00
Sergey Dudoladov
b412a831d6
Remove the second namespace prefix from the operator configmap name
2018-02-16 12:30:07 +01:00
zerg-junior
04557922c0
Merge pull request #231 from zalando-incubator/default-to-watched-ns
...
Operator should default to the watched namespace
2018-02-16 11:45:32 +01:00
Sergey Dudoladov
bbe2801d69
Adjust unit tests for namespace decoding
2018-02-16 11:13:08 +01:00
Sergey Dudoladov
0a9e6bd8d2
Clarify when a separate account for database pods may be needed
2018-02-15 16:40:07 +01:00
Sergey Dudoladov
5e9a21456e
Remove the incorrect service account check
2018-02-15 16:33:53 +01:00
Sergey Dudoladov
44a2812f5a
Update docs to clarify different service accounts
2018-02-15 15:48:35 +01:00
Sergey Dudoladov
155ae8d50f
Rename the function that checks service account existence
2018-02-15 11:14:13 +01:00
Sergey Dudoladov
fab1e34182
Respond to code review comments
2018-02-15 10:43:06 +01:00
Sergey Dudoladov
d5d15b7546
Look for secrets in the deployed namespace
2018-02-14 15:37:30 +01:00
Dmitry Dolgov
00cc81c2e3
Merge pull request #232 from zalando-incubator/feature/add-unit-tests-build-step
...
Add a new step to run unit tests
2018-02-14 14:59:57 +01:00
Dmitrii Dolgov
f6b2135351
Change build id
2018-02-14 14:12:39 +01:00
Dmitrii Dolgov
b6ae3e0262
Change build id
2018-02-14 14:11:56 +01:00
Dmitrii Dolgov
7b9428bb81
Switch to the new format
2018-02-14 14:10:48 +01:00
Dmitrii Dolgov
d61b87a07d
Separate image build & push
...
Move out some variables on top
2018-02-14 14:07:53 +01:00
Dmitrii Dolgov
c21136c151
Forgotten env var
2018-02-14 13:56:35 +01:00
Dmitrii Dolgov
eb2283aa43
Change current directory for tests
2018-02-14 13:51:55 +01:00
Dmitrii Dolgov
4513334d1b
Change order of the steps
2018-02-14 13:28:16 +01:00
Dmitrii Dolgov
c54fb7b4c8
Build before actually test
2018-02-14 13:24:43 +01:00
Dmitrii Dolgov
6b9c1fe317
Add a new step to run unit tests
2018-02-14 13:14:32 +01:00
Sergey Dudoladov
5837015b3c
Add the fileWithNamespace const
2018-02-14 11:43:09 +01:00
Sergey Dudoladov
06fd9e33f5
Watch the namespace where operator deploys to unless told otherwise
2018-02-13 18:17:47 +01:00
Sergey Dudoladov
dc4229e84d
Include review comments
2018-02-13 15:51:12 +01:00
Sergey Dudoladov
5b0e2ea66d
Fetch operator configmap from operator's namespace
2018-02-13 13:39:49 +01:00
Dmitry Dolgov
08e3d925e6
Merge pull request #227 from zalando-incubator/feature/unit-tests-doc
...
Add section about unit tests
2018-02-09 14:05:20 +01:00
Dmitrii Dolgov
36b363b3ce
Don't forget about fish vs bash differences
2018-02-09 13:00:35 +01:00
zerg-junior
a524db62a3
Merge pull request #229 from zalando-incubator/zerg-junior-patch-1
...
Create separate Talks section in the README
2018-02-09 11:58:28 +01:00
Dmitrii Dolgov
fa44674243
Add $ sign
2018-02-09 11:38:04 +01:00
zerg-junior
d5af441fd9
Create separate Talks section in the README
...
Also adds a FOSDEM 2018 talk on the operator
2018-02-09 11:27:25 +01:00
Dmitrii Dolgov
305b77be90
Add section about unit tests
2018-02-09 11:26:37 +01:00
zerg-junior
75435ef934
Merge pull request #224 from zalando-incubator/feature/retry_util_tests
...
Tests for retry_utils
2018-02-09 10:54:05 +01:00
Dmitrii Dolgov
4c1db33c27
Change the order of arguments
2018-02-08 10:43:27 +01:00
Dmitrii Dolgov
dd79fcd036
Tests for retry_utils
...
One can argue about how necessary they are,
but at least I remembered how to do golang.
2018-02-07 17:04:43 +01:00
zerg-junior
60c742a3e8
Merge pull request #223 from zalando-incubator/document-watch-namespace
...
Make env var overwrite configmap setting for watching namespaces
2018-02-06 18:03:22 +01:00
Sergey Dudoladov
74a1e9661b
Remove setting the actual watched namespace as env var (os.Setenv won't work)
2018-02-06 17:40:06 +01:00
Sergey Dudoladov
8b7bbde06e
Make env var overwrite configmap setting for watching namespaces
2018-02-06 16:12:47 +01:00
Sergey Dudoladov
0ef801f4e0
Add example of the watched namespace to the operator config map
2018-02-06 15:16:21 +01:00
Sergey Dudoladov
ea84f9d577
Rename the configmap 'namespace' entry to avoid confusion with the map's owm namespace
2018-02-06 15:09:00 +01:00
Dmitry Dolgov
dcf637d4ea
Fix typo in port ( #219 )
2018-02-02 15:51:26 +01:00
zerg-junior
124cdd1f8e
Merge pull request #217 from erthalion/feature/debug-mode
...
Add debug mode
2018-02-02 11:44:13 +01:00
zerg-junior
a3c840d1e5
Merge pull request #212 from zalando-incubator/run-local
...
Add a script to run operator locally
2018-02-02 11:43:25 +01:00
Dmitrii Dolgov
09abdce095
Improvements for debug mode
...
Return back `cd docker` part to be less invasive,
and add `-debug` postfix for image
2018-02-02 11:17:12 +01:00
Dmitrii Dolgov
bf7df5d5b5
Add debug mode
...
You can specify an environment variable DEBUG 1/0 to enable/disable
debug mode. Debug mode assumes delve dependency for remote debugging,
and debugging symbols for go build.
2018-02-02 10:39:39 +01:00