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

Ingress nginx 1.10.1 #132

Merged
merged 24 commits into from
Jun 11, 2024

Conversation

vardhaman22
Copy link

@vardhaman22 vardhaman22 commented Jun 6, 2024

What this PR does / why we need it:

adds rancher specific changes over nginx controller v1.10.1

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • CVE Report (Scanner found CVE and adding report)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation only

Which issue/s this PR fixes

issue: rancher/rancher#45089

How Has This Been Tested?

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have added unit and/or e2e tests to cover my changes.
  • All new and existing tests passed.

rayandas and others added 23 commits June 7, 2024 00:39
refactor rancher build process due to upstream changes
Now, apks-tools package is installed first. Apk-tools needs
to finish installing  before busybox can succesfully install
on arm. Prior, apk-tools would start installing first but
frequently busybox would start installing before apk-tools
installation finished in drone. Specifically, the trigger
script for busybox would fail while building arm image in
drone.
Remove test step from our CI because it runs the upstream's e2e Go tests
incorrectly and fails. Since we don't have any tests of our own, and
upstream's CI already runs these tests, this step can be removed.
add drone's build and validate job in github actions workflow

add release workflow which will run only while tagging

added git in workflow steps for build and release

remove G109 check till gosec resolves issues
`go install ginkgo` followed by `which ginkgo` is newly added in the upstream repo.
This is making the drone build fail for arm64 arch. The ginkgo library
gets installed under $GOPATH/bin/linux_arm64 dir. This is unlike amd64 images
which typically install go libraries under $GOPATH/bin. Since the previously mentioned
dir is not in PATH, the command `which ginkgo` fails. I've added this location to PATH
to fix the build failure. See upstream PRs linked below for more info:
kubernetes#8566
kubernetes#8569
only amd64 and arm64 was in arches because of this the CI wasn't able to find the following files with not found error. /bin/arm/nginx-ingress-controller, /bin/arm/wait-shutdown and /bin/arm/dbg
Signed-off-by: Chirayu Kapoor <chirayu.kapoor@suse.com>
Signed-off-by: Chirayu Kapoor <chirayu.kapoor@suse.com>
@vardhaman22 vardhaman22 requested a review from a team June 6, 2024 20:28
@vardhaman22 vardhaman22 marked this pull request as ready for review June 6, 2024 20:28
@vardhaman22 vardhaman22 merged commit 330ddd9 into rancher:nginx-1.10.x-fix Jun 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants