Commit graph

1119 commits

Author SHA1 Message Date
Ron Nabuurs
97a1a6d616
Fix typo in OpenTelemetry (#9903)
I've noticed a small typo, which I've fixed.
2023-05-01 04:24:17 -07:00
Ricardo Katz
297036e169
Deprecate and remove influxdb feature (#9861) 2023-04-16 17:26:43 -07:00
Marco Cadetg
4e8d0b5836
Exclude socket metrics (#9770)
* exclude creation and exporting of socket metrics via flag

* make exclude metric naming more consistent

* fix connect time metric update

* add documentation

* e2e test

* improve creation of metric mapping
2023-04-11 01:01:18 -07:00
Mohammad Yasir
c84ae78bdf
The Ingress-Nginx project recently released version 1.7.0 of the controller, but the deployment documentation still referenced version 1.6.4. This commit updates the documentation to reference the latest version, ensuring that users have access to the most up-to-date information. Fixes#9787 (#9788) 2023-03-27 07:14:30 -07:00
James Strong
7865825cf0
release notes v1.7.0
Signed-off-by: James Strong <strong.james.e@gmail.com>
2023-03-24 09:45:31 -04:00
Ehsan Saei
c8cb9167d3
feat: OpenTelemetry module integration (#9062)
* OpenTelemetry module integration

* e2e test

* e2e test fix

* default OpentelemetryConfig

* e2e values

* mount otel module for otel test only

* propagate IS_CHROOT

* propagate IS_CHROOT e2e test

* code doc

* comments

* golint

* opentelemetry doc

* zipkin

* zipkin

* typo

* update e2e test OpenTelemetry value

* use opentelemetry value

* revert merge conflict

* fix

* format

* review comments

* clean
2023-03-22 11:58:22 -07:00
Saumya
2d35547943
updated digest and sha for e2e-test-echo (#9760) 2023-03-19 12:47:24 -07:00
Saumya
6eb52c39c8
updated nginx-error digest and tags (#9755) 2023-03-18 15:17:15 -07:00
cui fliter
82e836fbe8
fix some comments (#9688)
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-03-05 11:00:57 -08:00
Long Wu Yuan
d21ae2dbf6
changed v1.6.3 to v1.6.4 on deploy docs (#9647) 2023-02-18 03:41:37 -08:00
Fish-pro
57398dee16
Optimize the document for readability (#9551)
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-16 06:07:39 -08:00
Igor Milavec
de793dfeea
Fix rewrite example (#9633) 2023-02-15 05:50:24 -08:00
James Strong
8045cd29fb
Release Notes Controller 1.6.4 Helm 4.5.1
Signed-off-by: James Strong <strong.james.e@gmail.com>
2023-02-14 19:12:18 -05:00
lou-lan
bbc8bd4bce
Fix incorrect annotation name in upstream hashing configuration (#9617) 2023-02-14 01:37:30 -08:00
James Strong
80fd69e641
Release docs for Controller v1.6.3 and Helm v4.5.0 (#9614)
Signed-off-by: James Strong <james.strong@chainguard.dev>
2023-02-13 19:23:31 -08:00
James Strong
59d247dd74
update history and allow to pass a target test (#9605)
* Replace deprecated command with environment file (#9581)

Signed-off-by: jongwooo <jongwooo.han@gmail.com>

* Allow to pass a target test (#9542)

* start 1.6.0 release

Signed-off-by: James Strong <strong.james.e@gmail.com>

* testing auto change

Signed-off-by: James Strong <strong.james.e@gmail.com>

* Add mage files for changelog

Signed-off-by: James Strong <strong.james.e@gmail.com>

* change format

Signed-off-by: James Strong <strong.james.e@gmail.com>

* fixed boiler plate lint

Signed-off-by: James Strong <strong.james.e@gmail.com>

* Align default value for keepalive_request with NGINX default (#9518)

* Align default value for keepalive_request with NGINX default

---------

Signed-off-by: jongwooo <jongwooo.han@gmail.com>
Signed-off-by: James Strong <strong.james.e@gmail.com>
Co-authored-by: Jongwoo Han <jongwooo.han@gmail.com>
Co-authored-by: Kir Shatrov <shatrov@me.com>
Co-authored-by: Christian Schaefer <chrisse.s@gmail.com>
2023-02-10 06:13:30 -08:00
James Strong
7d1c47ab54
Switch logic on path type validation and setting it to false (#9543)
* update path type validation to be false and update e2e test scripts

Signed-off-by: James Strong <strong.james.e@gmail.com>

* update to make tests clear

Signed-off-by: James Strong <strong.james.e@gmail.com>

* update test params

Signed-off-by: James Strong <strong.james.e@gmail.com>

* Adding else per pr comments

Signed-off-by: James Strong <james.strong@chainguard.dev>

---------

Signed-off-by: James Strong <strong.james.e@gmail.com>
Signed-off-by: James Strong <james.strong@chainguard.dev>
2023-01-31 17:09:06 -08:00
Aarni Koskela
ea629a175e
Move and spell-check Kubernetes 1.22 migration FAQ (#9544)
* Move Kubernetes 1.22 migration guide to a separate file

* Reformat and spell-check Kubernetes 1.22 migration doc
2023-01-25 01:44:11 -08:00
Christian Schaefer
ea0db8de77
Align default value for keepalive_request with NGINX default (#9518)
* Align default value for keepalive_request with NGINX default

* Align default value for keepalive_request with NGINX default
2023-01-18 05:22:35 -08:00
Ricardo Katz
da98c744b9
Implement pathType validation (#9511) 2023-01-16 23:51:23 -03:00
Samuel Vaillant
e6dcd6845e
feat(configmap): expose gzip-disable (#9505)
* docs(configmap): add link for gzip-min-length

* feat(configmap): expose gzip-disable

* test(e2e): cover gzip settings

* docs(configmap): simplify description with NGINX link

* refactor(configmap): simplify condition
2023-01-16 17:08:32 -08:00
Makhonin Alexey
a2c9b8833b
Add docs about orphan_ingress metric (#9514) 2023-01-16 13:26:38 -03:00
Libor Ryšavý
dbe88c55a3
Sanitise request metrics in monitoring docs (#9384)
Also add more detailed description to `nginx_ingress_controller_request_duration_seconds`
and `nginx_ingress_controller_response_duration_seconds` based on NGINX docs.
Also reformat the list so the descriptions are under the corresponding list item.
2023-01-16 04:18:51 -08:00
lythandas
1a65027e4c
Change default value of enable-brotli (#9500) 2023-01-15 18:52:50 -08:00
Tomas Hulata
5b2a9475dc
feat: support topology aware hints (#9165)
* support topology aware hints

Signed-off-by: tombokombo <tombo@sysart.tech>

* add flag to enable topology and fixes

Signed-off-by: tombokombo <tombo@sysart.tech>

* update readme

Signed-off-by: tombokombo <tombo@sysart.tech>

* add e2e test

Signed-off-by: tombokombo <tombo@sysart.tech>

* isolate topology test

Signed-off-by: tombokombo <tombo@sysart.tech>

* gofmt fix

Signed-off-by: tombokombo <tombo@sysart.tech>

Signed-off-by: tombokombo <tombo@sysart.tech>
2023-01-15 18:46:50 -08:00
Marcus Noble
e7bee5308e
added option to disable sync event creation (#8528)
* added option to disable event creation

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>

* Re-trigger github workflows

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2023-01-09 06:37:31 -08:00
Phil Nichol
8ed3a27e25
Adding ipdenylist annotation (#8795)
* feat: Add support for IP Deny List

* fixed gomod

* Update package

* go mod tidy

* Revert "go mod tidy"

This reverts commit e6a837e1e7.

* update ginko version

* Updates e2e tests

* fix test typo
2023-01-08 14:43:28 -08:00
Naseem Ullah
0b34a037ce
Update monitoring.md (#9269) 2023-01-08 14:27:28 -08:00
James Strong
6f9c65abf4
revert 1.5.2
Signed-off-by: James Strong <james.strong@chainguard.dev>
2022-12-29 19:58:15 -05: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
Aleksandr Lebedev
69b3e7e8c1
Update command line arguments documentation (#9224)
* update cli-arguents.md with latest version flags.go

* correct punctuation in pkg/flag/flags.go
2022-12-26 13:23:26 -08:00
James Strong
e3e0d9c1f4
start upgrade to golang 1.19.4 and alpine 3.17.0 (#9417)
* start upgrade to 1.19.4

Signed-off-by: James Strong <james.strong@chainguard.dev>

* add matrix to image test-image

Signed-off-by: James Strong <james.strong@chainguard.dev>

* update to alpine 3.17

Signed-off-by: James Strong <james.strong@chainguard.dev>

* remove need for curl

Signed-off-by: James Strong <james.strong@chainguard.dev>

Signed-off-by: James Strong <james.strong@chainguard.dev>
2022-12-18 17:07:43 -08:00
Tomek Święcicki
f9cce5a4ed
[user-guide configmap] fix doc for global-auth-snippet (#9372) 2022-12-06 07:26:38 -08:00
Justin Wood (Callek)
f71f109b8d
Fix styling in canary annotation docs. (#9259)
Before this change, it appears on the website as:
> A weight of means implies all requests will be sent to the alternative service specified in the Ingress. `<weight-total>` defaults to 100, and can be increased via `nginx.ingress.kubernetes.io/canary-weight-total`.

Where there is the term `weight-total` as a pure html tag in the space.  This fixes it to actually display it as text in the prose.
2022-12-04 11:51:55 -08:00
Tatu Pesonen
8a5eaa63a9
fix(typo): pluralize provider (#9346) 2022-12-03 07:28:58 -03:00
Saumya
5aa49dc66d
removed deprecation messsage for ingressClass annotation (#9357)
* removed deprecation messsage for ingressClass annotation

* modified: docs/user-guide/multiple-ingress.md

* modified: docs/user-guide/multiple-ingress.md

* modified: docs/user-guide/multiple-ingress.md
2022-12-02 21:13:54 -08:00
Long Wu Yuan
1930b1467d
added SAN to cert create command (#9295) 2022-11-15 05:04:42 -08:00
Gabriel Gosselin
f6af3b460a
Missing controller.ingressClass (#9304)
The missing controller.ingressClass would set the deployment to the default class but the controller.ingressClassResource.name would set the creation of a new IngressClass object.

For now this needs to be done twice, could be a fix in the chart later on.
2022-11-14 18:58:41 -08:00
James Strong
63dbbdbb3a
udate readme, charts and static deploys for release 1.5.1 (#9280)
Signed-off-by: James Strong <strong.james.e@gmail.com>

Signed-off-by: James Strong <strong.james.e@gmail.com>
2022-11-09 17:08:54 -08:00
Jaen
2488fb0064
Fix Markdown header level (#9210)
Cloud providers use level 4 headers.
2022-10-25 15:06:35 -07:00
Thomas Güttler
a383cfc551
fix typo in docs. (#9167) 2022-10-25 07:14:36 -07:00
jrhunger
3ddbba3fde
add troubleshooting for port listen issues (#9185) 2022-10-18 07:17:20 -07:00
Aurelie Vache
a3bed7ae4c
feat: add ovhcloud (#9171) 2022-10-17 08:39:07 -07:00
Sanghamitra-PERSONAL
f89bd6d328
Documentation added for implemented redirection in the proxy to ensure image pulling (#9098)
* Documentation added for redirection in the proxy to ensure image pulling

* Update troubleshooting.md

* Update troubleshooting.md

* Update troubleshooting.md
2022-10-13 13:01:05 -07:00
Leon(@mediocreDevops)
172d30239e
Updated the Developer guide with New Contributor information (#9114)
Added more clarity to the docs with regards to the getting-started page
for developers.

Signed-off-by: afro-coder <leon9923@gmail.com>

Signed-off-by: afro-coder <leon9923@gmail.com>
2022-10-04 03:42:15 -07:00
Leon(@mediocreDevops)
fd7281c703
Updated incorrect version number in the Installation Guide (#9120)
Fixes the incorrect version v.1.4.0 to v1.4.0

Signed-off-by: afro-coder <leon9923@gmail.com>

Signed-off-by: afro-coder <leon9923@gmail.com>
2022-10-04 02:06:15 -07:00
James Strong
c4a50ebaa6
update for 1.4.0 release
Signed-off-by: James Strong <strong.james.e@gmail.com>
2022-10-02 18:40:46 -04:00
Dmitry Bashkatov
e6ff97fbbe
Consistent prometheus metric names and documentation (#8728)
* clean prometheus metrics

- add new histogram metrics with consistent names
- deprecate summary metrics with inconsistent names

* update prometheus metrics tests

* remove ingress_upstream_header_seconds metric

It hasn't been released so it is safe. Use header_duration_seconds metric.

* add documentation on prometheus metrics
2022-09-30 08:00:36 -07:00
Nate Campbell
7cb91ef9c1
Support none keyword in log-format escape (#8692)
* Support none keyword in log-format escape


## What this PR does / why we need it:
ingress-nginx does not support disabling escaping of special characters in the nginx log. This PR exposes the setting to support that functionality.

## Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation only

## Which issue/s this PR fixes
<!--
(optional, in `fixes #<issue number>` format, will close that issue when PR gets merged):

fixes #
-->

## How Has This Been Tested?
Followed the [getting-started](96b6228a6b/docs/developer-guide/getting-started.md) guide. Used ppa:longsleep/golang-backports on WSL Ubuntu to establish a golang-1.18 environment with latest docker and recommended kind. Built the dev-env successfully; had issues with make test, but they are entirely unrelated to anything I touched. Ultimate test was
```
FOCUS=log-format make kind-e2e-test
...
Ginkgo ran 1 suite in 6m29.7437865s
Test Suite Passed
```

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [x] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly.
- [x] I've read the [CONTRIBUTION](https://github.com/kubernetes/ingress-nginx/blob/main/CONTRIBUTING.md) guide
- [x] I have added tests to cover my changes.
- [x] All new and existing tests passed.

I did not update docs/e2e-tests.md.

* gofmt -s ./internal/ingress/controller/config/config.go
2022-09-30 08:00:29 -07:00
Matthias Neugebauer
26fe69cb47
Add annotation for setting sticky cookie domain (#9088)
This adds the new annotation `nginx.ingress.kubernetes.io/session-cookie-domain`
for setting the cookie `Domain` attribute of the sticky cookie.

Signed-off-by: Matthias Neugebauer <mtneug@mailbox.org>

Signed-off-by: Matthias Neugebauer <mtneug@mailbox.org>
2022-09-28 07:28:37 -07:00