Commit graph

57 commits

Author SHA1 Message Date
Marco Ebert
ca5fed8b07
Development: Update Kubernetes to v1.32.0. (#12848) 2025-02-14 14:48:21 -08:00
Marco Ebert
eb62c2a465
Development: Bump Kubernetes to v1.31.4. (#12733) 2025-01-21 15:36:36 -08:00
Ricardo Katz
cfe0daace1
Bump Kubernetes version on images (#11346) 2024-05-05 19:06:28 -07:00
Son Bui
46d87d3462
chore(build): Fix Run make dev-env syntax error (#10294)
* fix: Run make dev-env syntax error #10293

Signed-off-by: Son Bui <sonbv00@gmail.com>

* fix: Run make dev-env value too great for base #10294

---------

Signed-off-by: Son Bui <sonbv00@gmail.com>
2023-08-30 19:06:47 -07:00
Marcelo Cyreno
9487907fa1
Fix “dev-env” Makefile target to work with kubectl 1.28+ (#10350) 2023-08-25 20:25:21 -07:00
James Strong
ec5b4b4fd0
Update k8s versions (#9879)
* increase wait on web cert setup

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

* add cmctl to check its working

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

* fix wait cmd and update default k8s version

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

* update the kubectl test commands

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

* README: Update `external-dns` link. (#9866)

* add puerco and cpanato as approvers

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

* update k8s versions for testing and remove cache deletion

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

* upgrade default to 1.26 for testing

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

---------

Signed-off-by: James Strong <james.strong@chainguard.dev>
Co-authored-by: Marco Ebert <marco@giantswarm.io>
2023-04-20 18:33:10 -07:00
James Strong
93df796767
upgrade to golang 1.19.2 (#9124)
* upgrade to golang 1.19.2

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

* update e2e testing to 1.25 kind

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

Signed-off-by: James Strong <strong.james.e@gmail.com>
2022-10-12 12:39:00 -07:00
Long Wu Yuan
5fb3b974af
fixed broken helm version comparision (#9113) 2022-10-01 09:44:13 -07:00
Long Wu Yuan
8f9df544ea
bumped kubectl to v1.24.0 (#8807) 2022-07-20 09:10:36 -07:00
Long Wu Yuan
bb1f9deafd
developing k6 perftest (#8581) 2022-06-23 08:41:42 -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
Christopher Larivière
65b8eeddec
Support cors-allow-origin with multiple origins (#7614)
* Add Initial support for multiple cors origins in nginx

- bump cluster version for `make dev-env`
- add buildOriginRegex function in nginx.tmpl
- add e2e 4 e2e tests for cors.go
- refers to feature request #5496

* add tests + use search to identify '*' origin

* add tests + use search to identify '*' origin

Signed-off-by: Christopher Larivière <lariviere.c@gmail.com>

* fix "should enable cors test" looking at improper values

* Modify tests and add some logic for origin validation

- add origin validation in cors ingress annotations
- add extra tests to validate regex
- properly escape regex using "QuoteMeta"
- fix some copy/paste errors

* add TrimSpace and length validation before adding a new origin

* modify documentation for cors and remove dangling comment

* add support for optional port mapping on origin

* support single-level wildcard subdomains + tests

* Remove automatic `*` fonctionality from incorrect origins

- use []string instead of basic string to avoid reparsing in template.go
- fix typo in docs
- modify template to properly enable only if the whole block is enabled
- modify cors parsing
- test properly by validating that the value returned is the proper
  origin
- update unit tests and annotation tests

* Re-add `*` when no cors origins are supplied + fix tests

- fix e2e tests to allow for `*`
- re-add `*` to cors parsing if trimmed cors-allow-origin is empty
(supplied but empty) and if it wasn't supplied at all.

* remove unecessary logic for building cors origin + remove comments

- add some edge cases in e2e tests
- rework logic for building cors origin

there was no need for logic in template.go for buildCorsOriginRegex
if there is a `*` it ill be short-circuited by first if.

if it's a wildcard domain or any domain (without a wildcard), it MUST
match the main/cors.go regex format.

if there's a star in a wildcard domain, it must be replaced with
`[A-Za-z0-9]+`

* add missing check in e2e tests
2021-11-02 12:31:42 -07:00
Manuel Alejandro de Brito Fontes
6941800339 Update kind and kindest images 2021-01-28 12:03:40 -03:00
Manuel Alejandro de Brito Fontes
e23a6b6aa7 Update kindest image 2020-12-02 11:11:28 -03:00
Manuel Alejandro de Brito Fontes
32e4e0aa09 Update kind version 2020-09-01 21:35:45 -04:00
Manuel Alejandro de Brito Fontes
0c8accdf7f
Update dev-env.sh script 2020-07-13 14:22:06 -04:00
Manuel Alejandro de Brito Fontes
86534b5124 Prepare switch to gcr.io 2020-07-09 07:42:39 -04:00
Manuel Alejandro de Brito Fontes
95bec54d5d Update kind node image version 2020-06-29 18:30:31 -04:00
Manuel Alejandro de Brito Fontes
51691d4776 Adjust e2e nodes 2020-06-27 11:36:17 -04:00
agile6v
9fd1ae5751 Add version check form helm 2020-06-25 16:51:35 +08:00
Yilong Ren
714637bec5 build/dev-env.sh: remove docker version check
docker experimental feature is unnecessary, so just remove it
2020-06-23 15:37:41 +08:00
Manuel Alejandro de Brito Fontes
dec45b1180 Fix dev-env makefile task 2020-06-02 15:59:24 -04:00
Manuel Alejandro de Brito Fontes
7bd62f5c0a Fix makefile task names 2020-05-31 12:57:02 -04:00
Manuel Alejandro de Brito Fontes
3877474b7c Fix dev-env script to use new hostPort setting 2020-04-17 15:06:19 -04:00
Manuel Alejandro de Brito Fontes
2738d8f963 Set k8s version kind should use for dev environment 2020-04-04 17:33:16 -03:00
Manuel Alejandro de Brito Fontes
f20b9befd0 Update e2e dev image to v1.18.0 2020-04-04 16:27:26 -03:00
Manuel Alejandro de Brito Fontes
7627757081
Cleanup of chart labels (#5258) 2020-03-18 08:35:29 -03:00
Manuel Alejandro de Brito Fontes
02574040c2 Switch dev-env script to deployment 2020-03-16 16:53:56 -03:00
Manuel Alejandro de Brito Fontes
e3e16941e5
Use local chart directory for dev-env and e2e tests (#5165) 2020-02-25 09:35:44 -03:00
Manuel Alejandro de Brito Fontes
ca01d01457
Use helm template instead of update to install dev cluster (#5149) 2020-02-21 15:15:15 -03:00
Elvin Efendi
169ae56665 make dev-env improvements 2020-02-19 12:12:19 -05:00
Manuel Alejandro de Brito Fontes
5c9a5eee17
Ensure helm repository and charts are available (#5123) 2020-02-19 14:10:28 -03:00
Manuel Alejandro de Brito Fontes
7a0e3879ac
Ensure make dev-env support rolling updates (#5100) 2020-02-17 09:47:45 -03:00
Manuel Alejandro de Brito Fontes
400b2ccb8f
Fix make dev-env (#5098) 2020-02-17 07:13:13 -03:00
Manuel Alejandro de Brito Fontes
37c24b0df5
Migration e2e installation to helm (#5086) 2020-02-16 11:58:37 -03:00
Manuel Alejandro de Brito Fontes
4a33b1e163
Ensure scripts and dev-env works in osx (#5062) 2020-02-12 21:48:41 -03:00
Manuel Alejandro de Brito Fontes
28350f9876
Fix scripts to run in osx (#5061) 2020-02-12 21:17:26 -03:00
Manuel Alejandro de Brito Fontes
0365a7c172
Remove minikube and only use kind (#5059) 2020-02-12 20:19:57 -03:00
Manuel Alejandro de Brito Fontes
a4f3467f9b
Cleanup dev-env script (#4932) 2020-01-25 20:17:26 -03:00
Elvin Efendi
162ecb97e9 misc: improve build scripts 2019-12-12 13:49:28 -05:00
Andreas Sommer
bb25070f64 Fix for parsing minikube status output of newer versions
Changed in ca7d378aaa to "Configured" or "Misconfigured"
2019-11-21 10:25:31 +01:00
Andreas Sommer
885cdb2ac1 Fix shellcheck lints in dev-env.sh 2019-11-21 10:23:19 +01:00
Elvin Efendi
d46b4148fa Lua /etc/resolv.conf parser and some refactoring 2019-08-13 18:34:54 -04:00
Elvin Efendi
25c423382a more dev-env script improvements 2019-08-08 09:52:25 -04:00
Elvin Efendi
c898ad6974 fix dev-env script 2019-08-07 17:22:57 -04:00
Miel Donkers
a4d92f4244
Make dev-env.sh script work on Linux 2019-07-08 22:43:34 +02:00
Manuel Alejandro de Brito Fontes
e2d276f204
Lint shell scripts 2019-06-28 17:44:16 -04:00
Nick Novitski
51ad0bc54b Rearrange deployment files into kustomizations 2019-05-19 12:35:54 -07:00
Manuel Alejandro de Brito Fontes
7be1dccea7
Add option to run scripts in debug mode 2019-05-13 22:31:06 -04:00
Kubernetes Prow Robot
bd61b7aeae
Merge pull request #3794 from Shopify/set-to-use
use use-context that actually changes the context
2019-02-21 12:21:38 -08:00