Antonio Ojea
4f62e980be
Deploy: Use LoadBalancer for KIND. ( #12232 )
2024-10-29 08:00:07 +01:00
Marco Ebert
fdfc97a7fb
Images: Drop s390x
. ( #12131 )
2024-10-07 13:30:21 +01:00
Ricardo Katz
6510535ae0
NGINX: Remove inline Lua from template. ( #11806 )
2024-09-08 18:48:12 -03:00
Ricardo Katz
cf8e374290
Auto-generate annotation docs ( #11820 )
2024-08-18 16:13:18 -07:00
Carlos Tadeu Panato Junior
c0767ccc61
refactor helm ci tests part I ( #11178 )
...
* refactor helm ci tests part I
Signed-off-by: cpanato <ctadeu@gmail.com>
* update indentation
Signed-off-by: cpanato <ctadeu@gmail.com>
* fix path
Signed-off-by: cpanato <ctadeu@gmail.com>
* more updates
Signed-off-by: cpanato <ctadeu@gmail.com>
* add helm-lint job
Signed-off-by: cpanato <ctadeu@gmail.com>
---------
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-03-31 13:21:33 -07:00
Ricardo Katz
fa0bf81984
Bump go libraries ( #11023 )
...
* Bump go libraries
* Fix update codegen execution
* Fix errors on klog
* Fix gzip test
* Bump libraries on webhook certgen
* Fix webhook-certgen compilation
2024-02-27 09:52:42 -08:00
Hervé
30c4314534
Fix print-e2e-suite ( #9536 )
...
Before:
```
$ make print-e2e-suite
Reached DIND check ELSE block, inside run-in-docker.sh
Compiled e2e.test
Reached DIND check ELSE block, inside run-in-docker.sh
+ set -o errexit
+ set -o nounset
+ set -o pipefail
+++ dirname hack/print-e2e-suite.sh
++ cd hack/..
++ pwd -P
+ DIR=/go/src/k8s.io/ingress-nginx
+ /go/src/k8s.io/ingress-nginx/test/e2e/e2e.test -ginkgo.noColor -ginkgo.dryRun
+ sed 's|/go/src/k8s.io/ingress-nginx/|File: |g'
+ sed s/•//g
+ + head -n-3tail -n+5
You're using deprecated Ginkgo functionality:
=============================================
--ginkgo.dryRun is deprecated, use --ginkgo.dry-run instead
Learn more at: https://onsi.github.io/ginkgo/MIGRATING_TO_V2#changed-command-line-flags
--ginkgo.noColor is deprecated, use --ginkgo.no-color instead
Learn more at: https://onsi.github.io/ginkgo/MIGRATING_TO_V2#changed-command-line-flags
To silence deprecations that can be silenced set the following environment variable:
ACK_GINKGO_DEPRECATIONS=2.6.1
Will run 423 of 423 specs
```
After:
```
$ make print-e2e-suite
Reached DIND check ELSE block, inside run-in-docker.sh
Compiled e2e.test
Reached DIND check ELSE block, inside run-in-docker.sh
Will run 423 of 423 specs
------------------------------
[Annotations] service-upstream when using the default value (false) and enabling in the annotations should use the Service Cluster IP and Port
File: test/e2e/annotations/serviceupstream.go:41
[0.000 seconds]
------------------------------
[...]
```
Signed-off-by: Hervé Werner <dud225@hotmail.com>
2024-02-27 05:41:04 -08:00
Marco Ebert
648cb8bb0a
CI: Replace chart-testing
image by e2e-test-runner
. ( #10761 )
2023-12-15 01:13:34 +01:00
Ricardo Katz
9635ece4c0
Rework mage ( #10417 )
2023-09-17 17:36:30 -07:00
Chen Chen
3d69d9a88b
Fix e2e test suite doc ( #10396 )
...
* Fix e2e test suite doc
Signed-off-by: z1cheng <imchench@gmail.com>
* Fix doc script and regenerate
Signed-off-by: z1cheng <imchench@gmail.com>
* Add skip files to the script and regenerate
Signed-off-by: z1cheng <imchench@gmail.com>
---------
Signed-off-by: z1cheng <imchench@gmail.com>
2023-09-11 01:24:11 -07:00
Chen Chen
8a6af6068d
Add golangci github action and replace the deprecated golint ( #10187 )
...
* Add golangci github action and replace the deprecated golint
Signed-off-by: z1cheng <imchench@gmail.com>
* Install if golangci-lint not exists
Signed-off-by: z1cheng <imchench@gmail.com>
* Use -z operator
Signed-off-by: z1cheng <imchench@gmail.com>
* Fix json tag for DatadogSampleRate field in config.go
Signed-off-by: z1cheng <imchench@gmail.com>
* Add golangci linters
Signed-off-by: z1cheng <imchench@gmail.com>
* Revert DatadogSampleRate fix
Signed-off-by: z1cheng <imchench@gmail.com>
* Fix comments
Signed-off-by: z1cheng <imchench@gmail.com>
* Add a new line
Signed-off-by: z1cheng <imchench@gmail.com>
* fixup! Add a new line
Signed-off-by: z1cheng <imchench@gmail.com>
* Add trigger condition
Signed-off-by: z1cheng <imchench@gmail.com>
* Add golint-check entry in makefile
Signed-off-by: Chen Chen <imchench@gmail.com>
* Run golint-check in a container
Signed-off-by: Chen Chen <imchench@gmail.com>
---------
Signed-off-by: z1cheng <imchench@gmail.com>
Signed-off-by: Chen Chen <imchench@gmail.com>
2023-09-06 10:06:53 -07:00
Chen Chen
ee9c6246f2
Add rolling update strategy to each static deployment file ( #10129 )
...
* Add rollingUpdate strategy to each static deployment file
Signed-off-by: z1cheng <imchench@gmail.com>
* Update the templates and regenerate
Signed-off-by: z1cheng <imchench@gmail.com>
* Upgrade k8s version and add rolling update for exoscale
Signed-off-by: z1cheng <imchench@gmail.com>
* Add rolling update strategy to Oracle template
Signed-off-by: z1cheng <imchench@gmail.com>
* Revert the k8s version in generate-deploy-scripts.sh
Signed-off-by: z1cheng <imchench@gmail.com>
---------
Signed-off-by: z1cheng <imchench@gmail.com>
2023-07-24 08:26:13 -07:00
z1cheng
155fc8daa4
Rename OCI to oracle
...
Signed-off-by: z1cheng <imchench@gmail.com>
2023-06-30 12:49:51 +00:00
z1cheng
b38a2c7612
Fix OCI manifest templates and regenerate the deploy files
...
Signed-off-by: z1cheng <imchench@gmail.com>
2023-06-30 12:37:20 +00:00
James Strong
26d83d1b20
update all container tags with date and sha, upgrade all containers ( #9834 )
...
Signed-off-by: James Strong <strong.james.e@gmail.com>
2023-04-06 10:25:48 -07:00
James Strong
2db8552a87
Automated Release Controller 1.5.2 ( #9455 )
...
Signed-off-by: James Strong <james.strong@chainguard.dev>
Signed-off-by: James Strong <james.strong@chainguard.dev>
2022-12-29 13:35:32 -08:00
James Strong
db3cdc04e4
release 1.3.1 ( #9014 )
...
* release 1.3.1
Signed-off-by: James Strong <strong.james.e@gmail.com>
* fix readme
Signed-off-by: James Strong <strong.james.e@gmail.com>
* fix readme
Signed-off-by: James Strong <strong.james.e@gmail.com>
* fix readme
Signed-off-by: James Strong <strong.james.e@gmail.com>
* Fix chart linter
* Fix helm docs
* Fix helm docs
* fix helm docs
* Add warning about lease change
* Disable PSP in v1.25
* rollback cluster in helmchart to psp tests
Signed-off-by: James Strong <strong.james.e@gmail.com>
Co-authored-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2022-09-05 04:28:36 -07:00
Ismayil Mirzali
c85765a015
Improve hack/generate-deploy-scripts.sh
to no longer generate versioned manifests ( #8877 )
...
* feat: no longer generate versioned manifests
Updates the script to no longer generate multiple versioned deploy manifests.
The script will only generate the manifests for one given version of
Kubernetes.
See: https://github.com/kubernetes/ingress-nginx/issues/8824
Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>
* fix: delete unnecessary versioned deploy manifests
See: https://github.com/kubernetes/ingress-nginx/issues/8824
Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>
2022-08-09 10:30:37 -07:00
Ismayil Mirzali
f9dcc13a0e
fix: make use of sed portable for BSD and GNU ( #8859 )
...
Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>
2022-07-24 09:10:56 -07:00
Ricardo Katz
c86d50ecef
Move APIs to be used by both controller and configurer ( #8854 )
2022-07-21 17:32:48 -07:00
Ricardo Katz
8f6c2e6b2e
Add v1.24.0 to test matrix ( #8798 )
2022-07-10 18:35:47 -07:00
Luc
d193c32a70
Update deploy.yaml ( #8365 )
...
* Update deploy.yaml
Removed the *service.beta.kubernetes.io/exoscale-loadbalancer-name* annotation so it uses service UID by default.
It thus removes the current limitation that prevent the installation of several ingress nginx controllers on different clusters belonging to the same organization.
* Removing default loadbalancer name
2022-07-02 14:55:24 -07:00
Patrik Wehrli
0240dd3fba
Add new control-plane toleration for kind 1.24 ( #8609 )
2022-05-21 02:52:00 -07:00
Maksim Nabokikh
2c27e66cc7
feat: always set auth cookie ( #8213 )
...
* feat: always set auth cookie
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
* feat: Add annotation to always set auth cookie
* Add annotation
* Add global configmap key
* Provide unit tests and e2e tests
* Fix e2e documentation autogen script
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
* Regenerate e2e tests
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2022-05-19 15:27:53 -07:00
Long Wu Yuan
072da9a665
bump helm helm-docs kustomize to fix failing ci ( #8492 )
2022-04-20 15:10:57 -07:00
James Strong
ac3b86b2c3
release 1.1.3 details ( #8411 )
...
* release 1.1.3 details
fix the readme with right sha and version
remove helm label
fix issue 8329
fix the 1.20 service after the fix for ipv6
udpate readme and change for patches
* update helm doc
Signed-off-by: James Strong <strong.james.e@gmail.com>
2022-04-01 09:14:46 -07:00
Long Wu Yuan
fb72fcd817
release-v1.1.2-continued ( #8294 )
...
* v1.1.2 release
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
* release-v1.1.2-continued
Co-authored-by: Jintao Zhang <zhangjintao9020@gmail.com>
2022-03-04 11:48:52 -08:00
Alastair Firth
c9f61211d3
Versioned static manifests ( #8162 )
...
* update deploy script to generate static manifests for all supported versions
* generate static manifests for all supported versions
2022-02-13 10:47:47 -08:00
Alastair Firth
d16e0dec48
Static manifest generation uses kustomize instead of python ( #8099 )
...
* regenerate at 4.0.12
* bash for loop and static values files
* add .tool-versions
* fixup static manifests with kustomize instead of python
* remove spec.replicas where set
* generate manifests for all supported versions
* update docs
* remove all versions except default (1.20) for now
* update to 1.1.1/4.0.15
2022-01-17 15:28:56 -08:00
Ricardo Katz
c917ffacd2
Freeze code generation boilerplate year for proper validation ( #8117 )
2022-01-09 13:45:12 -08:00
Vladimir Varankin
987a721723
update documentation and templates for aws nlb ( #7662 )
2021-10-25 10:47:02 -07:00
Mathieu Corbin
f5b9d9c512
Exoscale: use HTTP healthcheck mode ( #7798 )
...
The Exoscale LoadBalancer service uses "externalTrafficPolicy:
Local".
It's better to use the HTTP healthcheck in this mode instead of the
TCP one.
2021-10-12 13:54:00 -07:00
Ricardo Katz
3224e7192f
Fix ingress without class in kind deployment ( #7726 )
2021-09-29 15:10:45 -07:00
Ricardo Katz
dd3b0c9fc2
Change builder in a new attempt to make it run
2021-09-04 01:06:51 -03:00
Ricardo Katz
cb8ebcb880
update alpine and remove buildx restriction ( #7583 )
2021-09-02 11:59:39 -07:00
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
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
Ricardo Katz
d226d831bd
Update go version, modules and remove ioutil
2021-08-06 14:15:21 -03:00
James Strong
1de9a24b28
Update ci main ( #7351 )
...
* update actions, master to main:
* update cloud build and scripts
2021-07-14 12:14:40 -07:00
mcorbin
7b5a492a09
Add Exoscale in the documentation
2021-04-23 16:28:45 +02:00
Manuel Alejandro de Brito Fontes
3eb440d5ac
Update test images
2020-10-29 19:34:05 -03:00
Manuel Alejandro de Brito Fontes
a85e53f4cb
Remove k8s.io/kubernetes dependency
2020-10-26 13:04:00 -03:00
Kewei Ma
c8294eaf4e
Allow Helm Chart to customize admission webhook's annotations, timeoutSeconds, namespaceSelector, objectSelector and cert files locations
2020-10-08 14:37:15 -05:00
Patrik Cyvoct
6318d40339
Add install command for Scaleway
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-09-10 13:47:52 +02:00
Manuel Alejandro de Brito Fontes
e5489d8598
Update qemu-user-static image
2020-09-09 18:04:39 -03:00
Manuel Alejandro de Brito Fontes
8a80bcfcc3
Update NLB idle timeout information
2020-08-26 13:33:37 -04:00
David Dooling
f4585f99a6
Do not add namespace to cluster-scoped resources
...
When adding namespace to the helm-generated YAML files, do not add it
to cluster-scoped resources like ClusterRole, ClusterRoleBinding, and
ValidatingWebhookConfiguration. Regenerate static YAML resource
specs.
2020-07-28 14:14:05 -05:00
Manuel Alejandro de Brito Fontes
10dcf0db15
Remove unused variables and verbose e2e logs
2020-06-29 18:11:01 -04:00
Manuel Alejandro de Brito Fontes
70a9eb569c
Test trigger of cloudbuild for nginx image
2020-06-25 14:37:56 -04:00
Manuel Alejandro de Brito Fontes
62abed9cac
Remove buildx validation
2020-06-25 14:17:26 -04:00