Commit Graph

4924 Commits

Author SHA1 Message Date
ideahitme
05dd6201dc lowercase for logging 2017-03-03 12:01:56 +01:00
ideahitme
36a314ccdb fix tests 2017-03-03 10:30:07 +01:00
ideahitme
3a471ef29c remove dummy printing 2017-03-02 18:42:51 +01:00
ideahitme
88b808e323 cover flag parsing 2017-03-02 18:40:38 +01:00
Martin Linkhorst
9b3a780b67
fix(dnsprovider): add missing comment for exported type 2017-03-02 17:43:34 +01:00
Martin Linkhorst
5c6a58cc7b Merge pull request #50 from kubernetes-incubator/ingress/basic-support
ingress basic implementation
2017-03-02 17:37:53 +01:00
ideahitme
0115c2007d test ingress on diff namespaces 2017-03-02 16:57:29 +01:00
ideahitme
a0b66b91f3 refactor 2017-03-02 16:47:38 +01:00
ideahitme
885b2349e1 better flag parse testing 2017-03-02 15:55:49 +01:00
Martin Linkhorst
7419e1312a Merge pull request #52 from linki/google-batch
allow google provider to send requests in batches
2017-03-02 15:53:55 +01:00
ideahitme
d9697c0463 gofmt ingress_test 2017-03-02 15:26:17 +01:00
Martin Linkhorst
6d42440f45
chore(dnsprovider): add boilerplate headers 2017-03-02 15:26:16 +01:00
ideahitme
c14b4107f0 ingress tests 2017-03-02 15:14:37 +01:00
Martin Linkhorst
39182eb94e
chore: vendor depedencies 2017-03-02 14:35:55 +01:00
Martin Linkhorst
9debc321b1
feat(dnsprovider): first implementation of AWS Route53 DNS provider 2017-03-02 14:29:27 +01:00
Martin Linkhorst
fb853808b8 feat(controller): make mock implementations more flexible by taking slices (#51) 2017-03-02 13:19:13 +01:00
ideahitme
d89a94e928 Merge branch 'master' into ingress/basic-support 2017-03-02 12:04:46 +01:00
Martin Linkhorst
2025bdab6c Merge pull request #54 from kubernetes-incubator/tests/scope-service
create shared_test and scope service tests
2017-03-02 11:53:03 +01:00
Martin Linkhorst
427e280f35 Merge pull request #53 from kubernetes-incubator/makefile/separate-test
add test command for convinience
2017-03-02 11:38:30 +01:00
ideahitme
50c50c655e add boilerplate header to shared test 2017-03-02 11:34:46 +01:00
ideahitme
43e11ea66b scoped ingress tests 2017-03-02 11:34:01 +01:00
ideahitme
014982cafc create shared_test and scope service tests 2017-03-02 11:24:23 +01:00
ideahitme
cfd8dbc40b add test command for convinience 2017-03-02 11:12:15 +01:00
ideahitme
ef76c7dc73 first implementation without test 2017-03-02 11:11:13 +01:00
Martin Linkhorst
8bc2728671
allow google provider to send requests in batches 2017-03-01 17:01:49 +01:00
ideahitme
4e04f36c6f ingress kickoff 2017-03-01 16:37:09 +01:00
Martin Linkhorst
99371a1e83 implementation of basic control loop (#40)
* feat(google): add ability to apply changes generated from a plan

* feat(controller): first implementation of controller

* feat: allow to configure in-cluster and kubeconfig

* fix(controller): call RunOnce at the right time and in a loop

* feat(google): add dryRun attribute to Google DNS provider

* fix: use hosted zone id instead of DNS name

* fix(google): stupidly filter by A records for now

* feat: allow specifying the google project and zone

* feat: provide a dry-run flag which defaults to false

* chore: vendor new dependencies

* fix(config): fix failing tests for config object

* ref(controller): return plain value of ApplyChanges

* ref: simplify how to get a valid kubernetes client
2017-03-01 16:17:47 +01:00
Martin Linkhorst
7f7a0092af Merge pull request #46 from linki/corev1
consistently use CoreV1() instead of Core()
2017-03-01 13:23:48 +01:00
Martin Linkhorst
db873383d7 Merge pull request #48 from linki/badges
add useful badges to the readme
2017-03-01 13:22:45 +01:00
Yerken
5326005bd3 add makefile with coverage (#41)
* add makefile with coverage

* fix syntax, go get gocovmerge
2017-03-01 12:18:10 +01:00
Martin Linkhorst
7202f38896
chore: add useful badges to the readme 2017-03-01 11:54:17 +01:00
Justin Santa Barbara
cb364cdbf7 Move config to apimachinery (#37)
Types that we want to work using apimachinery typically go into
pkg/apis/X, and the validation goes into pkg/apis/X/validation.  We then
add versions into e.g. pkg/apis/X/v1alpha1, but this feels premature at
the moment.

Changing this later is annoyingly difficult, especially in terms of
validation and dependencies.

We will want the apimachinery, so that we can configure from a
configuration file that is versioned.  Hopefully dns-controller won't
end up so complicated that we will require it, but I think there is also
value in following the "standard" patterns for controllers that are
emerging from e.g. ingress.

For a fairly simple example of an API, please consult
https://github.com/kubernetes/kubernetes/tree/master/pkg/apis/certificates
2017-03-01 11:49:02 +01:00
Martin Linkhorst
f3458d0dbd
fix(source): consistently use CoreV1() instead of Core() 2017-03-01 11:30:39 +01:00
Martin Linkhorst
909373a20b fix(Makefile): run tests for all but vendored packages (#45) 2017-03-01 11:28:29 +01:00
Martin Linkhorst
20fca31ce4 Merge pull request #39 from justinsb/loadbalancer_hostname
Extract Status.LoadBalancer.Hostname from service annotations
2017-03-01 11:26:18 +01:00
Martin Linkhorst
20724fb9b1 Merge pull request #38 from justinsb/simple_makefile
Add simple makefile, with `make verify` task
2017-03-01 11:10:46 +01:00
Martin Linkhorst
ec91115143 Merge pull request #36 from justinsb/ignore_idea
Add .gitignore, based on kubernetes/kubernetes
2017-02-27 14:43:55 +01:00
Martin Linkhorst
942706e3b2 Merge pull request #35 from justinsb/docs_existing_kops_annotations
Document existing kops dns-controller annotations
2017-02-27 14:43:43 +01:00
Justin Santa Barbara
18318b84be Extract Status.LoadBalancer.Hostname from service annotations
On AWS, the loadbalancer is / will be / should be set up in the
hostname.
2017-02-26 22:22:43 -05:00
Justin Santa Barbara
7365b05e24 Add simple makefile, with make verify task
verify runs the same verification as the CI runs.
2017-02-26 18:02:28 -05:00
Justin Santa Barbara
de95a36f65 Add .gitignore, based on kubernetes/kubernetes
Trimmed to remove ignores that are obviously kubernetes specific
2017-02-26 16:41:31 -05:00
Justin Santa Barbara
67fa237cd4 Document existing kops dns-controller annotations
Kops includes a dns-controller, and this document describes the existing
annotations and their behaviour.  This document is intended to allow us
to see the use-cases identified by kops dns-controller, to ensure the
same annotations can be recognized (perhaps with a `--compatibilty`
flag), and to ensure that we have comparable functionality.
2017-02-26 16:38:52 -05:00
Martin Linkhorst
abf047c267 Add draft implementation of Google dns-provider (#31)
* feat: add first implementation of google dns-provider

* chore(dnsprovider): add boilerplate headers

* chore: update list of dependencies

* chore: vendor depedencies
2017-02-24 18:15:26 +01:00
Adam Sunderland
d826059d9e Merge pull request #30 from linki/services
Implement Kubernetes services source
2017-02-24 10:44:20 -06:00
Martin Linkhorst
5b0841fce5
chore: vendor depedencies 2017-02-24 17:33:44 +01:00
Martin Linkhorst
5d434c41c2
chore: update list of dependencies 2017-02-24 17:33:18 +01:00
Martin Linkhorst
62f1168193
Merge remote-tracking branch 'upstream/master' into services 2017-02-24 17:28:41 +01:00
Martin Linkhorst
6ab387ec33
docs(endpoint): document the Endpoint struct 2017-02-24 17:16:57 +01:00
Martin Linkhorst
f156cd89d7
chore(source): add boilerplate headers 2017-02-24 17:16:26 +01:00
Adam Sunderland
f627a6e531 Merge pull request #34 from kubernetes-incubator/chore/sync-k8s-repo-infra
resync with repo-infra upstream
2017-02-24 10:13:25 -06:00