Commit graph

37 commits

Author SHA1 Message Date
Long Wu Yuan
643c475db0
bump pinned golang to 1.20.5 (#10127) 2023-06-25 18:33:11 -07:00
Stilian Stoilov
8a61027f1a
Upgrade to Golang 1.20.4 (#10016)
* Upgrade to Golang 1.20.4 and alpine 3.18.0

* Handle Review comments
2023-06-01 18:07:46 -07:00
guessi
788b3606b1
Keep project name display aligned (#9920) 2023-05-05 09:31:13 -07:00
James Strong
24e0e29386
add short sha to gcloud build and makefiles
Signed-off-by: James Strong <strong.james.e@gmail.com>
2023-04-07 10:42:37 -04: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
viq
c76179c04e
ISO 8601 date format (#9682)
Adjust the tag to be in sortable format, compatible with ISO 8601.
2023-04-04 07:45:56 -07:00
James Strong
66a760794f
update to golang 1.20 (#9690)
update alpine and golang
remove nano
update go modules
remove need for openssl external cli
fix stale

Signed-off-by: James Strong <james.strong@chainguard.dev>
2023-03-11 20:38:39 -08:00
dependabot[bot]
640bdac76d
Bump golang.org/x/sys in /images/custom-error-pages/rootfs (#9671)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20210603081109-ebe580a85c40 to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-05 10:56:57 -08:00
dependabot[bot]
15ecd2531f
Bump github.com/prometheus/client_golang (#9630)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.11.0 to 1.11.1.
- [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.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 05:54:24 -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
Long Wu Yuan
d32f8c3439
bump go to v1.19.1 (#9057) 2022-09-16 06:15:18 -07:00
Ismayil Mirzali
26bc6e4e50
bump Golang to 1.19 #8932 (#8970)
* fix: convert to LF line endings

Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>

* Pin exact Go bugfix versions for CI jobs

Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>

* Bump go.mod and Dockerfiles to Go 1.19.0

Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>

Signed-off-by: Ismayil Mirzali <ismayilmirzeli@gmail.com>
2022-08-26 09:22:25 -07:00
Jintao Zhang
f0490cbfbf
fix: change all cloudbuild jobs configuration (#8870)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2022-07-26 14:43:11 -07:00
Long Wu Yuan
24b8e32b08
bumped go version to 1.18.1 (#8578) 2022-05-11 11:45:03 -07:00
Ricardo Katz
81c2afd975
update base images and protobuf gomod (#8478) 2022-04-15 12:53:12 -07:00
learn0208
8e9bf7f62c
fix custom-error-pages file not exist (#7728) 2021-12-23 13:28:29 -08:00
Aaron Crickenberger
a9029d2bc7
images: use k8s-staging-test-infra/gcb-docker-gcloud (#7999) 2021-12-12 05:19:59 -08:00
Jennifer Kirsch
ff2b743a94
Only build nginx-errors for linux/amd64 (#7625)
* Fix wrong image location used in nginx-errors example config

* Only build nginx-errors for linux/amd64
2021-09-12 10:08:06 -07:00
Ricardo Katz
89eee0deba
Change the cloudbuild timeout 2021-09-09 09:17:26 -03:00
Ricardo Katz
903446f326
Rename cloudbuild.yml to cloudbuild.yaml 2021-09-09 09:00:31 -03:00
Jennifer Kirsch
c9a00fbc73
Fix old tag of custom error pages used in example (#7460)
* Fix old tag of custom error pages used in example

* Move nginx-errors to k8s registry

Since the setup for the custom-error-messages was really different from
the other images that are build using cloudbuild, I changed it to "fit
in better"

* Use Go version 1.17 for custom-error-pages

Since Go >= 1.16 required the use of modules, I also initialized the module using the name k8s.io/ingress-nginx/custom-error-pages
2021-09-09 04:38:11 -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
Kornel Maleszka
857c044144 Register metrics for custom-error-pages
Request count and timer weren't visible on /metrics endpoint since they
haven't been registered in prometheus DefaultRegister.
2020-03-17 10:58:39 +01:00
Manuel Alejandro de Brito Fontes
dc20551288
Cleanup of docker images 2019-09-03 19:10:40 -04:00
Manuel Alejandro de Brito Fontes
d5c7fa8cfb
Fix scripts to be able to run tests in docker 2019-07-17 11:06:53 -04:00
Manuel Alejandro de Brito Fontes
e7a5bec5c7
Release custom error pages image v0.4 [skip-ci] (#4042) 2019-04-25 16:02:03 -04:00
Julio H Morimoto
7245340e88
Fix default Content-Type for custom-error-pages example
This should fix issue [4039](https://github.com/kubernetes/ingress-nginx/issues/4039). This default backend fails to send the correct `Content-Type` header when it fails to decode the `Accept` request header.

This patch simply forces `text/html` in that specific scenario.
2019-04-25 14:53:22 -03:00
Gregor Noczinski
bcc7d087ac Aligned to golint 2019-03-22 11:59:58 +01:00
Gregor Noczinski
1bef3e75b2 Set X-Request-ID for the default-backend, too. 2019-03-22 11:33:11 +01:00
Manuel de Brito Fontes
330b7fafb3 Update nginx image 2018-08-14 23:12:39 -03:00
Manuel de Brito Fontes
ef4476ecc4
Add additional header when debug is enabled 2018-06-17 15:51:32 -04:00
Antoine Cotten
55679aa268 Update documentation for custom error pages (#2630)
* Update documentation for custom error pages

* custom-error-pages: Fix path to error pages

Bump version to 0.2
2018-06-12 18:03:48 -04:00
Manuel Alejandro de Brito Fontes
e2937cc8f6
Fix custom-error-pages image publication script (#2289) 2018-04-03 15:09:34 -03:00
Arno Uhlig
5101e74347 Ingress custom backend (#2086)
* fix out of range

* add metrics and health endpoint

* ensure extension dot prefix
2018-02-14 09:16:44 -08:00
Manuel de Brito Fontes
a4f67c0853 Fix verification of boilerplate, style and file headers 2017-12-03 13:58:23 -03:00
Manuel de Brito Fontes
febd7cf3e2 Report information about errors deployments 2017-10-25 19:43:01 -03:00
Manuel de Brito Fontes
bc464c7cb8 Add example for nginx custom error pages 2017-09-13 20:11:32 -03:00