19 Commits
Author SHA1 Message Date
Harry 3c95be709f [stable/kong] mark the chart as deprecated (#21940)
* [stable/kong] mark the chart as deprecated

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* remove tetsts

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>
2020-05-09 06:11:51 -07:00
Harry 0580e453e7 [stable/kong] 0.36.2 timeout and admission controller fixes (#19955)
* [stable/kong] add sideEffects and admissionReviewVersions

These are required fields for v1 and we operate on v1beta but support
the v1 resources as well.

Also removed the sym link to default values and introduced a blank file.

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* [stable/kong] use service type NodePort for CI testing

kind doesn't support services of type LoadBalancer and the CI test fail
on kind.

This is part of the effort to move the chart under Kong's Github
organization and deprecate it from `helm/charts` repo on Github.

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* [stable/kong] 0.36.2 admission webhook fixes

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* [stable/kong] bump up timeouts to 5 seconds

On constrained hardware and especially Minikube, 1 second timeouts are
common. Possibly, due to triple scheduling going on.

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>
2020-01-08 15:39:39 -08:00
Harry 5820fd492d [stable/kong] 0.34.2 ci consolidation and readme fixes (#19854)
* [stable/kong] typos in readme and change Kong Enterprise section

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* remove ci test, it is a duplicate of defautl-values.yaml

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* remove ci test, it is another duplicate of defautl-values.yaml

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* [stable/kong] consolidate various CI tests

We get a lot of flaky tests. Some of those are likely cause by the CI
process itself but reducing the number of tests gives us a speedy test
and reduces the probability of flakiness.

There are no tests that are being skipped here, multipe unrelated tests
have been consolidated together.

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* [stable/kong] draft changelog and version bump

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* [stable/kong] elaborate on kong enterprise and fix typos

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* [stable/kong] call out pre-reqs in install for enterprise

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* [stable/kong] renam test files to run the tests

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* remove blank lines as lint barfs

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* remove blank lines as lint barfs

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* remove trailing white space

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* [stable/kong] update changelog and version

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* specify pg details in ci test

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* [stabl/kong] de-duplicate test2 and test4

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>
2020-01-06 14:08:17 -08:00
Peter Rifel d6b8bd59f6 [stable/kong] Allow environment variables to be set on kong ingress controller (#19627)
Signed-off-by: Peter Rifel <pgrifel@gmail.com>
2019-12-16 16:23:38 -08:00
Peter Rifel 60683f9b99 [stable/kong] Add support for validating admission webhook (#19415)
Signed-off-by: Peter Rifel <pgrifel@gmail.com>
2019-12-12 09:36:33 -08:00
Harry ef9e0ebb86 [stable/kong] drop cassandra sub-chart (#18567)
Reasons:
- Cassandra chart has been incubating for a very long time and we have
  stability issues when Cassandra is running on k8s.
- Any serious user who is backing Kong with Cassandra, should be running
  and maintaining cassandra on their own any ways (outside k8s as well).
- Running Kong on k8s with Cassandra buys little. We would like to push
  users to use DB-less mode or use Postgres.
- We still support running Kong with Cassandra on k8s, only the
  sub-chart is being removed, (intentionally) increasing the friction when
  trying to use Kong with Cassandra on k8s.

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>
2019-11-05 14:30:31 -08:00
Fernando Ripoll e606f65b72 Add PSP policy to Kong chart (#18246)
Signed-off-by: pipo02mix <fernando@giantswarm.io>
2019-11-02 06:13:39 -07:00
Harry cdbccb67ea [stable/kong] update deps: psql and cassandra (#17873)
Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>
2019-10-11 09:11:39 -07:00
Harry 2efc13c5ab [stable/kong] misc improvements (#17852)
- Unify controller and proxy deployment together to simplify the
- Deployment is available under apps/v1 apiVersion since Kubernetes 1.9
  (almost 2 years ago).
  Deployments under extensions/v1beta1 apiVersion are no longer served by
  default from kubernetes 1.16 onwards.
  deployment and debugging
- Fix bug in readiness probe of the controller
- Fix bug in configuring readiness/liveness/resources for controller
- reduce initialprobedelays to 10seconds; the init-container makes sure
  that the db connectivity is correctly established
- Fix smpt_password_secret typo

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>
2019-10-10 21:17:38 -07:00
MarkFreebairn d13c25fabc [stable/kong] Allow hosts to be optional for kong ingress resources (#17217)
* Allow hosts to be optional for kong ingress resources

Signed-off-by: Mark Freebairn <mark_freebairn@hotmail.com>

* Bump chart version and add ci tests

Signed-off-by: Mark Freebairn <mark_freebairn@rapid7.com>
2019-09-26 10:45:08 -07:00
rolandg f2a4752586 [stable/kong]: added updateStrategy property (#16406)
* [stable/kong]: added maxSurge and maxUnavailable properties for deployment

Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>

* [stable/kong]: updateStrategy (again)

Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>

* [stable/kong]: bump version

Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>

* [stable/kong]: indent?

Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>

* [stable/kong]: test for update strategy

Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>

* [stable/kong]: update strategy altered test

Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>
2019-08-21 09:30:31 -07:00
Felippe Mendonça 7adb8ee269 [stable/kong] Added PodDisruptionBudget for Kong and its ingress (#16293)
* added PodDisruptionBudget on Kong and its ingress

Signed-off-by: Felippe Mendonça <mendonca.felippe@gmail.com>

* changed default value podDisruption feature to false
- update README
- included ci test to podDisruptionBudget

Signed-off-by: Felippe Mendonça <mendonca.felippe@gmail.com>

* version bumped

Signed-off-by: Felippe Mendonça <mendonca.felippe@gmail.com>
2019-08-16 11:08:15 -07:00
Debaes 3583a19ff2 [stable/kong] Allow for declarative configuration (#15284) (#15286)
* [stable/kong] Allow for declarative configuration (#15284)

This commit adds the capabilities to specify a declarative configuration. This
is necessary if you would like to run in DB-less mode with deploying the Kong
ingress controller. Documentation has also been adapted.

Signed-off-by: Christof Debaes <cdebaes@isabel.eu>

* [stable/kong] Allow for declarative configuration (#15284)

Removed trailing spaces, and the include spaces in comments to pass upstream linting.

Signed-off-by: Christof Debaes <cdebaes@isabel.eu>

* [stable/kong] Allow for declarative configuration, add config checksum (#15284)

Added the a configuration checksum such that all pods get restarted if an update
of the declarativeConfig values has been made (as opposed to merely updating the
configMap).

Signed-off-by: Christof Debaes <cdebaes@isabel.eu>

* [stable/kong] Allow for declarative configuration, reorganize toYaml to pass linting (#15284)

Signed-off-by: Christof Debaes <cdebaes@isabel.eu>

* [stable/kong] Add support for existing ConfigMap in declarative mode (helm#15284)

Signed-off-by: Michaël Van de Borne <mvandeborne@isabel.eu>

* [stable/kong] Updating README.md and changed naming from declarative towards dbless (helm#15284)

Signed-off-by: Christof Debaes <cdebaes@isabel.eu>

* [stable/kong] Adding separate CI test for dbless with and without configMap (no KIC). Updated default configMap name and updated sha256 checksum (helm#15284)

Signed-off-by: Christof Debaes <cdebaes@isabel.eu>

* [stable/kong] Renaming the CI test values file so they are picked up by CI (chart-testing)

Signed-off-by: Christof Debaes <cdebaes@isabel.eu>

* [stable/kong] Removed test case with external declarative ConfigMap + Add previous test case with no ingress controllers and no config

Signed-off-by: Christof Debaes <cdebaes@isabel.eu>
2019-08-14 09:44:24 -07:00
Harry 2880ba8f58 [stable/kong] correct check if ingress controller is enabled (#15237)
Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>
2019-07-03 11:59:39 -07:00
Harry 0350b79a6b [stable/kong] introduce support for dbless Ingress Controller (#13475)
Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>
2019-05-13 10:54:13 -07:00
Harry 4704252865 [stable/kong] bump up charts and c* ci test (#10516)
Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>
2019-01-09 15:08:22 -08:00
Harry 432f65a95f [stable/kong] add support for Kong 1.0 (#10511)
* [stable/kong] add support for Kong 1.0

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* fix --kong-url for HTTPS

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* fix comment and add todo

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>
2019-01-09 13:41:40 -08:00
HarryandGabriel de Maeztu 032330c7d3 [stable/kong] introduce Kong ingress controller (#9020)
* [stable/kong] implement Kong as Ingress Controller

Co-authored-by: Gabriel de Maeztu <gabriel.maeztu@gmail.com>
Co-authored-by: Harry Bagdi <harrybagdi@gmail.com>
Signed-off-by: Gabriel de Maeztu <gabriel.maeztu@gmail.com>

* rename values file

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* set component to controller

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* add hooks to crds

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* skip hook now that CI must be clean

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* rbac and service account create options

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* name rbac resources

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* correct reference to service account

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* remove .tgz

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* :faceplam: remove the post-delete hook on CRD

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* crd-install not needed

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* remove annotations from crds

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* rename test values

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>

* remove namespace from controller deployment

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>
2018-11-16 02:48:36 -08:00
Chris Kent bf3ada102c [stable/kong] add load balancer source range parameters (#9038)
* Add parameters for loadBalancerSourceRanges

Signed-off-by: Christopher Kent <thirstydeveloper@gmail.com>

* Bump version

Signed-off-by: Christopher Kent <thirstydeveloper@gmail.com>

* Update readme

Signed-off-by: Christopher Kent <thirstydeveloper@gmail.com>

* Update README

Signed-off-by: Christopher Kent <thirstydeveloper@gmail.com>

* Add values for ci test of load balancer params

Signed-off-by: Christopher Kent <thirstydeveloper@gmail.com>

* Add symlink to default values for ci testing

Signed-off-by: Christopher Kent <thirstydeveloper@gmail.com>

* Fix README

Signed-off-by: Christopher Kent <thirstydeveloper@gmail.com>

* Fix syntax for multiple cidr blocks

Signed-off-by: Christopher Kent <thirstydeveloper@gmail.com>
2018-11-06 22:22:34 -08:00