Swift
c43ea4d6e1
Update ingress to go 1.17 ( #7521 )
...
* bump go.mod to 1.17
* bump github ci workflow to go 1.17
* bump e2e-test-runner version
* fix go mod error
* fix go fmt error
* fix boilerplate verification
2021-08-23 14:25:25 -07:00
Emily L Shepherd
623436ef65
Add appProtocol field to all ServicePorts ( #7493 )
...
Minor update to the helm chart to set the [appProtocol][1] field on all
http / https ports defined in the various services created by the helm
chart:
- http and https for controller-service
- http and https for controller-service-internal
- https for controler-service-webhook
- http for default-backend-service
These are only added in kubernetes >= 1.20, which is when this feature
became stable.
[1]: https://kubernetes.io/docs/concepts/services-networking/service/#application-protocol
2021-08-23 10:08:01 -07:00
Long Wu Yuan
f8372dbce9
improve RELEASE.md ( #7525 )
2021-08-23 08:38:00 -07:00
amirschw
605c243d7a
[Helm] Make HPA behavior configurable ( #7203 )
...
Signed-off-by: amirschw <24677563+amirschw@users.noreply.github.com>
2021-08-22 12:05:59 -07:00
Ricardo Katz
5e5faa24d2
Update runner go version ( #7526 )
2021-08-22 11:39:59 -07:00
Ricardo Katz
90c79689c4
Release v1 ( #7470 )
...
* Drop v1beta1 from ingress nginx (#7156 )
* Drop v1beta1 from ingress nginx
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* Fix intorstr logic in controller
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* fixing admission
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* more intorstr fixing
* correct template rendering
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* Fix e2e tests for v1 api
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* Fix gofmt errors
* This is finally working...almost there...
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* Re-add removed validation of AdmissionReview
* Prepare for v1.0.0-alpha.1 release
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* Update changelog and matrix table for v1.0.0-alpha.1 (#7274 )
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* add docs for syslog feature (#7219 )
* Fix link to e2e-tests.md in developer-guide (#7201 )
* Use ENV expansion for namespace in args (#7146 )
Update the DaemonSet namespace references to use the `POD_NAMESPACE` environment variable in the same way that the Deployment does.
* chart: using Helm builtin capabilities check (#7190 )
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
* Update proper default value for HTTP2MaxConcurrentStreams in Docs (#6944 )
It should be 128 as documented in https://github.com/kubernetes/ingress-nginx/blob/master/internal/ingress/controller/config/config.go#L780
* Fix MaxWorkerOpenFiles calculation on high cores nodes (#7107 )
* Fix MaxWorkerOpenFiles calculation on high cores nodes
* Add e2e test for rlimit_nofile
* Fix doc for max-worker-open-files
* ingress/tcp: add additional error logging on failed (#7208 )
* Add file containing stable release (#7313 )
* Handle named (non-numeric) ports correctly (#7311 )
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
* Updated v1beta1 to v1 as its deprecated (#7308 )
* remove mercurial from build (#7031 )
* Retry to download maxmind DB if it fails (#7242 )
* Retry to download maxmind DB if it fails.
Signed-off-by: Sergey Shakuto <sshakuto@infoblox.com>
* Add retries count arg, move retry logic into DownloadGeoLite2DB function
Signed-off-by: Sergey Shakuto <sshakuto@infoblox.com>
* Reorder parameters in DownloadGeoLite2DB
Signed-off-by: Sergey Shakuto <sshakuto@infoblox.com>
* Remove hardcoded value
Signed-off-by: Sergey Shakuto <sshakuto@infoblox.com>
* Release v1.0.0-alpha.1
* Add changelog for v1.0.0-alpha.2
* controller: ignore non-service backends (#7332 )
* controller: ignore non-service backends
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
* update per feedback
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
* fix: allow scope/tcp/udp configmap namespace to altered (#7161 )
* Lower webhook timeout for digital ocean (#7319 )
* Lower webhook timeout for digital ocean
* Set Digital Ocean value controller.admissionWebhooks.timeoutSeconds to 29
* update OWNERS and aliases files (#7365 ) (#7366 )
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
* Downgrade Lua modules for s390x (#7355 )
Downgrade Lua modules to last known working version.
* Fix IngressClass logic for newer releases (#7341 )
* Fix IngressClass logic for newer releases
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* Change e2e tests for the new IngressClass presence
* Fix chart and admission tests
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* Fix helm chart test
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* Fix reviews
* Remove ingressclass code from admission
* update tag to v1.0.0-beta.1
* update readme and changelog for v1.0.0-beta.1
* Release v1.0.0-beta.1 - helm and manifests (#7422 )
* Change the order of annotation just to trigger a new helm release (#7425 )
* [cherry-pick] Add dev-v1 branch into helm releaser (#7428 )
* Add dev-v1 branch into helm releaser (#7424 )
* chore: add link for artifacthub.io/prerelease annotations
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Co-authored-by: Ricardo Katz <rikatz@users.noreply.github.com>
* k8s job ci pipeline for dev-v1 br v1.22.0 (#7453 )
* k8s job ci pipeline for dev-v1 br v1.22.0
Signed-off-by: Neha Lohia <nehapithadiya444@gmail.com>
* k8s job ci pipeline for dev-v1 br v1.21.2
Signed-off-by: Neha Lohia <nehapithadiya444@gmail.com>
* remove v1.21.1 version
Signed-off-by: Neha Lohia <nehapithadiya444@gmail.com>
* Add controller.watchIngressWithoutClass config option (#7459 )
Signed-off-by: Akshit Grover <akshit.grover2016@gmail.com>
* Release new helm chart with certgen fixed (#7478 )
* Update go version, modules and remove ioutil
* Release new helm chart with certgen fixed
* changed appversion, chartversion, TAG, image (#7490 )
* Fix CI conflict
* Fix CI conflict
* Fix build.sh from rebase process
* Fix controller_test post rebase
Co-authored-by: Tianhao Guo <rggth09@gmail.com>
Co-authored-by: Ray <61553+rctay@users.noreply.github.com>
Co-authored-by: Bill Cassidy <cassid4@gmail.com>
Co-authored-by: Jintao Zhang <tao12345666333@163.com>
Co-authored-by: Sathish Ramani <rsathishx87@gmail.com>
Co-authored-by: Mansur Marvanov <nanorobocop@gmail.com>
Co-authored-by: Matt1360 <568198+Matt1360@users.noreply.github.com>
Co-authored-by: Carlos Tadeu Panato Junior <ctadeu@gmail.com>
Co-authored-by: Kundan Kumar <kundan.kumar@india.nec.com>
Co-authored-by: Tom Hayward <thayward@infoblox.com>
Co-authored-by: Sergey Shakuto <sshakuto@infoblox.com>
Co-authored-by: Tore <tore.lonoy@gmail.com>
Co-authored-by: Bouke Versteegh <info@boukeversteegh.nl>
Co-authored-by: Shahid <shahid@us.ibm.com>
Co-authored-by: James Strong <strong.james.e@gmail.com>
Co-authored-by: Long Wu Yuan <longwuyuan@gmail.com>
Co-authored-by: Jintao Zhang <zhangjintao9020@gmail.com>
Co-authored-by: Neha Lohia <nehapithadiya444@gmail.com>
Co-authored-by: Akshit Grover <akshit.grover2016@gmail.com>
2021-08-21 13:42:00 -07:00
Jintao Zhang
f3c50698d9
Prepare for v0.49.0 release ( #7509 )
...
* Changelog for v0.49
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
* helm: bump version to v0.49.0
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
* docs: bumper version to v0.49.0
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
* explicitly call out details for Changelogs
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2021-08-21 09:49:59 -07:00
Long Wu Yuan
05a3d144de
tag for release v0.49.0 ( #7505 )
2021-08-18 12:18:17 -07:00
Ricardo Katz
807fd69209
Fix default backend annotation test ( #7486 )
2021-08-12 14:03:50 -07:00
Ricardo Katz
e9f0ad3485
Merge pull request #7479 from equinix-ms/main
...
Make custom-default-backend upstream name more unique.
2021-08-12 17:09:55 -03:00
Jonas Kello
2fe8270302
Add linux node selector as default ( #7481 )
2021-08-12 12:39:51 -07:00
Matthew Silverman
b591adac48
allow kb granularity for lua shared dicts ( #6750 )
...
Update internal/ingress/controller/template/configmap.go
Co-authored-by: Ricardo Katz <rikatz@users.noreply.github.com>
Co-authored-by: Ricardo Katz <rikatz@users.noreply.github.com>
2021-08-12 11:13:50 -07:00
yashikabadaya
b510b0e930
Improved disableaccesslog tests ( #7463 )
...
1. Added check to validate if nginx ingress controller is reachable after disabling access log.
2. Added disable-stream-access-log test
2021-08-12 11:07:50 -07:00
Noah Ispas
7842d732b0
update e2e test images to newest promoted one ( #7485 )
2021-08-12 10:35:48 -07:00
Robin Elfrink
8ee98e9422
Make custom-default-backend upstream name more unique.
...
Signed-off-by: Robin Elfrink <robin.elfrink@eu.equinix.com>
2021-08-11 09:06:16 +02:00
Ricardo Katz
402f21bcb7
Merge pull request #7477 from rikatz/trigger-whgen
...
Trigger webhook image generation
2021-08-10 18:08:07 -03:00
Ricardo Katz
576525dd72
Trigger webhook image generation
2021-08-10 18:06:41 -03:00
Ricardo Katz
492c7b0d94
Migrate the webhook-certgen program to inside ingress repo ( #7475 )
2021-08-10 13:22:40 -07:00
Tom Hayward
9a9ad47857
Fix forwarding of auth-response-headers to gRPC backends ( #7331 )
...
* add e2e test for auth-response-headers annotation
* add e2e test for grpc with auth-response-headers
* fix forwarding of auth header to GRPC backends
* add test case for proxySetHeader(nil)
2021-08-10 11:24:39 -07:00
Tom Hayward
c9d5b21a65
fix: discover mounted geoip db files ( #7228 )
...
* fix: discover mounted geoip db files
* add test
* fix runtime reload of config.MaxmindEditionFiles
* add e2e test
* log missing geoip2 db
2021-08-10 11:24:39 -07:00
Sergey Shakuto
45995525e7
Retry to download maxmind DB if it fails ( #7242 )
...
* Retry to download maxmind DB if it fails.
Signed-off-by: Sergey Shakuto <sshakuto@infoblox.com>
* Add retries count arg, move retry logic into DownloadGeoLite2DB function
Signed-off-by: Sergey Shakuto <sshakuto@infoblox.com>
* Reorder parameters in DownloadGeoLite2DB
Signed-off-by: Sergey Shakuto <sshakuto@infoblox.com>
* Remove hardcoded value
Signed-off-by: Sergey Shakuto <sshakuto@infoblox.com>
2021-08-10 11:24:39 -07:00
Ricardo Katz
820a21a743
Merge pull request #7473 from iamNoah1/main
...
update to newest image
2021-08-10 11:20:49 -03:00
Noah Ispas (iamNoah1)
665ec92a2d
update to newest image
2021-08-10 16:18:17 +02:00
kayrus
e53a11e839
Add hostname value to override pod's hostname ( #7386 )
2021-08-09 06:45:31 -07:00
Eugene Apollonsky
af745bd97d
use listen to ensure the port is free ( #6990 ) ( #7467 )
...
Co-authored-by: boxjan <i@boxjan.li>
2021-08-09 05:31:31 -07:00
Noah Ispas
98288bc3ca
Update versions of components for base image ( #7411 )
...
* update versions and checksums
* change requests from PR
2021-08-09 04:55:30 -07:00
Sergey Lanzman
8b2db80433
Update configmap.md ( #7462 )
2021-08-08 05:19:30 -07:00
Ricardo Katz
2d90ba14f5
Change all master reference to main ( #7369 )
2021-08-06 17:07:29 -07:00
Ian Roberts
e5e33051b9
Allow overriding of the default response format ( #7245 )
...
Rather than hard-coding the default response format as HTML, allow the default to be overridden by an environment variable. For example, given a REST API endpoint that defaults to responding in JSON, you may wish to configure the error messages to be JSON by default as well.
2021-08-06 13:27:29 -07:00
Ricardo Katz
9c22ba93b2
Merge pull request #7454 from rikatz/update-mods
...
Update go version, modules and remove ioutil
2021-08-06 17:13:33 -03:00
tobiasgiese
9efea320b9
Fix cap for NET_BIND_SERVICE ( #7449 )
...
Signed-off-by: Tobias Giese <tobias.giese@daimler.com>
2021-08-06 12:45:30 -07:00
Benedikt
c51a509ad8
correct ingress-controller naming ( #7450 )
2021-08-06 12:41:30 -07:00
Long Wu Yuan
5c98c93f0f
added K8s v1.22 tip for kind cluster,bug-report ( #7437 )
2021-08-06 12:39:30 -07:00
Jennifer Kirsch
390bd257e7
Add documentation for monitoring without helm ( #7455 )
...
* Add documentation for monitoring without helm
As someone who is currently learning Kubernetes without using helm, I wasn't able to get the ingress controller to export metrics without asking someone more experienced for help.
I think a bit more information would be a good addition for my fellow Kubernetes newcomers.
If there are any wording/ formatting issues, I will be happy to update this.
* Fix typo
2021-08-06 11:57:30 -07:00
Ricardo Katz
d226d831bd
Update go version, modules and remove ioutil
2021-08-06 14:15:21 -03:00
Neha Lohia
6da7e9ce2a
run k8s job ci pipeline with 1.21.2 in main br ( #7452 )
...
Signed-off-by: Neha Lohia <nehapithadiya444@gmail.com>
2021-08-06 08:25:19 -07:00
Ricardo Katz
26768e9578
Prepare for go v1.16 ( #7451 )
2021-08-06 07:35:19 -07:00
Bhumij Gupta
6f0401fc73
Helm - Enable configuring request and limit for containers in webhook jobs ( #7434 )
...
* helm: add feature to configure request and limit for container in createSecret and patchWebhook job
Signed-off-by: Bhumij Gupta <bhumijgupta@gmail.com>
* Remove empty line in helm template
Signed-off-by: Bhumij Gupta <bhumijgupta@gmail.com>
* Add test for admission webhook job container resources
Signed-off-by: Bhumij Gupta <bhumijgupta@gmail.com>
* Add new line character at the end of charts ci file
Signed-off-by: Bhumij Gupta <bhumijgupta@gmail.com>
2021-08-05 15:31:41 -07:00
Maikel
46be93808b
Add scope configuration check. ( #6864 )
2021-08-05 06:23:22 -07:00
Swift
b1a71adb74
Bump PDB API version to v1 ( #7421 )
...
* update pdb to v1
Signed-off-by: yuswift <yuswift2018@gmail.com>
* validate the version in PDB
Signed-off-by: yuswift <yuswift2018@gmail.com>
2021-08-05 05:23:22 -07:00
Bhumij Gupta
eb5c38d636
Add http request test to annotaion ssl cipher test ( #7431 )
...
Signed-off-by: Bhumij Gupta <bhumijgupta@gmail.com>
2021-08-05 05:05:22 -07:00
Long Wu Yuan
3a1ab7c644
Removed tabs and one extra-space ( #7426 )
2021-08-03 10:18:48 -07:00
Long Wu Yuan
499ed16cc8
Fixed chart version ( #7423 )
2021-08-03 07:34:49 -07:00
Ricardo Katz
e70f040d19
Add dev-v1 branch into helm releaser ( #7424 )
2021-08-03 06:44:48 -07:00
Soumya Ghosh Dastidar
5315ab24ff
added checks to verify backend works with the given configs ( #7415 )
...
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2021-08-02 12:18:20 -07:00
wasker
f222c752be
Enable session affinity for canaries ( #7371 )
2021-07-29 14:23:19 -07:00
Dmitry Kuleshov
a327a809d9
auto backend protocol for HTTP/HTTPS ( #6985 )
...
* add auto backend protocol for HTTP/HTTPS
* e2e test for AUTO_HTTP backend protocol
* unit test for AUTO_HTTP backend protocol
Co-authored-by: Luca Del Monte <luca.delmonte5@gmail.com>
2021-07-29 12:49:19 -07:00
Noah Ispas
b1f9f83810
reorder contributing infos ( #7394 )
...
* reorder contributing infos
* Change requests of PR
2021-07-27 06:18:45 -07:00
Robert J
c4cc9a504a
docs:update troubleshooting.md ( #7224 )
...
* Update troubleshooting.md
Made the troubleshooting steps a bit more fluid IMHO.
* Update troubleshooting.md
Fixed introduced troubleshooting workflow change.
* Update troubleshooting.md
Fixed token path in new proposed workflow.
* Update troubleshooting.md
Fixed terminology (pod vs. container)
* Changed verb to get CLA refresh.
* Updating PR with requested changes.
Signed-off-by: Robert Jackson <robert@aztek.io>
2021-07-26 17:04:45 -07:00
Steven Harms
a82ea7d617
aws-load-balancer-internal is a boolean value ( #7353 )
...
* aws-load-balancer-internal is a boolean value
* Update to string true
* Update to string true
* Update to string true
2021-07-26 05:40:33 -07:00