Oleksii Kliukin
7529b84b93
Move all operator-related constants together.
2017-05-12 11:41:27 +02:00
Oleksii Kliukin
55dbacdfa6
Assign DNS name to the cluster.
...
DNS name is generated from the team name and cluster name.
Use "zalando.org/dnsname" service annotation that makes 'mate' service assign a CNAME to the load balancer name.
2017-05-12 11:41:27 +02:00
Oleksii Kliukin
45fcb2adc9
Assign SUPERUSER to human users by default.
2017-05-12 11:41:27 +02:00
Murat Kabilov
34ac47aed9
Expose container 8080 port
2017-05-12 11:41:26 +02:00
Murat Kabilov
486c8ecb07
use neutral name for set cluster status function
2017-05-12 11:41:26 +02:00
Murat Kabilov
1c6e7ac2e7
loadBalancerSourceRanges update
2017-05-12 11:41:26 +02:00
Murat Kabilov
fc127069ab
remove unnecessary ControllerNamespace
2017-05-12 11:41:26 +02:00
Murat Kabilov
416dace289
get rid of arrays in the kuberesources;
...
use shorter form of checking for errors
2017-05-12 11:41:26 +02:00
Oleksii Kliukin
abd313f2d9
Fix a missing colon.
2017-05-12 11:41:26 +02:00
Oleksii Kliukin
f65fab00dd
Fix a typo
2017-05-12 11:41:26 +02:00
Oleksii Kliukin
033c28f03a
Delete persistent volumes on deletion of the cluster.
2017-05-12 11:41:26 +02:00
Murat Kabilov
caa0eab19b
Move statefulset creation from cluster spec to the separate function
2017-05-12 11:41:25 +02:00
Oleksii Kliukin
776ed3fa0f
Simplify getting configuration.
2017-05-12 11:41:25 +02:00
Murat Kabilov
021eedb226
Fix resource already exists log messages
2017-05-12 11:41:25 +02:00
Oleksii Kliukin
a2e78ac2ec
Feature/persistent volumes
2017-05-12 11:41:25 +02:00
Murat Kabilov
ae77fa15e8
Pod Rolling update
...
introduce Pod events channel;
add parsing of the MaintenanceWindows section;
skip deleting Etcd key on cluster delete;
use external etcd host;
watch for tpr/pods in the namespace of the operator pod only;
2017-05-12 11:41:25 +02:00
Murat Kabilov
2b8956bd33
Add service account manifest
2017-05-12 11:41:19 +02:00
Murat Kabilov
dfde075c66
Use TPR object namespace while creating its objects
2017-05-12 11:37:09 +02:00
Murat Kabilov
9169808133
Update glide dependencies
2017-05-12 11:37:09 +02:00
Murat Kabilov
6e2d64bd50
Create human users from teams api
2017-05-12 11:37:09 +02:00
Murat Kabilov
58506634c4
Create pg users
2017-05-12 11:37:09 +02:00
Murat Kabilov
7e4d0410c2
Use one secret per user
2017-05-12 11:37:09 +02:00
Murat Kabilov
abb1173035
Code refactor
2017-05-12 11:37:09 +02:00
Oleksandr Shulgin
0821990720
Only set -i flag of go build when compiling locally
...
This fixes permissions problem when building linux target on CD.
2017-05-12 11:37:09 +02:00
Oleksandr Shulgin
6068593238
Override PATH inside Makefile to add $GOPATH/bin
2017-05-12 11:37:08 +02:00
Murat Kabilov
75e6bfa55c
makefile improvements
2017-05-12 11:37:07 +02:00
Oleksandr Shulgin
6b0c104d05
Add quotes around project workspace and target dirs in build-ci.sh
2017-05-12 11:36:24 +02:00
Oleksandr Shulgin
7974dc8c4e
Move Dockerfile to a subdir for smaller build context
2017-05-12 11:36:22 +02:00
Oleksandr Shulgin
f6015e5aa0
Add clean before creating docker image for ci
2017-05-12 11:35:52 +02:00
Oleksandr Shulgin
c082824cc7
Put back make docker push in build-ci.sh
2017-05-12 11:35:52 +02:00
Oleksandr Shulgin
3f5bc83de1
Make only the binary inside golang toolchain, push from jenkins
2017-05-12 11:35:51 +02:00
Oleksandr Shulgin
f1d59c425a
Ignore .glide directory to get a clean scm-source
2017-05-12 11:35:51 +02:00
Oleksandr Shulgin
df84e23879
Correct typo in "glide" command
2017-05-12 11:35:51 +02:00
Oleksandr Shulgin
542d07328c
Fix order of target vs. link in ln(1)
2017-05-12 11:35:51 +02:00
Oleksandr Shulgin
9007f974ae
Add test build-ci.sh script
2017-05-12 11:35:51 +02:00
Oleksii Kliukin
5ae011e6fc
Cleanup scm-sources.json during make clean.
2017-05-12 11:35:51 +02:00
Oleksii Kliukin
dc3c66c70d
Alays Make clean before producing a docker image.
2017-05-12 11:35:51 +02:00
Oleksii Kliukin
8e15b846c9
Add project's Makefile, improve the Dockerfile.
...
Add targets to build operator and create docker images.
Add scm-source.json to the Dockerfile.
2017-05-12 11:35:47 +02:00
Oleksii Kliukin
4f615be718
Add .zappr configuration.
2017-05-08 12:10:27 +02:00
Oleksii Kliukin
69701a2da5
Remove unused yaml template variables.
2017-05-08 12:10:27 +02:00
Oleksii Kliukin
e96f8a80ee
Option to run the operator out of cluster.
2017-05-08 12:10:27 +02:00
Oleksii Kliukin
b3a9516bae
Add a missing file.
2017-05-08 12:10:26 +02:00
Oleksii Kliukin
e5e0e3a148
Use camelCase.
2017-05-08 12:10:26 +02:00
Oleksii Kliukin
38bc9da25a
WIP: allow operator to run both in- and out- of cluster.
2017-05-08 12:10:26 +02:00
Murat Kabilov
5b5a64e55d
Check if etcd service has its port exposed
2017-05-08 12:10:26 +02:00
Murat Kabilov
d5a7683a38
some refactoring
2017-05-08 12:10:26 +02:00
Murat Kabilov
256ff37c19
refactor file tree structure
2017-05-08 12:10:25 +02:00
Oleksii Kliukin
77b01c67c9
Mention building dependencies.
2017-05-08 12:10:25 +02:00
Oleksii Kliukin
22ec987094
Uncomment scaling up/down.
2017-05-08 12:10:25 +02:00
Murat Kabilov
77db11e084
get rid of race condition
2017-05-08 12:10:24 +02:00