Commit graph

6427 commits

Author SHA1 Message Date
Ricardo Katz
08848d69e0
Start release of v1.2.1 (#8645) 2022-05-29 14:00:51 -07:00
Sara Saei
3410655065
update nginx otel LD_LIBRARY_PATH (#8641) 2022-05-29 12:44:51 -07:00
Patrick O'Brien
227a1eb4d3
Fix small typo in GRPC README (#8639) 2022-05-26 16:33:56 -07:00
Ricardo Katz
bd1eb048b7
Improve path rule (#8623)
* Improve path rule

* Add nginx configuration tests

* Revert framework changes

* Add test to patched directives

* Fix root conf test

* Add comment in new function
2022-05-26 06:23:24 -07:00
Ricardo Katz
4dfb3f2e9a
Fix tls1.0 test (#8632)
* Fix tls1.0 test

* fix algorithm
2022-05-25 17:49:22 -07:00
Roman Baumer
b98133db5c
move creation of dev devices in /chroot/dev from build image to run image, means from chroot.sh to Docherfile.chroot as the docker COPY command seems to make ordinary files from /dev/* (#8619) 2022-05-24 14:45:23 -07:00
Ricardo Katz
d20a8268b5
Bump testrunner image (#8631) 2022-05-24 12:21:24 -07:00
Ehsan Saei
ac3bbaf068
update LD_LIBRARY_PATH for OpenTelemetry use (#8628) 2022-05-24 10:15:26 -07:00
Ricardo Katz
8963ed17ee
Change image build to go install (#8630) 2022-05-24 13:58:47 -03:00
Ricardo Katz
ac60ed85ab
Bump nginx image to version without core directives (#8625) 2022-05-24 06:10:06 -07:00
Ricardo Katz
cd6f88af3f
Add patch to remove root and alias directives (#8624) 2022-05-23 20:13:10 -07:00
Mac Chaffee
6ea466bd21
Bump chart version to 4.1.2 (#8607)
Signed-off-by: Mac Chaffee <me@macchaffee.com>
2022-05-23 17:05:10 -07:00
Renan Gonçalves
869e18b264
Avoid race conditions by copying the list before sorting (#8573)
When creating several ingresses at the same time a race condition can
happen by modifying a variable deep in another object. When this race
condition is triggered the generated nginx configuration is broken:

```
nginx: [emerg] invalid parameter "8.8.8.8/32,8" in /tmp/nginx-cfg4027854160:671
nginx: configuration file /tmp/nginx-cfg4027854160 test failed
```

Once it happens, the controller won't ever be able to generate the
configuration again. Thus the only option is to restart the process.

There is not really a good way to reproduce this issue. It happens quite
sporadically every 2 or 3 days. However, after this fix has been
applied, we haven't seen it happen after about 4 weeks.

Co-authored-by: Ruud van der Weijde <ruudvanderweijde@gmail.com>
2022-05-23 05:50:03 -07:00
Ehsan Saei
e0b2db057f
move so files under /etc/nginx/modules (#8612) 2022-05-23 02:10:02 -07:00
Filip Petkovski
4da96ea26a
Implement reporting status classes in metrics (#8548)
This commit introduces a backwards compatible command line option
--report-status-classes which will enable reporting response status classes
(2xx, 3xx..) instead of status codes in exported metrics.
2022-05-21 11:18:00 -07:00
Patrik Wehrli
0240dd3fba
Add new control-plane toleration for kind 1.24 (#8609) 2022-05-21 02:52:00 -07:00
Ehsan Saei
ba3fb460df
opentelemetry use git instead of curl (#8606) 2022-05-19 16:03:53 -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
dependabot[bot]
93af9f726a
Bump github.com/opencontainers/runc from 1.1.1 to 1.1.2 (#8593)
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.2/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 04:40:27 -07:00
Mac Chaffee
6c3a237d7d
Add CAP_SYS_CHROOT to DS/PSP when needed (#8587)
Signed-off-by: Mac Chaffee <me@macchaffee.com>
2022-05-16 06:30:18 -07:00
dependabot[bot]
72b2f98edb
Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2 (#8591)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.1...v1.12.2)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 06:26:17 -07:00
SaurabhGarg1
6d4ba5f260
This PR address #8408 (#8586)
It adds description to the `Ingress Percentile Response Times and Transfer Rates` view, so that user knows that this latency data is independant of dashboard time range.

This PR also adds two new panel about the latency, where one shows latency as a timeseries graph and other shows heatmap of the latency distribution.
2022-05-16 06:24:17 -07:00
dependabot[bot]
df3db8df52
Bump google.golang.org/grpc from 1.46.0 to 1.46.2 (#8592)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.46.0 to 1.46.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.46.0...v1.46.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 06:22:18 -07:00
Ehsan Saei
2d2ec558ae
fix opentelemetry-cpp-contrib sha256 (#8588) 2022-05-16 06:20:18 -07:00
Ehsan Saei
24925ccd2b
Opentelemetry module build (#8585)
* nginx opentelemetry modules

* revert sha check
2022-05-14 06:41:17 -07:00
James Lakin
b0d198252f
docs: Comment out TODO heading on the deployment page (#8583) 2022-05-13 09:03:49 -07:00
Long Wu Yuan
24b8e32b08
bumped go version to 1.18.1 (#8578) 2022-05-11 11:45:03 -07:00
Pavel Selivanov
61fcca3a3a
Add portNamePreffix Helm chart parameter (#8458)
Allow user to set custom preffix for TCP and UDP ports
2022-05-10 09:13:43 -07:00
Long Wu Yuan
fc58e92b39
replaced go get ginkgo with go install ginkgo for DIND environ (#8569) 2022-05-10 01:49:43 -07:00
Long Wu Yuan
7402d51a02
added step to install ginkgo if DIND environ (#8566) 2022-05-09 10:59:19 -07:00
Long Wu Yuan
b9410c86f7
added debug to docker-in-docker.sh (#8562) 2022-05-09 03:15:19 -07:00
Long Wu Yuan
415305d47b
added debug to trace testgrid fail & suppressed breaking warning for kubectl version (#8561) 2022-05-08 04:27:18 -07:00
serge-r
730b7408ca
Add header Host into mirror annotations (#8178) 2022-05-07 17:39:17 -07:00
Long Wu Yuan
ec1b01092e
added debug commands (#8553) 2022-05-06 04:09:05 -07:00
kevin Pichardie
f10bcd552b
Replace release v0.50.0 for v0.51.0 on readme (#8543) 2022-05-05 01:44:20 -07:00
Alexey Miasoedov
67e430cb3a
fix typo (#8550) 2022-05-04 15:56:20 -07:00
Florian Michel
ee50e38b44
disable modsecurity on error page (#8202)
* disable modsecurity on error page

* fix modsecurity error pages test

* fix variable in nginx template

* disable modsecurity on all internal locations

* fix pipeline checks for gofmt

Signed-off-by: Florian Michel <florianmichel@hotmail.de>
2022-05-04 08:29:51 -07:00
kszafran
3230638160
Update default allowed CORS headers (#8459)
X-CustomHeader looks more like an example than a header we would want to
accept in production. Added Range as a useful header that enables
operations on resources that can be fetched in chunks.
2022-05-04 05:11:51 -07:00
dependabot[bot]
9c288ee2c2
Bump github.com/fsnotify/fsnotify from 1.5.3 to 1.5.4 (#8533)
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.5.3...v1.5.4)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 05:05:51 -07:00
Ricardo Katz
a5a59f18e5
Revert "Remove dind in ci tests (#8529)" (#8547)
This reverts commit 4cc0099eee.
2022-05-04 04:57:51 -07:00
Josh Soref
5a7d053c6f
Document nginx 1.19.7 deprecations pulled in by ingress-nginx 1.1.3 (#8532)
* Document nginx 1.19.7 deprecations pulled in by ingress-nginx 1.1.3

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Document ingress-nginx 1.1.3/1.3.0 removals

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-05-04 04:45:53 -07:00
Daniel Schepers
cbc288ab64
Update README.md (#8537) 2022-05-02 19:11:55 -07:00
dependabot[bot]
6a86b864d4
Bump github.com/prometheus/common from 0.33.0 to 0.34.0 (#8512)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.33.0 to 0.34.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.33.0...v0.34.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-01 14:15:13 -07:00
dependabot[bot]
31178ef2c3
Bump github.com/fsnotify/fsnotify from 1.5.1 to 1.5.3 (#8511)
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.5.1...v1.5.3)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-01 14:13:13 -07:00
dependabot[bot]
dfc9a9aa33
Bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0 (#8510)
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/mitchellh/mapstructure/releases)
- [Changelog](https://github.com/mitchellh/mapstructure/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.4.3...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/mitchellh/mapstructure
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-01 14:11:13 -07:00
dependabot[bot]
8f72f5abdf
Bump google.golang.org/grpc from 1.44.0 to 1.46.0 (#8509)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.44.0 to 1.46.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.44.0...v1.46.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-01 14:09:13 -07:00
dependabot[bot]
8d2c439fa8
Bump k8s.io/component-base from 0.23.5 to 0.23.6 (#8508)
Bumps [k8s.io/component-base](https://github.com/kubernetes/component-base) from 0.23.5 to 0.23.6.
- [Release notes](https://github.com/kubernetes/component-base/releases)
- [Commits](https://github.com/kubernetes/component-base/compare/v0.23.5...v0.23.6)

---
updated-dependencies:
- dependency-name: k8s.io/component-base
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-01 14:07:14 -07:00
FrodeI
5d8b0bf428
Add documentation for controller.service.loadBalancerIP in Helm chart (#8522) 2022-05-01 13:41:15 -07:00
Ricardo Katz
4cc0099eee
Remove dind in ci tests (#8529) 2022-05-01 17:13:24 -03:00
Long Wu Yuan
6d9a39eda7
changes for release v1.2.0 (#8491) 2022-04-21 19:36:13 -07:00