Oleksii Kliukin
132c8425e6
Small Makefile improvements. ( #31 )
...
- Re-introduce -i flag for Mac OS
- Remove binary dependencies for builds to allow re-building w/o make
clean
2017-05-23 12:06:55 +02:00
Murat Kabilov
c470bd6646
reset cluster error on successful update or sync ( #29 )
2017-05-22 15:45:38 +02:00
Oleksii Kliukin
bc17897478
Run sync cluster when previous add failed. ( #28 )
2017-05-22 15:27:26 +02:00
Oleksii Kliukin
afce38f6f0
Fix error messages ( #27 )
...
Use lowercase for kubernetes objects
Use %v instead of %s for errors
Start error messages with a lowercase letter.
2017-05-22 14:12:06 +02:00
Oleksii Kliukin
8beb5936b1
Don't error out at sync on existence of the object. ( #26 )
2017-05-22 12:58:47 +02:00
Murat Kabilov
4acaf27a5d
Remove etcd requests ( #25 )
...
update glide
2017-05-19 17:18:37 +02:00
Murat Kabilov
d34273543e
Fix the golint, gosimple warnings
2017-05-18 17:38:54 +02:00
Murat Kabilov
233e8529c1
Return error instead of logging it
2017-05-18 17:24:44 +02:00
Murat Kabilov
95a57d1e4f
Use named arguments in the DNS name format
2017-05-18 17:23:59 +02:00
Murat Kabilov
3b6454c2dc
add missed return ( #20 )
2017-05-17 11:54:50 +02:00
Murat Kabilov
f86275e60c
Fix issues found by go vet
2017-05-17 11:31:28 +02:00
Oleksii Kliukin
c2826b10e2
Merge branch 'master' into fix/go-vet-fixes
2017-05-17 11:30:07 +02:00
Oleksii Kliukin
4457ce4e47
Replace the statefulset if it cannot be updated. ( #18 )
...
Updates to statefulset spec for fields other than 'replicas' and
containers' are forbidden. However, it is possible to delete the old
statefulset without deleting its pods and create the new one, using the
changed specs. The new statefulset shall pick up the orphaned pods.
Change the statefulset's comparison to return the combined effect of
all checks, not just the first non-matching field.
2017-05-17 11:28:21 +02:00
Murat Kabilov
22bcae0784
skip unused variable
2017-05-17 11:15:09 +02:00
Murat Kabilov
6e5d7abcc5
pass cluster by reference
2017-05-17 11:05:15 +02:00
Murat Kabilov
356be8f0f1
skip clusters with invalid spec
2017-05-16 16:46:37 +02:00
Henning Jacobs
1d2fb0091f
how to connect via psql ( #15 )
2017-05-15 18:09:00 +02:00
Henning Jacobs
c08e83bebf
#10 fix make docker ( #11 )
2017-05-14 22:12:48 +02:00
Henning Jacobs
946f623cf8
Fix typo & .gitignore ( #9 )
...
* add scm-source.json to .gitignore
* fix minor typo
2017-05-14 17:52:51 +02:00
Oleksii Kliukin
c52d042f90
Merge pull request #5 from zalando-incubator/readme-changes
...
Minor style fixes.
2017-05-12 18:01:52 +02:00
Jan Mussler
a8440f9ee4
Update README.md
...
I leave it to you, but postgres vs postgresql is a bit confusing, espacially since the resource is again postgresql
2017-05-12 17:55:50 +02:00
Oleksii Kliukin
deb36f33e0
Merge pull request #4 from zalando-incubator/disable_teams_api_db_access_flags
...
Allow disabling access to the DB and the Teams API.
Command-line options --nodatabaseaccess and --noteamsapi disable all
teams api interaction and access to the Postgres database. This is
useful for debugging purposes when the operator runs out of cluster
(with --outofcluster flag).
The same effect can be achieved by setting enable_db_access and/or
enable_teams_api to false.
2017-05-12 17:52:34 +02:00
Oleksii Kliukin
5adceceb36
go fmt run
2017-05-12 17:48:25 +02:00
Oleksii Kliukin
abd04e6f5a
Avoid abbreviations in user-facing parameters.
2017-05-12 17:44:51 +02:00
Oleksii Kliukin
03064637f1
Allow disabling access to the DB and the Teams API.
...
Command-line options --nodatabaseaccess and --noteamsapi disable all
teams api interaction and access to the Postgres database. This is
useful for debugging purposes when the operator runs out of cluster
(with --outofcluster flag).
The same effect can be achieved by setting enable_db_access and/or
enable_teams_api to false.
2017-05-12 17:40:48 +02:00
Murat Kabilov
794ad96c88
move deploy Deploying the operator section in the end
2017-05-12 16:38:42 +02:00
Murat Kabilov
0fd498d4d3
set image pull policy to ifnotpresent
2017-05-12 16:38:42 +02:00
Murat Kabilov
ad8cea68cf
create config map entry in the README file
2017-05-12 16:38:42 +02:00
Murat Kabilov
deef84e606
remove new line from the token;
...
remove unnecessary data keys from the postgresq-operator secret
2017-05-12 16:38:42 +02:00
Murat Kabilov
9ee9e286ec
make use of the local fake teams api
2017-05-12 16:38:42 +02:00
Oleksii Kliukin
fb454b809e
Merge pull request #3 from zalando-incubator/fix_license
...
Fix license, add .zappr.
2017-05-12 16:18:11 +02:00
Oleksii Kliukin
db661414ee
Move license to the root folder.
2017-05-12 16:16:07 +02:00
Oleksii Kliukin
ac4757a9c8
On a second though, remove WIP as well
...
The status clearly defines the state of the operator development.
2017-05-12 15:00:05 +02:00
Oleksii Kliukin
169c8611c5
Still a WIP, but no longer a prototype
2017-05-12 14:58:43 +02:00
Oleksii Kliukin
73e7ac6135
Use zalando incubator instead of an old repo
2017-05-12 14:57:58 +02:00
Oleksii Kliukin
d4962105ef
Change the broken reference.
2017-05-12 14:56:22 +02:00
Oleksii Kliukin
fb007b1622
Add .zappr configuration
2017-05-12 14:51:56 +02:00
Oleksii Kliukin
4d5d34b311
Fix the path when describing git clone
2017-05-12 12:24:53 +02:00
Oleksii Kliukin
5487aa1ad0
Fix a link
2017-05-12 12:21:29 +02:00
Oleksii Kliukin
26edbc0528
Use the correct suffix, convert to Markdown.
2017-05-12 12:20:42 +02:00
Oleksii Kliukin
19474823f2
Add MAINTAINERS and CONTRIBUTING guidelines.
2017-05-12 12:17:49 +02:00
Oleksii Kliukin
2c834412b3
Add a note about the project's development status.
2017-05-12 12:13:38 +02:00
Oleksii Kliukin
37c16190f1
Update README with correct URLS and ETCD installation instructions.
2017-05-12 12:10:53 +02:00
Murat Kabilov
e694db9ba7
add MIT License
2017-05-12 11:55:37 +02:00
Murat Kabilov
92d7fbf372
replace github.bus.zalan.do with github.cm/zalando-incubator
2017-05-12 11:50:16 +02:00
Murat Kabilov
1b82009151
Command exec inside the Pod method
2017-05-12 11:41:36 +02:00
Murat Kabilov
28a74622d7
Fix typo in the teams api json spec
2017-05-12 11:41:36 +02:00
Oleksii Kliukin
24638de665
Linux race-enabled builds inside Docker. ( #123 )
...
Cross-platform go builds with linux as a target platform and race
enabled require to link against the linux so and have the cross
platform compiler installed, which is a pain. To avoid this we
build everything in Linux-native environment in a container.
Note that running such builds requires replacing the operator
Docker base image from Alpine to something with a real glibc
(i.e. ubuntu), since the target binary needs a dynamic linker.
Use -a flag in order to rebuild all packages, since we might have
built them on a wrong platform.
2017-05-12 11:41:36 +02:00
Murat Kabilov
18700b9ef7
Optimize template constant
2017-05-12 11:41:36 +02:00
Murat Kabilov
fd449342e5
Use Kubernetes API instead of API group
2017-05-12 11:41:36 +02:00