Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FCP-3429] Sync with upstream v1-8-2 #13

Draft
wants to merge 178 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
c3a22a2
fix controller tag in release
May 5, 2023
788b360
Keep project name display aligned (#9920)
guessi May 5, 2023
57848e6
Merge pull request #9930 from strongjz/fix-tag
strongjz May 5, 2023
8ab8803
Update charts/* to keep project name display aligned (#9931)
guessi May 6, 2023
57d9456
Update annotations.md (#9933)
May 7, 2023
2794129
Add geoname id value into $geoip2_*_geoname_id variables (#9527)
Rakoth May 8, 2023
eec4351
image_update (#9942)
kundan2707 May 10, 2023
0bdb643
chore: update httpbin to httpbun (#9919)
Spazzy757 May 10, 2023
f18826b
add option for annotations in PodDisruptionBudget (#9843)
vkanelov May 10, 2023
3b3cf8b
Use dl.k8s.io instead of hardcoded GCS URIs (#9946)
askulkarni2 May 11, 2023
06612e6
HPA: Use capabilites & align manifests. (#9521)
Gacko May 11, 2023
98780d7
Update feature_request.md (#9951)
strongjz May 11, 2023
55e37c6
Update PULL_REQUEST_TEMPLATE.md (#9952)
strongjz May 11, 2023
bbf70c2
Bump google.golang.org/grpc from 1.54.0 to 1.55.0 (#9936)
dependabot[bot] May 19, 2023
0dd1cf7
Bump github.com/prometheus/client_model from 0.3.0 to 0.4.0 (#9937)
dependabot[bot] May 19, 2023
c540b58
Validate path types (#9967)
rikatz May 20, 2023
0cb3dcf
fix: avoid builds and tests for changes to markdown (#9962)
hongzhouzi May 20, 2023
4d57ddb
Correct annotations in monitoring docs (#9976)
fergusean May 21, 2023
ac9a507
OpenTelemetry default config (#9978)
esigo May 21, 2023
e3fb63f
Bump github.com/prometheus/common from 0.42.0 to 0.43.0 (#9981)
dependabot[bot] May 22, 2023
3fc10b8
Bump securego/gosec from 2.15.0 to 2.16.0 (#9983)
dependabot[bot] May 22, 2023
270571b
Bump actions/setup-go from 4.0.0 to 4.0.1 (#9984)
dependabot[bot] May 22, 2023
214ab50
Bump golang.org/x/crypto from 0.8.0 to 0.9.0 (#9982)
dependabot[bot] May 22, 2023
8c7981b
helm: Fix opentelemetry module installation for daemonset (#9792)
fcuello-fudo May 22, 2023
24cd56d
Bump github.com/onsi/ginkgo/v2 from 2.9.0 to 2.9.5 (#9980)
dependabot[bot] May 22, 2023
5bc7dc8
bumped ginkgo to v2.9.5 (#9985)
longwuyuan May 22, 2023
8d9210f
updated testrunner image tag+sha (#9987)
longwuyuan May 23, 2023
8977835
Add OPA examples on pathType restrictions (#9992)
rikatz May 25, 2023
1282345
Admission warning (#9975)
rikatz May 25, 2023
61ae861
Bump k8s.io/klog/v2 from 2.90.1 to 2.100.1 (#9913)
dependabot[bot] May 25, 2023
df0be08
PodDisruptionBudget spec logic update (#9904)
balonik May 25, 2023
4cf4391
openssl CVE fix (#9996)
longwuyuan May 26, 2023
c2e1f34
images: upgrade to Alpine 3.18 (#9997)
tao12345666333 May 27, 2023
9398c7e
change to alpine318 baseimage (#10000)
longwuyuan May 27, 2023
f7ea0b1
changed tagsha to recent builds (#10001)
longwuyuan May 27, 2023
40957d4
add faq section in docs
longwuyuan May 26, 2023
5438968
Merge pull request #10003 from longwuyuan/add-faq-section
strongjz May 28, 2023
0e94cc1
chore: start v1.8.0 release process
tao12345666333 May 29, 2023
35f5082
Merge pull request #10010 from tao12345666333/release-v1.8.0
strongjz May 29, 2023
5325464
Bump github.com/prometheus/common from 0.43.0 to 0.44.0 (#10007)
dependabot[bot] May 29, 2023
1240361
Add legacy to OpenTelemetry migration doc (#10011)
esigo May 29, 2023
bcfed2e
Bump github.com/imdario/mergo from 0.3.15 to 0.3.16 (#10008)
dependabot[bot] May 30, 2023
3476232
release controller 1.8.0 and chart 4.7.0 (#10017)
strongjz May 30, 2023
057c1b2
added helmshowvalues example (#10019)
longwuyuan May 30, 2023
19de8af
added note on dns for localtesting (#10021)
longwuyuan Jun 1, 2023
d02ba28
perf: avoid unnecessary byte/string conversion (#10012)
Juneezee Jun 1, 2023
9e125c5
adding a tag here so we force nginx builds to cloudbuild
Jun 1, 2023
8a61027
Upgrade to Golang 1.20.4 (#10016)
StenlyTU Jun 2, 2023
e97e928
chore(dep): upgrade github.com/emicklei/go-restful/v3 to 3.10 (#10028)
tao12345666333 Jun 2, 2023
bd19644
Merge pull request #10025 from strongjz/nginx-tag
strongjz Jun 2, 2023
179aa89
Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#10005)
dependabot[bot] Jun 2, 2023
1503695
Fix typo in controller_test (#10034)
z1cheng Jun 3, 2023
7d27f39
ensured hpa mem spec before cpu spec (#10043)
longwuyuan Jun 5, 2023
ba1a4fa
Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#10041)
dependabot[bot] Jun 5, 2023
712e10d
Bump actions/dependency-review-action from 3.0.4 to 3.0.6 (#10042)
dependabot[bot] Jun 5, 2023
c3ea3b8
docs: Updated the content of deploy/rbac.md (#10054)
tao12345666333 Jun 7, 2023
4c00085
fix broken kubernetes.io/user-guide/ docs links (#10055)
mohoromitch Jun 8, 2023
5bfc566
Update Internal Load Balancer docs (#10062)
z1cheng Jun 8, 2023
adbad99
docs: canary weighted deployments example (#10067)
Spazzy757 Jun 9, 2023
388987c
docs: add lua testing documentation (#10060)
Spazzy757 Jun 11, 2023
dd4a703
fix: add canary to sidebar in examples (#10068)
Spazzy757 Jun 11, 2023
05e5956
tracing: upgrade to dd-opentracing-cpp v1.3.7 (#10031)
dgoffredo Jun 11, 2023
114ae77
chore: pkg imported more than once (#10048)
testwill Jun 11, 2023
7043f6a
unnecessary use of fmt.Sprint (S1039) (#10049)
testwill Jun 11, 2023
051aa6d
add support for keda fallback settings (#9993)
mjhuber Jun 11, 2023
4d3e642
Adding feature to upgrade Oracle Cloud Infrastructure's Flexible Load…
josenetoo Jun 11, 2023
db49b9d
Fix mirror-target values without path separator and port (#9889)
ubergesundheit Jun 11, 2023
90ed0cc
Remove fastcgi feature (#9864)
rikatz Jun 11, 2023
60bf6ba
chore: move httpbun to be part of framework (#9955)
Spazzy757 Jun 12, 2023
436df32
add distroless otel init (#10035)
esigo Jun 12, 2023
dd6d8e0
Bump docker/setup-buildx-action from 2.5.0 to 2.6.0 (#10077)
dependabot[bot] Jun 12, 2023
18e6bfd
Bump aquasecurity/trivy-action from 0.10.0 to 0.11.2 (#10078)
dependabot[bot] Jun 12, 2023
5544c1f
Bump docker/setup-qemu-action from 2.1.0 to 2.2.0 (#10075)
dependabot[bot] Jun 12, 2023
4eeee03
Bump actions/checkout from 3.5.2 to 3.5.3 (#10076)
dependabot[bot] Jun 12, 2023
f1e3f2f
docs: add netlify configuration (#10073)
tao12345666333 Jun 13, 2023
cccba35
Revert "Remove fastcgi feature" (#10081)
tao12345666333 Jun 13, 2023
686aeac
docs: change Dockefile url ref main (#10087)
flavono123 Jun 15, 2023
30de599
fix: obsolete warnings (#10029)
Spazzy757 Jun 18, 2023
910ca9e
Bump docker/setup-buildx-action from 2.6.0 to 2.7.0 (#10102)
dependabot[bot] Jun 19, 2023
7028bce
Bump goreleaser/goreleaser-action from 4.2.0 to 4.3.0 (#10101)
dependabot[bot] Jun 19, 2023
b47409a
Bump google.golang.org/grpc from 1.55.0 to 1.56.0 (#10103)
dependabot[bot] Jun 19, 2023
22e855d
Bump golang.org/x/crypto from 0.9.0 to 0.10.0 (#10105)
dependabot[bot] Jun 20, 2023
a53cfba
Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 (#10106)
dependabot[bot] Jun 20, 2023
1eeabe9
chore: remove echo friom canary tests (#10089)
Spazzy757 Jun 20, 2023
0b4c98b
feat(helm): Add loadBalancerClass (#9562)
LucasBoisserie Jun 22, 2023
8cdbcfa
golang 1.20.5 bump (#10120)
strongjz Jun 22, 2023
08158df
Update typo in docs for lb scheme (#10117)
jukie Jun 22, 2023
f8bf5a3
chore: remove echo from snippet tests (#10110)
Spazzy757 Jun 23, 2023
44b0067
add gcloud ignore
strongjz Jun 23, 2023
d50c719
Merge pull request #10124 from strongjz/fix-cloud-sha
strongjz Jun 23, 2023
cd61016
update test runner (#10125)
strongjz Jun 23, 2023
58650d6
rebuild nginx base container image
strongjz Jun 23, 2023
427f3d2
Merge pull request #10126 from strongjz/build-nginx
strongjz Jun 23, 2023
643c475
bump pinned golang to 1.20.5 (#10127)
longwuyuan Jun 26, 2023
a21b521
Set grpc :authority header from request header (#8912)
lapwingcloud Jun 27, 2023
0986c33
Bump google.golang.org/grpc from 1.56.0 to 1.56.1 (#10134)
dependabot[bot] Jun 27, 2023
ef6163a
Bump ossf/scorecard-action from 2.1.3 to 2.2.0 (#10133)
dependabot[bot] Jun 27, 2023
002d7e9
Added a doc line to the missing helm value service.internal.loadBalan…
fabioformosa Jun 27, 2023
8b24fc9
Fix loadBalancerClass value (#10139)
kylekluever Jun 27, 2023
1ddecfc
changed to updated baseimage and reverted tag (#10143)
longwuyuan Jun 27, 2023
a2f3036
netlify: Only trigger preview when there are changes in docs. (#10144)
tao12345666333 Jun 27, 2023
b38a2c7
Fix OCI manifest templates and regenerate the deploy files
z1cheng Jun 30, 2023
155fc8d
Rename OCI to oracle
z1cheng Jun 30, 2023
606bb63
Merge pull request #10156 from z1cheng/fix-oci-manifest-template
strongjz Jun 30, 2023
652a800
release notes 1.8.1 (#10161)
strongjz Jun 30, 2023
ebb6314
Deprecate and remove AJP support (#10158)
rikatz Jul 2, 2023
f50431a
Bump docker/setup-buildx-action from 2.7.0 to 2.8.0 (#10165)
dependabot[bot] Jul 3, 2023
d44a8e0
Fix golang-ci linter errors (#10128)
z1cheng Jul 3, 2023
ff0cb50
Cleanup errcheck code (#10166)
z1cheng Jul 6, 2023
c8f7cb0
Exposed continent data as variable in the case of Maxmind city files…
lgyurci Jul 6, 2023
125b3be
Clarify TCP/UDP service docs (#10146)
machty Jul 6, 2023
6d55e1f
revise Datadog trace sampling configuration (#10151)
dgoffredo Jul 6, 2023
b9122e0
Bump docker/setup-buildx-action from 2.8.0 to 2.9.0 (#10191)
dependabot[bot] Jul 10, 2023
5b35651
Bump golang.org/x/crypto from 0.10.0 to 0.11.0 (#10192)
dependabot[bot] Jul 10, 2023
0cd1f16
Scanning port 10247 lead to tcp connection 502 error (#9815)
lijiecm Jul 16, 2023
8f8f471
Bump docker/setup-buildx-action from 2.9.0 to 2.9.1 (#10207)
dependabot[bot] Jul 17, 2023
4967463
Bump google.golang.org/grpc from 1.56.1 to 1.56.2 (#10193)
dependabot[bot] Jul 17, 2023
6416ed8
chore: bump OpenResty to v1.21.4.2 (#10219)
tao12345666333 Jul 20, 2023
1dd8d0c
Ignore deployment template's replicas if KEDA is enabled (#9534)
amirschw Jul 20, 2023
a297ced
[helm] pass service annotations through helm tpl engine (#10084)
jkroepke Jul 20, 2023
24fda9d
Golang 1.20.6 for test runner (#10230)
strongjz Jul 20, 2023
e8097d8
fix gcloud builds
strongjz Jul 21, 2023
b0081a5
update reg
strongjz Jul 21, 2023
40f94ef
Merge pull request #10232 from strongjz/fix-images-tags
strongjz Jul 21, 2023
c83422f
fix deps sha
tao12345666333 Jul 21, 2023
86c00a2
Merge pull request #10235 from tao12345666333/fix-sha
strongjz Jul 22, 2023
c5f348e
Implement annotation validation (#9673)
rikatz Jul 22, 2023
ee9c624
Add rolling update strategy to each static deployment file (#10129)
z1cheng Jul 24, 2023
0ec08bd
Bump github.com/opencontainers/runc from 1.1.7 to 1.1.8 (#10244)
dependabot[bot] Jul 24, 2023
afd1311
[helm] configure allow to configure hostAliases (#10180)
jkroepke Jul 28, 2023
3baa591
promote distroless otel init image (#10257)
esigo Aug 2, 2023
d712dd9
test kind updates (#10272)
strongjz Aug 2, 2023
e8b8778
Bump golang.org/x/crypto from 0.11.0 to 0.12.0 (#10280)
dependabot[bot] Aug 7, 2023
5d8185c
Handle request_id variable correctly in auth requests (#9219)
leki75 Aug 7, 2023
42610df
Bump google.golang.org/grpc from 1.56.2 to 1.57.0 (#10258)
dependabot[bot] Aug 11, 2023
411edd7
Updated index.md - Fix typos (#10256)
mohlatif227 Aug 11, 2023
e17927b
helm: Use .Release.Namespace as default for ServiceMonitor namespace …
superbrothers Aug 11, 2023
868df87
ci(helm): fix Helm Chart release action 422 error (#10237)
tao12345666333 Aug 11, 2023
d9baff9
docs: swap explanation to match example (#10220)
jdockerty Aug 11, 2023
dd6145b
Bump k8s.io/component-base from 0.26.4 to 0.27.4 (Replace Topology Aw…
logica0419 Aug 11, 2023
53c2f27
Bump github.com/opencontainers/runc from 1.1.8 to 1.1.9 (#10298)
dependabot[bot] Aug 11, 2023
a92e7b4
Remove curl dependencies in e2e tests #9716 (#10296)
sonbui00 Aug 12, 2023
6b05e9b
fix: add /etc/mime.types #10309 (#10310)
lucasfcnunes Aug 13, 2023
8a578c9
Disable Modsecurity from internal processing which affects large ingr…
markhley Aug 14, 2023
1a8ba5e
Bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0 (#10314)
dependabot[bot] Aug 16, 2023
cee39f6
Bump securego/gosec from 2.16.0 to 2.17.0 (#10332)
dependabot[bot] Aug 21, 2023
ac3ff59
Bump actions/setup-go from 4.0.1 to 4.1.0 (#10313)
dependabot[bot] Aug 23, 2023
40e0849
Use gzip instead of pigz in CI (#10348)
hakman Aug 25, 2023
8d0b00d
fix: update action file to auto release plugin #10197 (#10321)
sonbui00 Aug 25, 2023
9487907
Fix “dev-env” Makefile target to work with kubectl 1.28+ (#10350)
marcelocyreno Aug 26, 2023
300a60f
Bump actions/dependency-review-action from 3.0.6 to 3.0.8 (#10333)
dependabot[bot] Aug 26, 2023
1ce2512
Bump actions/checkout from 3.5.3 to 3.6.0 (#10354)
dependabot[bot] Aug 28, 2023
93f9ac2
Making auth access logs optional (#10335)
marcelocyreno Aug 28, 2023
616d7e9
Add firewall configuration to quick start documentation (#10357)
rudolfbyker Aug 29, 2023
46d87d3
chore(build): Fix Run make dev-env syntax error (#10294)
sonbui00 Aug 31, 2023
b3060bf
Fix golangci-lint errors (#10196)
z1cheng Aug 31, 2023
a687343
Bump docker/setup-buildx-action from 2.9.1 to 2.10.0 (#10353)
dependabot[bot] Aug 31, 2023
c3a28ab
fix: path with sepecial characters warning #10281 #10308 (#10330)
sonbui00 Sep 3, 2023
02236ca
Upgrade OpenTelemetry to v1.11.0 and gRPC to v1.57.0 (#10352)
esigo Sep 3, 2023
d45a0c3
Bump aquasecurity/trivy-action from 0.11.2 to 0.12.0 (#10365)
dependabot[bot] Sep 4, 2023
c9ca168
BUGFIX incorrect indentation (#10254)
mattclegg Sep 5, 2023
8a6af60
Add golangci github action and replace the deprecated golint (#10187)
z1cheng Sep 6, 2023
5bb82dc
Bump Go version to 1.21.1 on testrunner (#10378)
rikatz Sep 7, 2023
8b85bad
Bump Go version to 1.21.1 (#10377)
rikatz Sep 7, 2023
373b1d1
Bump github.com/cyphar/filepath-securejoin in /magefiles (#10374)
dependabot[bot] Sep 7, 2023
0729935
Bump github.com/cyphar/filepath-securejoin from 0.2.3 to 0.2.4 (#10373)
dependabot[bot] Sep 7, 2023
e5f5242
Fix http default backend test (#10382)
rikatz Sep 8, 2023
4664b74
fix: remove curl on base container #9716 (#10306)
sonbui00 Sep 8, 2023
da9c573
release notes 1.8.2 (#10389)
strongjz Sep 9, 2023
8c75627
Remove backend from external backends if new backend has the same nam…
freddyesteban Mar 23, 2022
892e9b0
Export table backends_with_external_name and function sync_backends f…
freddyesteban Apr 7, 2022
e3ef305
fix linting issue
freddyesteban May 1, 2022
4a4c1bd
Remove backend from external backends if new backend has the same nam…
freddyesteban Mar 23, 2022
86261b9
add codeowners
freddyesteban Apr 25, 2023
db51db9
Update .github/CODEOWNERS
freddyesteban Apr 25, 2023
24dbd6f
fix linting issue
freddyesteban May 1, 2022
dc1b157
add codeowners
freddyesteban Apr 25, 2023
886daa1
Update .github/CODEOWNERS
freddyesteban Apr 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Empty file added .gcloudignore
Empty file.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @wpengine/platform-flywheel
10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@ assignees: ''

---

<!--
With the situation in place today, we think (and decided) that it's time to temporarily pause accepting new features and focus on fixing and stabilizing Ingress NGINX. We understand that some people may need to merge a trivial new feature. Still, we are asking the community to understand that maintaining the project at this pace is becoming hard for the project maintainers. We understand that you waited too long with your PR in the queue, and we are sorry! But it's hard for us as well to keep the project stable.

More details are available here https://youtu.be/UBt4N82ymOE and here https://kubernetes.slack.com/archives/CANQGM8BA/p1656020331133589.
The announcement in the dev mailing list is here https://groups.google.com/a/kubernetes.io/g/dev/c/rxtrKvT_Q8E

Thank you,
Ingress-Nginx maintainer
-->

<!-- What do you want to happen? -->

<!-- Is there currently another issue associated with this? -->
Expand Down
34 changes: 1 addition & 33 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!--- Provide a general summary of your changes in the Title above --->
<!--- Please don't @-mention people in PR or commit messages (do so in an additional comment). --->
<!--- Please make sure you title is descriptive, it is used in the Release notes to let others know what it does --->

## What this PR does / why we need it:
<!--- Why is this change required? What problem does it solve? -->
Expand Down Expand Up @@ -33,36 +34,3 @@ fixes #
- [ ] I've read the [CONTRIBUTION](https://github.com/kubernetes/ingress-nginx/blob/main/CONTRIBUTING.md) guide
- [ ] I have added unit and/or e2e tests to cover my changes.
- [ ] All new and existing tests passed.
- [ ] Added Release Notes.

## Does my pull request need a release note?
Any user-visible or operator-visible change qualifies for a release note. This could be a:

- CLI change
- API change
- UI change
- configuration schema change
- behavioral change
- change in non-functional attributes such as efficiency or availability, availability of a new platform
- a warning about a deprecation
- fix of a previous Known Issue
- fix of a vulnerability (CVE)

No release notes are required for changes to the following:

- Tests
- Build infrastructure
- Fixes for unreleased bugs

For more tips on writing good release notes, check out the [Release Notes Handbook](https://github.com/kubernetes/sig-release/tree/master/release-team/role-handbooks/release-notes)

<!--
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".

For more information on release notes see: https://git.k8s.io/community/contributors/guide/release-notes.md
-->
```release-note
PLACE RELEASE NOTES HERE
```
150 changes: 82 additions & 68 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ on:
paths-ignore:
- 'docs/**'
- 'deploy/**'
- '**.md'

push:
branches:
- main
paths-ignore:
- 'docs/**'
- 'deploy/**'
- '**.md'

workflow_dispatch:
inputs:
Expand All @@ -40,7 +42,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: filter
Expand All @@ -60,55 +62,20 @@ jobs:
- 'charts/ingress-nginx/**/*'
- 'NGINX_BASE'


security:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

- name: Run Gosec Security Scanner
uses: securego/gosec@a459eb0ba387d9bd083d5c2e2354dbeef2465038 # v2.15.0
with:
# G601 for zz_generated.deepcopy.go
# G306 TODO: Expect WriteFile permissions to be 0600 or less
# G307 TODO: Deferring unsafe method "Close"
args: -exclude=G109,G601,G104,G204,G304,G306,G307 -tests=false -exclude-dir=test -exclude-dir=images/ -exclude-dir=docs/ ./...

lint:
runs-on: ubuntu-latest
needs: changes
if: |
(needs.changes.outputs.go == 'true')
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

- name: Set up Go
id: go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
with:
go-version: '1.20'
check-latest: true

- name: Run Lint
run: ./hack/verify-golint.sh

gofmt:
runs-on: ubuntu-latest
needs: changes
if: |
(needs.changes.outputs.go == 'true')
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- name: Set up Go
id: go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.20'
go-version: '1.21.1'
check-latest: true

- name: Run go-fmt
Expand All @@ -121,13 +88,13 @@ jobs:
(needs.changes.outputs.go == 'true')
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- name: Set up Go
id: go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.20'
go-version: '1.21.1'
check-latest: true

- name: Run test
Expand All @@ -142,21 +109,21 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- name: Set up Go
id: go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.20'
go-version: '1.21.1'
check-latest: true

- name: Set up QEMU
uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18 # v2.1.0
uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2.0

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@4b4e9c3e2d4531116a6f8ba8e71fc6e2cb6e6c8c # v2.5.0
uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2.10.0
with:
version: latest

Expand All @@ -165,9 +132,7 @@ jobs:

- name: Prepare Host
run: |
sudo apt-get -qq update || true
sudo apt-get install -y pigz
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.25.5/bin/linux/amd64/kubectl
curl -LO https://dl.k8s.io/release/v1.25.5/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl

Expand All @@ -186,7 +151,7 @@ jobs:
nginx-ingress-controller:e2e \
ingress-controller/controller:1.0.0-dev \
ingress-controller/controller-chroot:1.0.0-dev \
| pigz > docker.tar.gz
| gzip > docker.tar.gz

- name: cache
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
Expand All @@ -205,16 +170,16 @@ jobs:

strategy:
matrix:
k8s: [v1.24.12, v1.25.8, v1.26.3,v1.27.1]
k8s: [v1.24.15, v1.25.11, v1.26.6, v1.27.3]

steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- name: Setup Go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.20'
go-version: '1.21.1'
check-latest: true

- name: cache
Expand Down Expand Up @@ -258,7 +223,7 @@ jobs:
- name: Load images from cache
run: |
echo "loading docker images..."
pigz -dc docker.tar.gz | docker load
gzip -dc docker.tar.gz | docker load

- name: Test
env:
Expand All @@ -280,11 +245,11 @@ jobs:

strategy:
matrix:
k8s: [v1.24.12, v1.25.8, v1.26.3,v1.27.1]
k8s: [v1.24.15, v1.25.11, v1.26.6, v1.27.3]

steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- name: cache
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
Expand All @@ -299,7 +264,7 @@ jobs:
- name: Load images from cache
run: |
echo "loading docker images..."
pigz -dc docker.tar.gz | docker load
gzip -dc docker.tar.gz | docker load

- name: Run e2e tests
env:
Expand All @@ -310,7 +275,56 @@ jobs:
kind get kubeconfig > $HOME/.kube/kind-config-kind
make kind-e2e-test

- name: Uplaod e2e junit-reports
- name: Upload e2e junit-reports
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
if: success() || failure()
with:
name: e2e-test-reports-${{ matrix.k8s }}
path: 'test/junitreports/report*.xml'

kubernetes-validations:
name: Kubernetes with Validations
runs-on: ubuntu-latest
needs:
- changes
- build
if: |
(needs.changes.outputs.go == 'true') || ${{ inputs.run_e2e }}

strategy:
matrix:
k8s: [v1.24.15, v1.25.11, v1.26.6, v1.27.3]

steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- name: cache
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: docker.tar.gz

- name: Create Kubernetes ${{ matrix.k8s }} cluster
id: kind
run: |
kind create cluster --image=kindest/node:${{ matrix.k8s }} --config test/e2e/kind.yaml

- name: Load images from cache
run: |
echo "loading docker images..."
gzip -dc docker.tar.gz | docker load

- name: Run e2e tests
env:
KIND_CLUSTER_NAME: kind
SKIP_CLUSTER_CREATION: true
SKIP_IMAGE_CREATION: true
ENABLE_VALIDATIONS: true
run: |
kind get kubeconfig > $HOME/.kube/kind-config-kind
make kind-e2e-test

- name: Upload e2e junit-reports
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
if: success() || failure()
with:
Expand All @@ -329,12 +343,12 @@ jobs:

strategy:
matrix:
k8s: [v1.24.12, v1.25.8, v1.26.3,v1.27.1]
k8s: [v1.24.15, v1.25.11, v1.26.6, v1.27.3]

steps:

- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- name: cache
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
Expand All @@ -349,7 +363,7 @@ jobs:
- name: Load images from cache
run: |
echo "loading docker images..."
pigz -dc docker.tar.gz | docker load
gzip -dc docker.tar.gz | docker load

- name: Run e2e tests
env:
Expand Down Expand Up @@ -378,7 +392,7 @@ jobs:
PLATFORMS: linux/amd64,linux/arm64
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: filter-images
Expand Down Expand Up @@ -447,11 +461,11 @@ jobs:

strategy:
matrix:
k8s: [v1.24.12, v1.25.8, v1.26.3,v1.27.1]
k8s: [v1.24.15, v1.25.11, v1.26.6, v1.27.3]

steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: filter-images
Expand All @@ -470,9 +484,9 @@ jobs:
- name: Set up Go
id: go
if: ${{ steps.filter-images.outputs.kube-webhook-certgen == 'true' }}
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.20'
go-version: '1.21.1'
check-latest: true

- name: kube-webhook-certgen image build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/depreview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: 'Dependency Review'
uses: actions/dependency-review-action@f46c48ed6d4f1227fb2d9ea62bf6bcbed315589e # v3.0.4
uses: actions/dependency-review-action@f6fff72a3217f580d5afd49a46826795305b63c7 # v3.0.8
Loading