Skip to content

✨ Add Proxy support to rukpak generator #1998

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thetechnick
Copy link
Contributor

Description

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 28, 2025
Copy link

netlify bot commented May 28, 2025

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit f6da150
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/6836d694f97d080008057858
😎 Deploy Preview https://deploy-preview-1998--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

openshift-ci bot commented May 28, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign tmshort for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

codecov bot commented May 28, 2025

Codecov Report

Attention: Patch coverage is 75.60976% with 10 lines in your changes missing coverage. Please review.

Project coverage is 69.14%. Comparing base (71108b2) to head (f6da150).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
.../rukpak/render/registryv1/generators/generators.go 45.45% 5 Missing and 1 partial ⚠️
...ternal/operator-controller/rukpak/render/render.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1998      +/-   ##
==========================================
+ Coverage   69.11%   69.14%   +0.02%     
==========================================
  Files          79       79              
  Lines        7023     7062      +39     
==========================================
+ Hits         4854     4883      +29     
- Misses       1887     1896       +9     
- Partials      282      283       +1     
Flag Coverage Δ
e2e 42.86% <12.19%> (-0.26%) ⬇️
unit 60.05% <75.60%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@@ -56,11 +56,16 @@ func (r ResourceGenerators) ResourceGenerator() ResourceGenerator {

type UniqueNameGenerator func(string, interface{}) (string, error)

type Proxy struct {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: should we call it ProxyConfig or something?

}
}

func addProxyEnvVars(httpProxy, httpsProxy, noProxy string, containers []corev1.Container) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we nuke any preexisting proxy env vars?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants